NeoGeo programming cheatsheet: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
m (some exception stack frames are mentioned on the "68k exception handling" page; link it for now)
m (work in progress...)
Line 1: Line 1:
Todo. What's to be included:
Todo. What's to be included:


* [[BIOS calls]]
* [[68k program header|ROM header]]
* [[68k program header|ROM header]]
* [[68k vector table]] + [[68k exception handling|exception stack frames]]
* [[68k vector table]] + [[68k exception handling|exception stack frames]]
Line 7: Line 6:
* [[Memory mapped registers|Memmapped registers]]
* [[Memory mapped registers|Memmapped registers]]
* GPU ref + timings ([[Display timing]])
* GPU ref + timings ([[Display timing]])
==System ROM Calls==
:''Main Page: [[BIOS calls]]''
{|class="wikitable"
! Address
! Short Name
! Description
|-
| 0xC00444
| <code>[[SYSTEM_RETURN]]</code>
| Returns control to the system ROM.
|-
| 0xC0044A
| <code>[[SYSTEM_IO]]</code>
| Reads inputs and updates the relevant RAM locations.
|-
| 0xC00450
| <code>[[CREDIT_CHECK]]</code>
| &nbsp;
|-
| 0xC00456
| <code>[[CREDIT_DOWN]]</code>
| &nbsp;
|-
| 0xC0045C
| <code>[[READ_CALENDAR]]</code>
| Reads current calendar values into RAM (MVS only).
|-
| 0xC00462
| <code>[[SETUP_CALENDAR]]</code>
| Sets up the calendar (MVS only).
|-
| 0xC00468
| <code>[[CARD]]</code>
| Memory card handler.
|-
| 0xC0046E
| <code>[[CARD_ERROR]]</code>
| &nbsp;
|-
| 0xC004C2
| <code>[[FIX_CLEAR]]</code>
| Clears most of the fix layer, aside from the left and rightmost sides.
|-
| 0xC004C8
| <code>[[LSP_1st]]</code>
| Set up sprites.
|}


[[Category:Code]]
[[Category:Code]]
[[Category:Tools]]
[[Category:Tools]]

Revision as of 02:46, 25 January 2016

Todo. What's to be included:

System ROM Calls

Main Page: BIOS calls
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  
0xC0045C READ_CALENDAR Reads current calendar values into RAM (MVS only).
0xC00462 SETUP_CALENDAR Sets up the calendar (MVS only).
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.