BIOS calls: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(→Jump tables: Change names according the official SNK doc) |
||
Line 14: | Line 14: | ||
|- | |- | ||
|$C00438 | |$C00438 | ||
|colspan="4"| | |colspan="4"|[[SYSTEM_INT1]] | ||
|- | |- | ||
|$C0043E | |$C0043E | ||
|colspan="2"| | |colspan="2"|[[SYSTEM_INT2]] | ||
|colspan="2"|RTS | |colspan="2"|RTS | ||
|- | |- | ||
|$C00444 | |$C00444 | ||
|colspan="4"| | |colspan="4"|[[SYSTEM_RETURN]] | ||
|- | |- | ||
|$C0044A | |$C0044A | ||
|colspan="4"| | |colspan="4"|[[SYSTEM_IO]] | ||
|- | |||
|$C00450 | |||
|colspan="4"|[[CREDIT_CHECK]] | |||
|- | |- | ||
| | |$C00456 | ||
|colspan="4"| | |colspan="4"|[[CREDIT_DOWN]] | ||
|- | |- | ||
|$C0045C | |$C0045C | ||
|RTS | |RTS | ||
| | |[[READ_CALENDAR]] | ||
|colspan="2"|RTS | |colspan="2"|RTS | ||
|- | |- | ||
|$C00462 | |$C00462 | ||
|RTS | |RTS | ||
| | |[[SETUP_CALENDAR]] | ||
|colspan="2"|RTS | |colspan="2"|RTS | ||
|- | |- | ||
|$C00468 | |$C00468 | ||
|colspan="2"| | |colspan="2"|[[CARD]] | ||
|colspan="2"|? | |colspan="2"|? | ||
|- | |- | ||
|$C0046E | |$C0046E | ||
|colspan="2"| | |colspan="2"|[[CARD_ERROR]] | ||
|colspan="2"|? | |colspan="2"|? | ||
|- | |- | ||
Line 60: | Line 63: | ||
|- | |- | ||
|$C004C2 | |$C004C2 | ||
|colspan="4"| | |colspan="4"|[[FIX_CLEAR]] | ||
|- | |- | ||
|$C004C8 | |$C004C8 | ||
|colspan="4"| | |colspan="4"|[[LSP_1st]] | ||
|- | |- | ||
|$C004CE, $C004D4 | |$C004CE, $C004D4 | ||
|colspan="4"| | |colspan="4"|[[MESS_OUT]] | ||
|- | |- | ||
|$C004DA | |$C004DA |
Revision as of 13:53, 26 June 2011
Please see ASM Defines or C Defines for the hex addresses.
Jump tables
Call address | NEO-EP0 AES BIOS | "SP-E" MVS BIOS | "TOP-SP1-1" CDM3-2 BIOS | "NEOCD.BIN" CDZ BIOS |
$C00402 to $C00432 | Entry point | |||
$C00438 | SYSTEM_INT1 | |||
$C0043E | SYSTEM_INT2 | RTS | ||
$C00444 | SYSTEM_RETURN | |||
$C0044A | SYSTEM_IO | |||
$C00450 | CREDIT_CHECK | |||
$C00456 | CREDIT_DOWN | |||
$C0045C | RTS | READ_CALENDAR | RTS | |
$C00462 | RTS | SETUP_CALENDAR | RTS | |
$C00468 | CARD | ? | ||
$C0046E | CARD_ERROR | ? | ||
$C00474 | BIOSF_HOWTOPLAY? | BIOSF_HOWTOPLAY | RTS | |
$C0047A | ? | RTS | ||
$C00480 to $C004BC | RTS | |||
$C004C2 | FIX_CLEAR | |||
$C004C8 | LSP_1st | |||
$C004CE, $C004D4 | MESS_OUT | |||
$C004DA | RTS | HBlank handler | ||
$C004E0 to $C004F2 | Invalid | $FF0000 range register operations and RTEs | ||
$C004F8 to $C0051C | Invalid | RTS | ||
$C00522 to $C00540 | Invalid | ? | ||
$C00546 | Invalid | BIOSF_UPLOAD | ||
$C0054C | Invalid | ? | ||
$C00522 | Invalid | BIOSF_LOADFILE | ||
$C00558 | Invalid | ? | ||
$C0055E | Invalid | BIOSF_CDPLAYER | ||
$C00564 | Invalid | BIOSF_LOADFILEX (?) | ||
$C0056A | Invalid | BIOSF_CDDACMD | ||
$C00570 | Invalid | BIOSF_VIDEOEN | ||
$C00576 to $C00582 | Invalid | ? | ||
$C00588 to $C00594 | Invalid | RTS | ? | |
$C0059A to $C006FC | Invalid | RTS |
Generic BIOS calls
BIOS calls common to every system.
- BIOSF_CLEARFIX: Clear fix layer
- BIOSF_CLEARSPR: Clear sprites
- BIOSF_VBL: Multiple purpose VBL routine
AES/MVS only BIOS calls
- BIOSF_CRDACCESS: Perform memory card operation
CD only BIOS calls
- BIOSF_VIDEOEN: Enable/disable video layers
- BIOSF_UPLOAD: Upload data to DRAM
- BIOSF_LOADFILE: Load file from CD (with animation)
- BIOSF_CDPLAYER ($C0055E): Reset to CD player
- BIOSF_LOADFILEX (?) ($C00564): Load file from CD (no animation)
- BIOSF_CDDACMD: Issue CDDA command
CDZ only BIOS calls
Check track 0 ? Copy protection