1. st4rk

    st4rk nah
    Member

    Joined:
    Feb 11, 2014
    Messages:
    545
    Country:
    Brazil

    Hmm can you execute code in ARM11 ?
     
  2. Kane49

    Kane49 GBAtemp Fan
    Member

    Joined:
    Nov 4, 2013
    Messages:
    450
    Country:
    Gambia, The

    There are still multiple arm11 processes at work doing stuff
     
  3. st4rk

    st4rk nah
    Member

    Joined:
    Feb 11, 2014
    Messages:
    545
    Country:
    Brazil

    Then if i wanna execute an ARM 11 code will i need create a new process to execute code ?
     
  4. kalimero

    kalimero Uncle Rupee
    Member

    Joined:
    Jun 28, 2006
    Messages:
    211
    Country:
    Gambia, The
    Again, your answer is in that quote:


     
    st4rk likes this.
  5. st4rk

    st4rk nah
    Member

    Joined:
    Feb 11, 2014
    Messages:
    545
    Country:
    Brazil
    Thank you kalimero, i'm thinking an a theory to it, i will study more of documentation of 3DS and ARM9/11..

    Maybe if i can create a new process on ARM11 and jump the register to exception vectors and write my code here, it's work(or no haha).

    Thanks for all.

    Regars, St4rk.
     
  6. gamesquest1

    gamesquest1 Nabnut
    Moderator

    Joined:
    Sep 23, 2013
    Messages:
    14,972
    i think they are getting at, that you can hijack the existing exception process and build from there......ps i know nothing about coding so that could be complete crap but thats what im getting from it :rofl2:

    feel free to poke fun but how I'm imagining it works is the Rop chain loads the ARM9 payload, then the ARM9 payload writes the ARM11 code to an address it knows the 3DS will jump to in ARM11 mode i.e 0x1FFF4000

    which i am imagining is the code for when the 3ds crashes and asks you to reset....but it would load your ARM11 code instead
     
  7. Kane49

    Kane49 GBAtemp Fan
    Member

    Joined:
    Nov 4, 2013
    Messages:
    450
    Country:
    Gambia, The
    Yes but im failing to relaunch firm without doing a hard reset, but maybe thats enough.
    Although gateway doesn't do a hardreset i think Smea does
     
  8. YoshiInAVoid

    YoshiInAVoid GBAtemp Advanced Fan
    Banned

    Joined:
    Jan 10, 2011
    Messages:
    560
    Country:
    st4rk likes this.
  9. st4rk

    st4rk nah
    Member

    Joined:
    Feb 11, 2014
    Messages:
    545
    Country:
    Brazil
    now i'm working on a library to support a lot of system calls from 3DS SVC.

    Here the github: https://github.com/St4rk/3DS-SVC

    Regards, St4rk.
     
  10. nop90

    nop90 GBAtemp Advanced Maniac
    Member

    Joined:
    Jan 11, 2014
    Messages:
    1,556
    Country:
    Italy
    You can start from the partially implemented by Smealum.
     
    st4rk likes this.
  11. st4rk

    st4rk nah
    Member

    Joined:
    Feb 11, 2014
    Messages:
    545
    Country:
    Brazil
    Yeah, i know that, but i'm writing from 0 because i wanna know all of it work :P

    But Smealum is a good base to study :]
     
  12. Gericom

    Gericom GBAtemp Maniac
    Member

    Joined:
    Jun 30, 2011
    Messages:
    1,305
    Country:
    Netherlands
    Maybe there is an ARM11 interrupt that is frequently called (or maybe you can activate one) and change the address it jumps to. Then when in arm11 mode you'll have to disable the interrupt or change it to an empty function.
     
  13. Kane49

    Kane49 GBAtemp Fan
    Member

    Joined:
    Nov 4, 2013
    Messages:
    450
    Country:
    Gambia, The
    There is only one arm9 irq handler and yes you can redirect that one however you want, you can even do whatever you want and keep it running normally, it has been said multiple times in this thread already.

    But what to do with arm11? does anyone have a plan just what the next step is?
    Any next step whatever it may be depends on reverse engineering deep inside nintendos code, the material has been available for a long time and everyone that is capable of doing that has either already figured it out and isn't sharing (which is fine btw) or has no interest in 3ds hacking.

    Or am i wrong and someone here with considerable arm reverse engineering skills is deterred by the lack of arm11 code exec :) ?
     
  14. ernilos

    ernilos GBAtemp Regular
    Member

    Joined:
    Aug 28, 2013
    Messages:
    152
    Country:
    United States
    Some new HB~
    I just finished coding a little BMP Loader, it loads "image.bmp" from root SD and draw it to screens, that's more prof of concept than a real homebrew, but's nice i think.
    In 3DS
    [​IMG]
    How looks like in PC
    [​IMG]
    But I'm using a own BMP format, so I created a simply program to convert files (It's called Convert3MP), just click 2 buttons and the new "image.bmp" gonna be created in program folder, the download links:
    PD: Really thank's to Roxas75 for the way to load files to memory ^-^
     
    Dartz150, Ryft, satan89 and 1 other person like this.
  15. YoshiInAVoid

    YoshiInAVoid GBAtemp Advanced Fan
    Banned

    Joined:
    Jan 10, 2011
    Messages:
    560
    Country:
    Roxas75 can I have the code to load SD card files into memory?
     
  16. Kane49

    Kane49 GBAtemp Fan
    Member

    Joined:
    Nov 4, 2013
    Messages:
    450
    Country:
    Gambia, The

    Its not code :P
     
    Roxas75 likes this.
  17. YoshiInAVoid

    YoshiInAVoid GBAtemp Advanced Fan
    Banned

    Joined:
    Jan 10, 2011
    Messages:
    560
    Country:
    What is it? Just pointers to functions?
     
  18. st4rk

    st4rk nah
    Member

    Joined:
    Feb 11, 2014
    Messages:
    545
    Country:
    Brazil
  19. jocopoco

    jocopoco Advanced Member
    Newcomer

    Joined:
    Feb 13, 2014
    Messages:
    90
    Country:
    Im working again on my emulator and now I need of all header command. Is there already a list?
     
  20. st4rk

    st4rk nah
    Member

    Joined:
    Feb 11, 2014
    Messages:
    545
    Country:
    Brazil

    Use it http://3dbrew.org
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Development, Homebrew,