Skip to Content
The Alchemy Project

include/system/rom_header.h

The start of the cartridge, where the console begins the game: a soft reset jumps back to it.

Included by system_internal.h.

Macros

NameDescription
#defineCartStart FIXED_ADDRESS((Uint32), 0x08000000, RomStart)The cartridge's first instruction, the jump past the ROM header.

Variables

NameDescription
extern const Uint8RomStart []The cartridge's first byte, as the link places it: the start of RomStart (rom_start.c).

Description

The start of the cartridge, where the console begins the game: a soft reset jumps back to it.

Macros in detail

CartStart

#define CartStart FIXED_ADDRESS((Uint32), 0x08000000, RomStart)

The cartridge's first instruction, the jump past the ROM header.

Referenced by sySerialTestRun() and sySoftReset().

Definition at line 10 of file rom_header.h.