private void InitMemCallbacks()
 {
     ExecCallback  = new LibGPGX.mem_cb(a => MemoryCallbacks.CallExecutes(a));
     ReadCallback  = new LibGPGX.mem_cb(a => MemoryCallbacks.CallReads(a));
     WriteCallback = new LibGPGX.mem_cb(a => MemoryCallbacks.CallWrites(a));
     _memoryCallbacks.ActiveChanged += RefreshMemCallbacks;
 }
Пример #2
0
 private void InitMemCallbacks()
 {
     ExecCallback = new LibGPGX.mem_cb(a =>
     {
         if (MemoryCallbacks.HasExecutes)
         {
             uint flags = (uint)MemoryCallbackFlags.AccessExecute;
             MemoryCallbacks.CallMemoryCallbacks(a, 0, flags, "M68K BUS");
         }
     });
     ReadCallback = new LibGPGX.mem_cb(a =>
     {
         if (MemoryCallbacks.HasReads)
         {
             uint flags = (uint)MemoryCallbackFlags.AccessRead;
             MemoryCallbacks.CallMemoryCallbacks(a, 0, flags, "M68K BUS");
         }
     });
     WriteCallback = new LibGPGX.mem_cb(a =>
     {
         if (MemoryCallbacks.HasWrites)
         {
             uint flags = (uint)MemoryCallbackFlags.AccessWrite;
             MemoryCallbacks.CallMemoryCallbacks(a, 0, flags, "M68K BUS");
         }
     });
     _memoryCallbacks.ActiveChanged += RefreshMemCallbacks;
 }
Пример #3
0
 private void InitMemCallbacks()
 {
     ExecCallback = new LibGPGX.mem_cb(a => MemoryCallbacks.CallExecutes(a));
     ReadCallback = new LibGPGX.mem_cb(a => MemoryCallbacks.CallReads(a));
     WriteCallback = new LibGPGX.mem_cb(a => MemoryCallbacks.CallWrites(a));
     _memoryCallbacks.ActiveChanged += RefreshMemCallbacks;
 }
Пример #4
0
		void InitMemCallbacks()
		{
			ExecCallback = new LibGPGX.mem_cb(a => CoreComm.MemoryCallbackSystem.CallExecute(a));
			ReadCallback = new LibGPGX.mem_cb(a => CoreComm.MemoryCallbackSystem.CallRead(a));
			WriteCallback = new LibGPGX.mem_cb(a => CoreComm.MemoryCallbackSystem.CallWrite(a));
		}
Пример #5
0
 void InitMemCallbacks()
 {
     ExecCallback  = new LibGPGX.mem_cb(a => CoreComm.MemoryCallbackSystem.CallExecute(a));
     ReadCallback  = new LibGPGX.mem_cb(a => CoreComm.MemoryCallbackSystem.CallRead(a));
     WriteCallback = new LibGPGX.mem_cb(a => CoreComm.MemoryCallbackSystem.CallWrite(a));
 }