X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fmusashi%2Fm68kcpu.h;fp=cpu%2Fmusashi%2Fm68kcpu.h;h=14bc2e1bdc82092972fb903b48c6f73ba5cfd88a;hb=aa15fda82ceeac7082ef0354ab3f9f05d954ae38;hp=79a6979c7f8214248ab3c10ea4ba50e754b6364b;hpb=03c5768cb5cb2cd8a7ea3e4383fd10065d27970e;p=picodrive.git diff --git a/cpu/musashi/m68kcpu.h b/cpu/musashi/m68kcpu.h index 79a6979..14bc2e1 100644 --- a/cpu/musashi/m68kcpu.h +++ b/cpu/musashi/m68kcpu.h @@ -1955,7 +1955,10 @@ void m68ki_exception_interrupt(uint int_level) /* If we are halted, don't do anything */ if(CPU_STOPPED) + { + printf("mu stopped! (%x)\n", CPU_STOPPED); return; + } /* Acknowledge the interrupt */ vector = m68ki_int_ack(int_level); @@ -2012,6 +2015,7 @@ void m68ki_exception_interrupt(uint int_level) /* ASG: Check for interrupts */ INLINE void m68ki_check_interrupts(void) { + //printf("mu level, mask: %04x %04x\n", CPU_INT_LEVEL, FLAG_INT_MASK); if(CPU_INT_LEVEL > FLAG_INT_MASK) m68ki_exception_interrupt(CPU_INT_LEVEL>>8); }