public void RegisterPortAddresses(IPortManager portManager) { portManager.RegisterWritePort(0x7F, Write); }
public void RegisterPortAddresses(IPortManager portManager) { portManager.RegisterPort(0xDE, Write, Read); portManager.RegisterPort(0xDF, Write, Read); portManager.RegisterWritePort(0x3E, Write); }
public void RegisterPortAddresses(IPortManager portManager) { portManager.RegisterWritePort(0xF0, value => value = 1); portManager.RegisterWritePort(0xF1, value => value = 1); portManager.RegisterPort(0xF2, value => value = 1, () => 0xFF); }
public void RegisterPortAddresses(IPortManager portManager) { portManager.RegisterWritePort(0x3F, WriteNationalisation); portManager.RegisterPort(0xDC, WriteGamepadPort1, ReadGamepadPort1); portManager.RegisterPort(0xDD, WriteGamepadPort2, ReadGamepadPort2); }