예제 #1
0
 public void RegisterPortAddresses(IPortManager portManager)
 {
     portManager.RegisterWritePort(0x7F, Write);
 }
예제 #2
0
 public void RegisterPortAddresses(IPortManager portManager)
 {
     portManager.RegisterPort(0xDE, Write, Read);
     portManager.RegisterPort(0xDF, Write, Read);
     portManager.RegisterWritePort(0x3E, Write);
 }
예제 #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);
 }
예제 #4
0
 public void RegisterPortAddresses(IPortManager portManager)
 {
     portManager.RegisterWritePort(0x3F, WriteNationalisation);
     portManager.RegisterPort(0xDC, WriteGamepadPort1, ReadGamepadPort1);
     portManager.RegisterPort(0xDD, WriteGamepadPort2, ReadGamepadPort2);
 }