CREDIT DOWN: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[BIOSes|BIOS]] routine called to deduct credits.
[[BIOSes|BIOS]] routine called to deduct credits.


Input: $10FDB0 ('''BIOS_CREDIT_DEC''') for player 1, and $10FDB1 ('''BIOS_CREDIT_DEC2''') for player 2.
Input: Credits to deduct in {{BR|BIOS_CREDIT_DEC1}} for player 1, and {{BR|BIOS_CREDIT_DEC2}} for player 2.
 
Input: Credits necessary in {{BR|BIOS_CREDIT_DEC1}} for player 1, and {{BR|BIOS_CREDIT_DEC2}} for player 2.
 
Credits can be read through $D00034 and $D00035.


Also updates the MVS [[book keeping]].
Also updates the MVS [[book keeping]].


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

Revision as of 17:44, 16 March 2013

CREDIT_DOWN ($C00456)

BIOS routine called to deduct credits.

Input: Credits to deduct in BIOS_CREDIT_DEC1 ( $10FDB0) for player 1, and BIOS_CREDIT_DEC2 ( $10FDB1) for player 2.

Input: Credits necessary in BIOS_CREDIT_DEC1 ( $10FDB0) for player 1, and BIOS_CREDIT_DEC2 ( $10FDB1) for player 2.

Credits can be read through $D00034 and $D00035.

Also updates the MVS book keeping.