SYS file: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
m (9*5=45!)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


(See cdrom_load_title in cdrom.c of NEOCD 0.31).
(See cdrom_load_title in cdrom.c of NEOCD 0.31).
[[File:TITLE_SYS_working.png|620px]]
TITLE_*.SYS file is loaded into memory at $127800 and takes up $1C20 bytes ($5A0 45 palettes + $1680 45 sprite tiles)
If you overwrite this area of memory when you return from the game to the bios main menu it will corrupt:
[[File:TITLE_SYS_corruption.png|324px]]


[[Category:CD systems]]
[[Category:CD systems]]

Latest revision as of 11:07, 28 December 2020

SYS files hold palette and sprite data for the game logo displayed in the CDZ menu screen. There's one file for each nationality:

  • TITLE_J.SYS
  • TITLE_U.SYS
  • TITLE_E.SYS

Palettes are stored first, there's space for 45 of them ($5A0 bytes). Following that are 45 sprite tiles in the regular SPR file format, making a 9*5 tiles (144*80 pixels) logo. Tiles are mapped from left to right, top to bottom.

(See cdrom_load_title in cdrom.c of NEOCD 0.31).

TITLE_*.SYS file is loaded into memory at $127800 and takes up $1C20 bytes ($5A0 45 palettes + $1680 45 sprite tiles)

If you overwrite this area of memory when you return from the game to the bios main menu it will corrupt: