gv->kurokku.tiku = 0;\r
gv->kurokku.clock_start = *clockw;\r
gv->kurokku.clock = clockw;\r
- gv->kurokku.frames_per_second = 60;\r
+ //gv->kurokku.frames_per_second = 60;\r
gv->pee = _nmalloc(sizeof(byte)*16);\r
//turn this off if XT\r
switch(detectcpu())\r
{\r
case 0:\r
gv->kurokku.fpscap=0;\r
+ gv->kurokku.frames_per_second=1;\r
break;\r
default:\r
gv->kurokku.fpscap=1;\r
+ gv->kurokku.frames_per_second=60;\r
break;\r
}\r
return gv->kurokku.t;\r
gv->kurokku.tiku=0;\r
}\r
gv->kurokku.tiku++;\r
- switch(gv->kurokku.fpscap)\r
- {\r
- case 0:\r
- gv->kurokku.frames_per_second=1;\r
- break;\r
- case 1:\r
- //turn this off if XT\r
- WaitPee();\r
- gv->kurokku.frames_per_second=60;\r
- break;\r
- }\r
+// switch(gv->kurokku.fpscap)\r
+// {\r
+// case 0:\r
+// gv->kurokku.frames_per_second=1;\r
+// break;\r
+// case 1:\r
+// //turn this off if XT\r
+// WaitPee();\r
+// gv->kurokku.frames_per_second=60;\r
+// break;\r
+// }\r
}\r
\r
void WaitPee()\r
}else //copy dat sheet
gv->kurokku.tiku++;
+ switch(gv->kurokku.fpscap)
+ {
+ case 0:
+ modexprint(&(gv->video.page[shinku_fps_indicator_page]), x, y+8, type, col, bgcol, "sanic!");
+ gv->kurokku.frames_per_second=1;
+ break;
+ case 1:
+ //turn this off if XT
+ //modexWaitBorder();
+ vga_wait_for_vsync();
+ gv->kurokku.frames_per_second=60;
+ break;
+ }
if(pageflipflop){
if(gv->video.r){
/* block copy pattern to where we will draw the sprite */
pan.pn=1;
//player[0].data = &pp;
- printf("starting timer ");
+ //printf("starting timer ");
start_timer(&gvar);
- printf("ok\n");
+ //printf("ok\n");
// atexit(qclean());
switch(gvar.kurokku.fpscap)
{
case 0:
- //modexprint(&(gv->video.page[shinku_fps_indicator_page]), x, y+8, type, col, bgcol, "sanic!");
gvar.kurokku.frames_per_second=1;
break;
case 1:
- //turn this off if XT
- //modexWaitBorder();
- vga_wait_for_vsync();
gvar.kurokku.frames_per_second=60;
break;
}