-//extern UINT32 mz80GetRegisterValue(void *, UINT32);\r
-\r
-// Accurate but slower frame which does hints\r
-static int PicoFrameHints(void)\r
-{\r
- struct PicoVideo *pv=&Pico.video;\r
- int total_z80=0,lines,y,lines_vis = 224,z80CycleAim = 0,line_sample;\r
- const int cycles_68k=488,cycles_z80=228; // both PAL and NTSC compile to same values\r
- int skip=PicoSkipFrame || (PicoOpt&0x10);\r
- int hint; // Hint counter\r
-\r
- if(Pico.m.pal) { //\r
- //cycles_68k = (int) ((double) OSC_PAL / 7 / 50 / 312 + 0.4); // should compile to a constant (488)\r
- //cycles_z80 = (int) ((double) OSC_PAL / 15 / 50 / 312 + 0.4); // 228\r
- lines = 312; // Steve Snake says there are 313 lines, but this seems to also work well\r
- line_sample = 68;\r
- if(pv->reg[1]&8) lines_vis = 240;\r
- } else {\r
- //cycles_68k = (int) ((double) OSC_NTSC / 7 / 60 / 262 + 0.4); // 488\r
- //cycles_z80 = (int) ((double) OSC_NTSC / 15 / 60 / 262 + 0.4); // 228\r
- lines = 262;\r
- line_sample = 93;\r
- }\r
-\r
- SekCyclesReset();\r
- //z80ExtraCycles = 0;\r
-\r
- if(PicoOpt&4)\r
- z80CycleAim = 0;\r
-// z80_resetCycles();\r
-\r
- pv->status&=~0x88; // clear V-Int, come out of vblank\r
-\r
- hint=pv->reg[10]; // Load H-Int counter\r
- //dprintf("-hint: %i", hint);\r
-\r
- for (y=0;y<lines;y++)\r
- {\r
- Pico.m.scanline=(short)y;\r