SYSTEM IO: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
==BIOSF_SYSTEM_IO ($C0044A)==
==SYSTEM_IO ($C0044A)==


Should be called at the end of the [[68k interrupts|VBlank]] interrupt routine.
Should be called at the end of the [[68k interrupts|VBlank]] interrupt routine.
Line 6: Line 6:


Reads the player inputs and sets values in [[68k user RAM|RAM]] accordingly, see [[BIOS_RAM_locations#Joypad_Related]].
Reads the player inputs and sets values in [[68k user RAM|RAM]] accordingly, see [[BIOS_RAM_locations#Joypad_Related]].
'''This call does NOT save registers.'''


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

Latest revision as of 12:02, 15 April 2018

SYSTEM_IO ($C0044A)

Should be called at the end of the VBlank interrupt routine.

Reads coin and game select inputs, jumps to COIN_SOUND, PLAYER_START or DEMO_END accordingly.

Reads the player inputs and sets values in RAM accordingly, see BIOS_RAM_locations#Joypad_Related.

This call does NOT save registers.