Exemplo n.º 1
0
 public BusManager()
 {
     m_cpu          = new CpuUnit();
     m_rzx          = new RzxHandler(m_cpu);
     m_eventManager = new EventManager(m_cpu, m_rzx);
     SampleRate     = 44100;
 }
Exemplo n.º 2
0
        public EventManager(CpuUnit cpu, RzxHandler rzx)
        {
            m_cpu = cpu;
            m_rzx = rzx;

            m_cpu.RDMEM_M1  = RDMEM_M1;
            m_cpu.INTACK_M1 = INTACK_M1;
            m_cpu.NMIACK_M1 = NMIACK_M1;
            m_cpu.RDMEM     = RDMEM;
            m_cpu.WRMEM     = WRMEM;
            m_cpu.RDPORT    = RDPORT;
            m_cpu.WRPORT    = WRPORT;
            m_cpu.RDNOMREQ  = RDNOMREQ;
            m_cpu.WRNOMREQ  = WRNOMREQ;
            m_cpu.RESET     = RESET;

            Clear();
        }