BIOS calls: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Please see [[ASM Defines]] or [[C Defines]] for the hex addresses. | Please see [[ASM Defines]] or [[C Defines]] for the hex addresses. | ||
= Jump tables = | |||
{| class="regdef" | {| class="regdef" | ||
|Call address | |Call address | ||
| | |SP-E | ||
|TOP-SP1-1 (CDM3-2) | |||
|Common CDZ BIOS | |||
|- | |- | ||
|$C00402 to $C00432 | |$C00402 to $C00432 | ||
|Entry point | |colspan="3"|Entry point | ||
|- | |- | ||
|$C00438 | |$C00438 | ||
| | |colspan="3"|Vblank handler for boot process (?) | ||
|- | |||
|$C0043E | |||
|colspan="2"|? | |||
|RTS | |||
|- | |- | ||
|$ | |$C00444 | ||
|? | |colspan="3"|Some games JMP here | ||
|- | |||
|$C0044A | |||
|colspan="3"|BIOSF_VBL | |||
|- | |||
|$C00450 to $C0045C | |||
|colspan="3"|? | |||
|- | |||
|$C00462 | |||
|colspan="2"|? | |||
|RTS | |||
|- | |- | ||
|$C00468 | |$C00468 | ||
|BIOSF_CRDACCESS | |BIOSF_CRDACCESS | ||
|colspan="2"|? | |||
|- | |- | ||
|$C0046E | |$C0046E | ||
|BIOSF_CRDREPORT | |BIOSF_CRDREPORT | ||
|colspan="2"|? | |||
|- | |||
|$C00474,$C0047A | |||
|? | |||
|colspan="2"|RTS | |||
|- | |||
|$C00480 to $C004BC | |||
|colspan="3"|RTS | |||
|- | |- | ||
|$ | |$C004C2 | ||
| | |colspan="3"|BIOSF_CLEARFIX | ||
|- | |- | ||
|$ | |$C004C8 | ||
| | |colspan="3"|BIOSF_CLEARSPR | ||
|- | |- | ||
|$ | |$C004CE, $C004D4 | ||
|colspan="3"|? | |||
|- | |||
|$C004DA | |||
|Invalid | |||
|HBlank handler | |||
|? | |||
|- | |||
|$C004E0 to $C004F2 | |||
|Invalid | |||
|$FF0000 range register operations and RTEs | |||
|? | |||
|- | |||
|$C004F8 to $C0051C | |||
|Invalid | |||
|colspan="2"|RTS | |||
|- | |||
|$C00522 to $C00540 | |||
|Invalid | |||
|colspan="2"|? | |||
|- | |||
|$C00546 | |||
|Invalid | |||
|colspan="2"|Upload to DRAM | |||
|- | |||
|$C0054C | |||
|Invalid | |||
|colspan="2"|? | |||
|- | |||
|$C00522 | |||
|Invalid | |||
|colspan="2"|Load file with animation | |||
|- | |||
|$C00558,$C005EE | |||
|Invalid | |||
|colspan="2"|? | |||
|- | |||
|$C00564 | |||
|Invalid | |||
|colspan="2"|Load file without animation | |||
|- | |||
|$C0056A | |||
|Invalid | |||
|colspan="2"|CDDA | |||
|- | |||
|$C00570 | |||
|Invalid | |||
|colspan="2"|Videolayers | |||
|- | |||
|$C00576 to $C00582 | |||
|Invalid | |||
|colspan="2"|? | |||
|- | |||
|$C00588,$C00592 | |||
|Invalid | |||
|RTS | |RTS | ||
|? | |||
|- | |- | ||
|$ | |$C00598 to $C006FC | ||
| | |Invalid | ||
|colspan="2"|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 BIOS calls = | = CDZ only BIOS calls = | ||
Check track 0 ? [[Copy protection]] | Check track 0 ? [[Copy protection]] |
Revision as of 18:23, 16 April 2011
Please see ASM Defines or C Defines for the hex addresses.
Jump tables
Call address | SP-E | TOP-SP1-1 (CDM3-2) | Common CDZ BIOS |
$C00402 to $C00432 | Entry point | ||
$C00438 | Vblank handler for boot process (?) | ||
$C0043E | ? | RTS | |
$C00444 | Some games JMP here | ||
$C0044A | BIOSF_VBL | ||
$C00450 to $C0045C | ? | ||
$C00462 | ? | RTS | |
$C00468 | BIOSF_CRDACCESS | ? | |
$C0046E | BIOSF_CRDREPORT | ? | |
$C00474,$C0047A | ? | RTS | |
$C00480 to $C004BC | RTS | ||
$C004C2 | BIOSF_CLEARFIX | ||
$C004C8 | BIOSF_CLEARSPR | ||
$C004CE, $C004D4 | ? | ||
$C004DA | Invalid | HBlank handler | ? |
$C004E0 to $C004F2 | Invalid | $FF0000 range register operations and RTEs | ? |
$C004F8 to $C0051C | Invalid | RTS | |
$C00522 to $C00540 | Invalid | ? | |
$C00546 | Invalid | Upload to DRAM | |
$C0054C | Invalid | ? | |
$C00522 | Invalid | Load file with animation | |
$C00558,$C005EE | Invalid | ? | |
$C00564 | Invalid | Load file without animation | |
$C0056A | Invalid | CDDA | |
$C00570 | Invalid | Videolayers | |
$C00576 to $C00582 | Invalid | ? | |
$C00588,$C00592 | Invalid | RTS | ? |
$C00598 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