}
-static ssp1601_t *ssp = NULL;
+#ifndef EMBED_INTERPRETER
+static
+#endif
+ssp1601_t *ssp = NULL;
static unsigned short *PC;
static int g_cycles;
elprintf(EL_SVP, "ssp IRAM copy from %06x", (ssp->RAM1[0]-1)<<1);
#ifdef USE_DEBUGGER
last_iram = (ssp->RAM1[0]-1)<<1;
-#endif
-#ifdef EMBED_INTERPRETER
- iram_dirty = 1;
#endif
}
return 0;
elprintf(EL_SVP, "ssp IRAM w [%06x] %04x (inc %i)", (addr<<1)&0x7ff, d, inc);
((unsigned short *)svp->iram_rom)[addr&0x3ff] = d;
ssp->pmac_write[reg] += inc;
+#ifdef EMBED_INTERPRETER
+ iram_dirty = 1;
+#endif
}
else
{
#endif // USE_DEBUGGER
-#ifdef EMBED_INTERPRETER
-static
-#endif
void ssp1601_reset(ssp1601_t *l_ssp)
{
ssp = l_ssp;
}
-#ifdef EMBED_INTERPRETER
-static
-#endif
void ssp1601_run(int cycles)
{
#ifndef EMBED_INTERPRETER