CREDIT CHECK: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[BIOSes|BIOS]] routine called to check if there's enough credits for a player.
[[BIOSes|BIOS]] routine called to check if there's enough credits for a player.


Input: $10FDB0 ('''BIOS_CREDIT_DEC''') for player 1, and $10FD81 ('''BIOS_CREDIT_DEC2''') for player 2.
Input: $10FDB0 ('''BIOS_CREDIT_DEC''') for player 1, and $10FDB1 ('''BIOS_CREDIT_DEC2''') for player 2.
Those locations are set to 0 if there aren't enough credits.
Those locations are set to 0 if there aren't enough credits.



Revision as of 13:17, 8 October 2011

BIOS routine called to check if there's enough credits for a player.

Input: $10FDB0 (BIOS_CREDIT_DEC) for player 1, and $10FDB1 (BIOS_CREDIT_DEC2) for player 2. Those locations are set to 0 if there aren't enough credits.

Call CREDIT_DOWN after.