NeoGeo programming cheatsheet
Todo. What's to be included:
- ROM header
- 68k vector table + exception stack frames
- Interrupts
- Memmapped registers
- GPU ref + timings (Display timing)
System ROM Calls
- Main Page: BIOS calls
These calls are shared between cart systems and CD systems.
Address | Short Name | Description |
---|---|---|
0xC00444 | SYSTEM_RETURN
|
Returns control to the system ROM. |
0xC0044A | SYSTEM_IO
|
Reads inputs and updates the relevant RAM locations. |
0xC00450 | CREDIT_CHECK
|
|
0xC00456 | CREDIT_DOWN
|
|
0xC00468 | CARD
|
Memory card handler. |
0xC0046E | CARD_ERROR
|
|
0xC004C2 | FIX_CLEAR
|
Clears most of the fix layer, aside from the left and rightmost sides. |
0xC004C8 | LSP_1st
|
Set up sprites. |
MVS only
These calls only work properly on MVS systems.
Address | Short Name | Description |
---|---|---|
0xC0045C | READ_CALENDAR
|
Reads current calendar values into RAM. |
0xC00462 | SETUP_CALENDAR
|
Sets up the calendar. |
CD only
These calls only work properly on CD systems.