\r
void (*PicoWriteSound)(int len) = NULL; // called at the best time to send sound buffer (PsndOut) to hardware\r
void (*PicoResetHook)(void) = NULL;\r
-void (*PicoLineHook)(int count) = NULL;\r
+void (*PicoLineHook)(void) = NULL;\r
\r
// to be called once on emu init\r
void PicoInit(void)\r
#elif defined(EMU_M68K)\r
SekCycleCnt+=m68k_execute(cyc_do);\r
#elif defined(EMU_F68K)\r
- SekCycleCnt+=fm68k_emulate(cyc_do+1, 0);\r
+ SekCycleCnt+=fm68k_emulate(cyc_do+1, 0, 0);\r
#endif\r
}\r
\r
}\r
\r
\r
-// TODO: rm from asm too\r
-int idle_hit_counter = 0;\r
-\r
void PicoFrame(void)\r
{\r
-#if 0\r
- if ((Pico.m.frame_count&0x3f) == 0) {\r
- elprintf(EL_STATUS, "ihits: %i", idle_hit_counter);\r
- idle_hit_counter = 0;\r
- }\r
-#endif\r
-\r
Pico.m.frame_count++;\r
\r
if (PicoAHW & PAHW_MCD) {\r
dstrp+=strlen(dstrp);\r
sprintf(dstrp, "display_disable: %i, M3: %i, palette: %i, ?, hints: %i\n", bit(r,0), bit(r,1), bit(r,2), bit(r,4));\r
dstrp+=strlen(dstrp);\r
- sprintf(dstrp, "mode set 2: %02x\n", (r=reg[1])); dstrp+=strlen(dstrp);\r
+ sprintf(dstrp, "mode set 2: %02x hcnt: %i\n", (r=reg[1]), pv->reg[10]); dstrp+=strlen(dstrp);\r
sprintf(dstrp, "SMS/gen: %i, pal: %i, dma: %i, vints: %i, disp: %i, TMS: %i\n", bit(r,2), bit(r,3), bit(r,4),\r
bit(r,5), bit(r,6), bit(r,7)); dstrp+=strlen(dstrp);\r
sprintf(dstrp, "mode set 3: %02x\n", (r=reg[0xB])); dstrp+=strlen(dstrp);\r