libnds
|
NDS file header format. More...
#include <memory.h>
Data Fields | |
u32 | arm7binarySize |
Size of the ARM7 binary. | |
void * | arm7destination |
Destination address to where the ARM7 binary should be copied. | |
void * | arm7executeAddress |
Adress that should be executed after the binary has been copied. | |
u32 | arm7overlaySize |
File ARM7 overlay size. | |
u32 | arm7overlaySource |
File ARM7 overlay offset. | |
u32 | arm7romOffset |
Offset of the ARM7 binary in the nds file. | |
u32 | arm9binarySize |
Size of the ARM9 binary. | |
void * | arm9destination |
Destination address to where the ARM9 binary should be copied. | |
void * | arm9executeAddress |
Adress that should be executed after the binary has been copied. | |
u32 | arm9overlaySize |
File ARM9 overlay size. | |
u32 | arm9overlaySource |
File ARM9 overlay offset. | |
u32 | arm9romOffset |
Offset of the ARM9 binary in the nds file. | |
u32 | bannerOffset |
Offset to the banner with icon and titles etc. | |
u32 | bfPrime1 |
Secure Area Disable part 1. | |
u32 | bfPrime2 |
Secure Area Disable part 2. | |
u32 | cardControl13 |
Port 40001A4h setting for normal commands (used in modes 1 and 3) | |
u32 | cardControlBF |
Port 40001A4h setting for KEY1 commands (used in mode 2) | |
u8 | deviceSize |
Capacity of the device (1 << n Mbit) | |
u8 | deviceType |
Type of device in the game card. | |
u32 | fatOffset |
File Allocation Table (FAT) offset. | |
u32 | fatSize |
File Allocation Table (FAT) size. | |
u32 | filenameOffset |
File Name Table (FNT) offset. | |
u32 | filenameSize |
File Name Table (FNT) size. | |
u8 | flags |
Bit 2: auto-boot flag. | |
char | gameCode [4] |
4 characters for the game code. | |
char | gameTitle [12] |
12 characters for the game title. | |
u8 | gbaLogo [156] |
Nintendo logo needed for booting the game. | |
u16 | headerCRC16 |
Header checksum, CRC-16. | |
u32 | headerSize |
ROM header size. | |
u16 | logoCRC16 |
Nintendo Logo Checksum, CRC-16. | |
char | makercode [2] |
Identifies the (commercial) developer. | |
u16 | readTimeout |
Secure Area Loading Timeout. | |
u32 | romSize |
total size of the ROM. | |
u8 | romversion |
Version of the ROM. | |
u16 | secureCRC16 |
Secure Area Checksum, CRC-16. | |
u8 | unitCode |
Identifies the required hardware. | |
u32 | unknownRAM1 |
ARM9 Auto Load List RAM Address (?) | |
u32 | unknownRAM2 |
ARM7 Auto Load List RAM Address (?) | |
NDS file header format.
See gbatek for more info.