Skip to content
LuigiBlood edited this page Jan 8, 2021 · 7 revisions

Relevant Info

0x001010 - Must be 0x2129FFF8 for leoDriveExist()
0x09FF00 - Region Info (0xC3 for JAPAN, 0x04 for USA)
0x0A0000 - Font Bank
0x140000 - Sound Bank

80260000 - IPL Code is loaded here

Launching a Disk Game

  • Put Disk ID Info in 800001A0 (Can be used by the game). The Disk System Info is also checked at the same time.
    • Equivalent to LeoReadDiskID().
  • Load into Entrypoint N amount of blocks starting from LBA 24 (0 in SDK), both specified in Disk System Data.
    • Equivalent to LeoReadWrite(*, OS_READ, 0, *entrypoint, *amount, *queue);
  • Put System in the same state as after IPL3 Bootstrap and Jump to Entrypoint.
    • Roughly equivalent to LeoBootGame(), except there's no descrambling functionality for the first 0x100 bytes.