\r
void main(int argc, char near *argv[])\r
{\r
- struct vga_mode_params cm;\r
//JMOJI\r
static byte e;\r
//word ri;\r
gvar.video.page[0].width += (16*2);\r
gvar.video.page[0].height += (16*2);\r
modexShowPage(&gvar.video.page[0]);\r
- vga_read_crtc_mode(&cm);\r
// NTS: We're in Mode-X now. printf() is useless. Do not use printf(). Or INT 10h text printing. Or DOS console output.\r
//modexprint(16, 16, 1, 15, "wwww");\r
//getch();\r
}\r
sprintf(pee, "%zc", e);\r
modexprint(&gvar.video.page[0], chx, chy, 1, 0, colpee, &e);\r
- chx+=9;\r
+ chx+=8;\r
colpee++;\r
if(colpee>=32+24) colpee=32;\r
}\r
getch();\r
+ modexprint(&gvar.video.page[0], 0, 0, 1, 0, colpee, &rose);\r
+ getch();\r
//modexprint(100, 100, 1, 47, 0, "wwww");\r
// modexprint(0, 0, 1, 0, colpee, &rose);\r
//++++ modexprint(&gvar.video.page[0], 0, 0, 0, 0, colpee, &ibmlogo);\r
printf("\n%s\n", rose);\r
//printf("\nh=%d\n", '8');\r
// printf("\n%c\n", e);\r
- printf("cm.offset=%d\n", cm.offset);\r
- printf("vga_state.vga_stride=%d\n", vga_state.vga_stride);\r
}\r
//t=(((*(gv->clock))-gv->clock_start) /18.2);
sprintf(gv->pee, "%f fps", (double)gv->kurokku.tiku/ticktock(gv));
printf("%s", gv->pee);
- //modexprint(pip[1].page, 16, 16, 1, 15, 0, gv->pee);
+ //FIXME PLEASE!!
+ //:modexprint(pip[1].page, 16, 16, 1, 15, 0, gv->pee);
//(gv->clock_start)=*(gv->clock);
gv->kurokku.tiku=0;
}