NeoGeo programming cheatsheet: Difference between revisions
Jump to navigation
Jump to search
m (work in progress...) |
m (split off sysROM calls into shared, MVS, and CD (which needs to be filled out... need to find the important calls)) |
||
Line 9: | Line 9: | ||
==System ROM Calls== | ==System ROM Calls== | ||
:''Main Page: [[BIOS calls]]'' | :''Main Page: [[BIOS calls]]'' | ||
===Shared=== | |||
These calls are shared between cart systems and CD systems. | |||
{|class="wikitable" | {|class="wikitable" | ||
Line 30: | Line 33: | ||
| <code>[[CREDIT_DOWN]]</code> | | <code>[[CREDIT_DOWN]]</code> | ||
| | | | ||
|- | |- | ||
| 0xC00468 | | 0xC00468 | ||
Line 55: | Line 50: | ||
| Set up sprites. | | Set up sprites. | ||
|} | |} | ||
===MVS only=== | |||
These calls only work properly on MVS systems. | |||
{|class="wikitable" | |||
! Address | |||
! Short Name | |||
! Description | |||
|- | |||
| 0xC0045C | |||
| <code>[[READ_CALENDAR]]</code> | |||
| Reads current calendar values into RAM. | |||
|- | |||
| 0xC00462 | |||
| <code>[[SETUP_CALENDAR]]</code> | |||
| Sets up the calendar. | |||
|} | |||
===CD only=== | |||
These calls only work properly on CD systems. | |||
[[Category:Code]] | [[Category:Code]] | ||
[[Category:Tools]] | [[Category:Tools]] |
Latest revision as of 03:36, 29 January 2016
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.