// MAIN EMULATION LOOP (RAZE CORE) -------------------------------------------- void CPU_Loop (void) { for (;;) { z80_emulate (opt.Cur_IPeriod); switch (LoopZ80 ()) { case INT_IRQ: z80_raise_IRQ (0xff); z80_lower_IRQ(); break; case INT_NMI: z80_cause_NMI(); break; case INT_QUIT: return; } } }
void cpu_z80_run(int nbcycle) { z80_emulate(nbcycle); }