User input

From NeoGeo Development Wiki
Jump to: navigation, search

User input can be read directly from registers Reg.png REG_P1CNT and Reg.png REG_P2CNT, which come from the hardware.

The SYSTEM_IO BIOS call sets more convenient values in RAM (active high bits, edge detection, repeat...). See the call's page for more details.

Most of the games use that BIOS call to read player input (mslug is an exception ?).