User input: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
m (Created page with "User input can be read directly from registers '''REG_P1CNT''' ($300000) and '''REG_P2CNT''' ($340000), which come from the hardware. The [[SYSTEM_IO...")
 
mNo edit summary
 
Line 1: Line 1:
User input can be read directly from [[Memory mapped registers|registers]] '''REG_P1CNT''' ($300000) and '''REG_P2CNT''' ($340000), which come from the hardware.
User input can be read directly from [[Memory mapped registers|registers]] {{Reg|REG_P1CNT}} and {{Reg|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.
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.

Latest revision as of 00:59, 14 August 2012

User input can be read directly from registers REG_P1CNT and 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 ?).