Esempio n. 1
0
        private void HardReset()
        {
            A7800_control_register = 0;

            tia.Reset();
            cpu.Reset();
            cpu.SetCallbacks(ReadMemory, ReadMemory, ReadMemory, WriteMemory);

            maria.Reset();
            m6532.Reset();

            TIA_regs   = new byte[0x20];
            Maria_regs = new byte[0x20];
            RAM        = new byte[0x1000];

            cpu_cycle = 0;
        }
Esempio n. 2
0
        private void HardReset()
        {
            A7800_control_register = 0;

            tia.Reset();
            cpu.Reset();
            cpu.SetCallbacks(ReadMemory, ReadMemory, ReadMemory, WriteMemory);

            maria.Reset();
            m6532.Reset();

            Maria_regs = new byte[0x20];
            RAM        = new byte[0x1000];

            cpu_cycle = 0;

            _vidbuffer = new int[VirtualWidth * VirtualHeight];
        }
Esempio n. 3
0
        private void HardReset()
        {
            A7800_control_register = 0;

            tia.Reset();
            cpu.Reset();

            maria.Reset();
            m6532.Reset();
            pokey.Reset();

            Maria_regs = new byte[0x20];
            RAM        = new byte[0x1000];

            cpu_cycle = 0;

            _vidbuffer = new int[VirtualWidth * VirtualHeight];

            _spf = (_frameHz > 55) ? 740 : 880;
        }
Esempio n. 4
0
        private void HardReset()
        {
            A7800_control_register = 0;

            tia.Reset();
            cpu.Reset();

            maria.Reset();
            m6532.Reset();
            pokey.Reset();

            Maria_regs = new byte[0x20];
            RAM        = new byte[0x1000];

            cpu_cycle = 0;

            _vidbuffer = new int[VirtualWidth * VirtualHeight];

            master_audio_clock = 0;
            samp_c             = samp_l = 0;
        }