--- /dev/null
+src/lib/16_timer.c: gv->kurokku.t = clock();\r
+src/lib/16_timer.c: gv->kurokku.tiku = 0; gv->video.sfip = 0;\r
+src/lib/16_timer.c: gv->kurokku.clock_start = *clockw;\r
+src/lib/16_timer.c: gv->kurokku.clock = clockw;\r
+src/lib/16_timer.c: gv->kurokku.wcpu = WCPU_detectcpu();\r
+src/lib/16_timer.c: switch(gv->kurokku.wcpu)\r
+src/lib/16_timer.c: gv->kurokku.fpscap=0;\r
+src/lib/16_timer.c: gv->kurokku.frames_per_second=1;\r
+src/lib/16_timer.c: gv->kurokku.fpscap=1;\r
+src/lib/16_timer.c: gv->kurokku.frames_per_second=60;\r
+src/lib/16_timer.c: return gv->kurokku.t;\r
+src/lib/16_timer.c: return (clock() - gv->kurokku.t) / CLOCKS_PER_SEC;\r
+src/lib/16_timer.c: clocku = (clock() - gv->kurokku.t) / CLOCKS_PER_SEC;\r
+src/lib/16_timer.c: gv->kurokku.t = clock();\r
+src/lib/16_timer.c: return (gv->kurokku.t) / CLOCKS_PER_SEC;\r
+src/lib/16_timer.c: if(elapsed_timer(gv) >= (1.0 / gv->kurokku.frames_per_second))\r
+src/lib/16_timer.c: //t=(((*(gv->clock))-gv->clock_start) /18.2);\r
+src/lib/16_timer.c: sprintf(global_temp_status_text, "%.0f fps", (double)gv->kurokku.tiku/ticktock(gv));\r
+src/lib/16_timer.c: //(gv->clock_start)=*(gv->clock);\r
+src/lib/16_timer.c: gv->kurokku.tiku=0;\r
+src/lib/16_timer.c: gv->kurokku.tiku++;\r
+src/lib/16_timer.c:// switch(gv->kurokku.fpscap)\r
+src/lib/16_timer.c:// gv->kurokku.frames_per_second=1;\r
+src/lib/16_timer.c:// gv->kurokku.frames_per_second=60;\r
+src/lib/16_vl.c: in.h.al = gv->video.old_mode;\r
+src/lib/16_vl.c: gv->video.old_mode = vgaGetMode();//out.h.al;\r
+src/lib/16_vl.c: gv->video.page[0].sw = vga_state.vga_width = 320; // VGA lib currently does not update this\r
+src/lib/16_vl.c: gv->video.page[0].sh = vga_state.vga_height = 240; // VGA lib currently does not update this\r
+src/lib/16_vl.c: gv->video.page[0].height = gv->video.page[0].sh;\r
+src/lib/16_vl.c: gv->video.page[0].width = gv->video.page[0].sw;\r
+src/lib/scroll16.c: pip[0].page = &gv->video.page[0];\r
+src/lib/scroll16.c: pip[0].video = &gv->video;\r
+src/lib/scroll16.c: pip[0].p = &gv->video.p;\r
+src/lib/scroll16.c: pip[0].sp = &gv->video.sp;\r
+src/lib/scroll16.c: for(i=ZC_MVI;i<gv->video.num_of_pages;i++)\r
+src/lib/scroll16.c: pip[i].page = &gv->video.page[i];\r
+src/lib/scroll16.c: word x = gv->video.page[/*!*/(gv->video.p)].dx; //(gv->video.page[(gv->video.p)].tlx) - // follow the screen\r
+src/lib/scroll16.c: word y = gv->video.page[/*!*/(gv->video.p)].dy; //(gv->video.page[(gv->video.p)].tly) - // follow the screen\r
+src/lib/scroll16.c: if(elapsed_timer(gv) >= (1.0 / gv->kurokku.frames_per_second))\r
+src/lib/scroll16.c: // NTS: For some bizarre reason, gv->pee is not initialized, but the pointer is not NULL even\r
+src/lib/scroll16.c: sprintf(global_temp_status_text, "%.0f fps", (double)gv->kurokku.tiku/ticktock(gv));\r
+src/lib/scroll16.c: //modexprint(&(gv->video.page[/*!*/(gv->video.p)]), x, y, type, 1, col, bgcol, global_temp_status_text);\r
+src/lib/scroll16.c: if(gv->kurokku.wcpu)\r
+src/lib/scroll16.c: modexCopyPageRegion(&gv->video.page[0], &gv->video.page[1],\r
+src/lib/scroll16.c: gv->video.page[/*!*/(gv->video.p)].dx,\r
+src/lib/scroll16.c: gv->video.page[/*!*/(gv->video.p)].dy,\r
+src/lib/scroll16.c: gv->video.page[/*!*/(gv->video.p)].dx,\r
+src/lib/scroll16.c: gv->video.page[/*!*/(gv->video.p)].dy,\r
+src/lib/scroll16.c: modexprint(&(gv->video.page[/*!*/(gv->video.p)]), x, y, type, 1, col, bgcol, global_temp_status_text);\r
+src/lib/scroll16.c://0000printf("dx=%u dy=%u\n", gv->video.page[/*!*/(gv->video.p)].dx, gv->video.page[/*!*/(gv->video.p)].dy);\r
+src/lib/scroll16.c: gv->kurokku.tiku=0;\r
+src/lib/scroll16.c: gv->kurokku.tiku++;\r
+src/lib/scroll16.c: switch(gv->kurokku.fpscap)\r
+src/lib/scroll16.c: //modexprint(&(gv->video.page[0]), x, y+8, type, 1, col, bgcol, "sanic!");\r
+src/lib/scroll16.c: gv->kurokku.frames_per_second=1;\r
+src/lib/scroll16.c: gv->kurokku.frames_per_second=60;\r
+src/lib/scroll16.c: if(gv->video.dorender )\r
+src/lib/scroll16.c: modexCopyPageRegion(&(gv->video.page[ ]), &(gv->video.page[ ]), 0, 0, 0, 0, gv->video.page[ ].width, gv->video.page[ ].height);\r
+src/lib/scroll16.c: VL_ShowPage(&(gv->video.page[gv->video.sp]), gv->kurokku.fpscap, 0);\r
+src/lib/scroll16.c: gv->video.dorender =!gv->video.dorender ;\r
+src/lib/scroll16.c: //0000gv->video.tickclk = ((*clockw)-gv->video.startclk)/18.2;\r
// This fixes *** Null pointer assignment detected error message in ZCROLL.EXE on exit.\r
sprintf(global_temp_status_text, "%.0f fps", (double)gv->kurokku.tiku/ticktock(gv));\r
//modexprint(&(gv->video.page[/*!*/(gv->video.p)]), x, y, type, 1, col, bgcol, global_temp_status_text);\r
- modexCopyPageRegion(&gv->video.page[0], &gv->video.page[1],\r
- gv->video.page[/*!*/(gv->video.p)].dx,\r
- gv->video.page[/*!*/(gv->video.p)].dy,\r
- gv->video.page[/*!*/(gv->video.p)].dx,\r
- gv->video.page[/*!*/(gv->video.p)].dy,\r
- 96, 16);\r
- modexprint(&(gv->video.page[/*!*/(gv->video.p)]), x, y, type, 1, col, bgcol, global_temp_status_text);\r
+ if(gv->kurokku.wcpu)\r
+ {\r
+ modexCopyPageRegion(&gv->video.page[0], &gv->video.page[1],\r
+ gv->video.page[/*!*/(gv->video.p)].dx,\r
+ gv->video.page[/*!*/(gv->video.p)].dy,\r
+ gv->video.page[/*!*/(gv->video.p)].dx,\r
+ gv->video.page[/*!*/(gv->video.p)].dy,\r
+ 96, 16);\r
+ modexprint(&(gv->video.page[/*!*/(gv->video.p)]), x, y, type, 1, col, bgcol, global_temp_status_text);\r
//0000printf("dx=%u dy=%u\n", gv->video.page[/*!*/(gv->video.p)].dx, gv->video.page[/*!*/(gv->video.p)].dy);\r
+ }\r
gv->kurokku.tiku=0;\r
}else //copy dat sheet\r
gv->kurokku.tiku++;\r