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