CREDIT CHECK: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
(Created page with "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 pla...")
 
mNo edit summary
Line 6: Line 6:
Call [[CREDIT_DOWN]] after.
Call [[CREDIT_DOWN]] after.


[[Category:Code]]
[[Category:BIOS calls]]

Revision as of 12:32, 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 $10FD81 (BIOS_CREDIT_DEC2) for player 2. Those locations are set to 0 if there aren't enough credits.

Call CREDIT_DOWN after.