void m_reset(ROM_MODE page) { sprintf(statusline, "Reset to %s", getrom(page)); statcnt = 50; nmi_pending = 0; cpu.nmi_in_progress = false; reset(page); }
void m_reset(ROM_MODE page) { sprintf(statusline, "Reset to %s", getrom(page)); statcnt = 50; input.buffer_enabled = false; //DimkaM disable ps/2 access input.buffer.Empty(); nmi_pending = 0; cpu.nmi_in_progress = false; reset(page); }
void m_nmi(ROM_MODE page) { set_mode(page); sprintf(statusline, "NMI to %s", getrom(page)); statcnt = 50; comp.p00 = 0; // quorum cpu.sp -= 2; if(cpu.DbgMemIf->rm(cpu.pc) == 0x76) // nmi on halt command cpu.pc++; cpu.DbgMemIf->wm(cpu.sp, cpu.pcl); cpu.DbgMemIf->wm(cpu.sp+1, cpu.pch); cpu.pc = 0x66; cpu.iff1 = cpu.halted = 0; }