[Q] Decompiling in IDA

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Huuf, Nov 14, 2015.

  1. Huuf
    OP

    Huuf Newbie

    Newcomer
    5
    0
    Nov 14, 2015
    United States
    I just started on 3DS disassembling and such, I tried looking for the ROM / RAM segments locations but I can't find the information I need

    There are two ARM's inside, ARM9 and ARM11, how is the code.bin file separated in them?

    I have read that the 3DS is running bare metal, not on an OS, is this correct, and does the game never call any feature from the Firmware? E.g. all keys needed are stored on the cartridge, and if you could somehow boot the 3ds file on the machine, it would not require the firmware at all.

    Both the ARM9 and ARM11 are Little Endian?

    What are the RAM and ROM Sizes and offsets?
     
  2. Mrrraou

    Mrrraou GBAtemp Advanced Maniac

    Member
    1,869
    2,167
    Oct 17, 2015
    France
    There is an OS.
    http://4dsdev.org/thread.php?id=100
    Both are Little Endian (I think it's a CPU thing)
    RAM and ROM sizes and offsets are located inside the NCCH extended header (also called exheader)
     
  3. Huuf
    OP

    Huuf Newbie

    Newcomer
    5
    0
    Nov 14, 2015
    United States
    Thanks the terms NCCH and exheader are useful for googling.
     
  4. Mrrraou

    Mrrraou GBAtemp Advanced Maniac

    Member
    1,869
    2,167
    Oct 17, 2015
    France
    You should look on 3dbrew too. There is almost everything you need here.
     
    zoogie likes this.
  5. zoogie

    zoogie playing around in the dsiware

    Member
    6,644
    8,577
    Nov 30, 2014
    United States
    Last edited by zoogie, Nov 14, 2015
  6. Huuf
    OP

    Huuf Newbie

    Newcomer
    5
    0
    Nov 14, 2015
    United States
    Thanks, I got it loaded into IDA, I now only need to see how to get the system modules (newer version, which aren't on my 3ds), but this has been posted to a different thread, thanks again!