SYSTEM IO
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.