cyclone_debug improvements pt. 2

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@185 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-07-05 20:34:02 +00:00
parent 55ca4154a2
commit 2d0b15bb2c
7 changed files with 95 additions and 28 deletions

View file

@ -72,6 +72,12 @@ static int SekUnrecognizedOpcode()
PicoCpu.stopped = 1;
return 1;
}
#ifdef EMU_M68K // debugging cyclone
{
extern int have_illegal;
have_illegal = 1;
}
#endif
//exit(1);
return 0;
}
@ -144,6 +150,8 @@ int SekReset()
#endif
#ifdef EMU_M68K
m68k_set_context(&PicoM68kCPU); // if we ever reset m68k, we always need it's context to be set
m68ki_cpu.sp[0]=0;
m68k_set_irq(0);
m68k_pulse_reset();
#endif