cso support

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@303 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-11-24 20:50:16 +00:00
parent 2445b7cb6d
commit 71de3cd9bb
11 changed files with 204 additions and 17 deletions

View file

@ -113,7 +113,7 @@ extern m68ki_cpu_core PicoCpuMM68k, PicoCpuMS68k;
}
#define SekShouldInterrupt (CPU_INT_LEVEL > FLAG_INT_MASK)
#define SekInterrupt(irq) {
#define SekInterrupt(irq) { \
void *oldcontext = m68ki_cpu_p; \
m68k_set_context(&PicoCpuMM68k); \
m68k_set_irq(irq); \
@ -481,7 +481,7 @@ PICO_INTERNAL void z80_exit(void);
#define EL_IO 0x1000 /* all i/o (TODO) */
#define EL_STATUS 0x4000 /* status messages */
#define EL_ANOMALY 0x8000 /* some unexpected conditions */
#define EL_ANOMALY 0x8000 /* some unexpected conditions (during emulation) */
#if EL_LOGMASK
#define elprintf(w,f,...) \