CARD ERROR

From NeoGeo Development Wiki
Jump to navigation Jump to search

CARD_ERROR ($C0046E)

The CARD_ERROR system ROM call can automatically handle some errors depending on the CARD call command and error code.

Most of the time this call will only display a message on screen (using MESS_OUT), but it can also automatically format the memory card if needed. (Confirmation is required on home systems, it is done silently on MVS).

List of command/error combinations that CARD_ERROR can handle

(Based on the SP-S2 system ROM):

Command Error Result
$2 (Data load) $81 (Card not formated) Display "NO DATA FOR THIS GAME."
$2 (Data load) $83 (FAT error) Display "ERROR ON MEMORY CARD."
$2 (Data load) $85 (Write protected) Display "NO DATA FOR THIS GAME."
$3 (Data save) $81 (Card not formated) Format the card
$3 (Data save) $83 (FAT error) Format the card
$3 (Data save) $84 (Card is full) Brings up a menu to delete saves
$3 (Data save) $85 (Write protected) Display "MEMORY CARD WRITE PROTECTED."
$4 (Data delete) $85 (Write protected) Display "MEMORY CARD WRITE PROTECTED."
$6 (Username save) $81 (Card noT formated) Format the card
$6 (Username save) $85 (Write protected) Display "MEMORY CARD WRITE PROTECTED."
$7 (Username load) $81 (Card not formated) Display "NO DATA FOR THIS GAME."
$7 (Username load) $85 (Write protected) Display "NO DATA FOR THIS GAME."