SYSTEM IO

BIOSF_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.