Esempio n. 1
0
 public void AttachMemory(IMemory memory)
 {
     AddressBus.AttachDevice(memory);
     DataBus.AttachDevice(memory);
     Clock.AttachClockableDevice(memory);
     MREQ.AttachDevice(memory);
     RD.AttachDevice(memory);
     WR.AttachDevice(memory);
     WAIT.AttachDevice(memory);
 }
Esempio n. 2
0
 public void AttachCpu(IZ80CPU cpu)
 {
     AddressBus.AttachDevice(cpu);
     DataBus.AttachDevice(cpu);
     SystemClock.AttachClockableDevice(cpu);
     BUSACK.AttachDevice(cpu);
     BUSREQ.AttachDevice(cpu);
     HALT.AttachDevice(cpu);
     INT.AttachDevice(cpu);
     IORQ.AttachDevice(cpu);
     M1.AttachDevice(cpu);
     MREQ.AttachDevice(cpu);
     NMI.AttachDevice(cpu);
     RD.AttachDevice(cpu);
     RESET.AttachDevice(cpu);
     RFSH.AttachDevice(cpu);
     WAIT.AttachDevice(cpu);
     WR.AttachDevice(cpu);
 }