PLAYER START subroutine: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
m (Created page with "The PLAYER_START subroutine is called if one of the start buttons are pressed while the corresponding player has enough credits or when the time runs out while the game's title i...")
(No difference)

Revision as of 05:26, 28 June 2011

The PLAYER_START subroutine is called if one of the start buttons are pressed while the corresponding player has enough credits or when the time runs out while the game's title is displayed.

BIOSF_START_FLAG ($10FDB4.b) indicates which player pushed start:

This subroutine needs to leave these bits to "1" if the game can be started, or clear them if not. When the game is started, it has to set to "1" the corresponding bytes for each player:
  • 10FDB6.b for P1
  • 10FDB7.b for P2
  • 10FDB8.b for P3
  • 10FDB9.b for P4