示例#1
0
文件: cpu.c 项目: mnstrmnch/meka
// 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;
        }
    }
}
示例#2
0
void cpu_z80_run(int nbcycle)
{
    z80_emulate(nbcycle);
}