include/system/rom_header.h
The two places of the cartridge header the code reads: the cartridge's start and the language letter of its game code.
Included by system_internal.h.
Macros
| Name | Description | |
|---|---|---|
#define | CartStart FIXED_ADDRESS((Uint32), 0x08000000, RomStart) | The cartridge's first instruction, where a reset jumps; as The Broken Seal's. |
#define | CartLanguageCode | The last letter of the game code in the cartridge header (rom_header.s): J, E, D, F, I or S, which the German, French, Italian and Spanish editions read to tell which they are. |
Variables
| Name | Description | |
|---|---|---|
extern const Uint8 | RomStart [] | The cartridge's first byte, as the link places it: the start of RomStart (rom_start.c). |
extern const Uint8 | RomLanguageCode |
Description
The two places of the cartridge header the code reads: the cartridge's start and the language letter of its game code.
Macros in detail
CartStart
#define CartStart FIXED_ADDRESS((Uint32), 0x08000000, RomStart)
The cartridge's first instruction, where a reset jumps; as The Broken Seal's.
Referenced by sySerialTestRun().
Definition at line 15 of file rom_header.h.
CartLanguageCode
#define CartLanguageCode
The last letter of the game code in the cartridge header (rom_header.s): J,
E, D, F, I or S, which the German, French, Italian and Spanish editions read
to tell which they are.
Referenced by syGetLanguage().
Definition at line 20 of file rom_header.h.
Variables in detail
RomLanguageCode
extern const Uint8 RomLanguageCode
Definition at line 11 of file rom_header.h.