return;\r
}\r
VGAmodeX(1, 1, &gvar);\r
- //int10_setmode(19);\r
- __asm{\r
- mov AH,12H\r
- mov BL,30h\r
- mov AL,04h\r
- int 10\r
- mov ax,1123h\r
- int 10h\r
- ;mov ax,1112h ; load 8x8 character set into RAM\r
- ;int 10h\r
- }\r
+// __asm{\r
+// mov AH,12H\r
+// mov BL,30h\r
+// mov AL,04h\r
+// int 10\r
+// mov ax,1123h\r
+// int 10h\r
+// ;mov ax,1112h ; load 8x8 character set into RAM\r
+// ;int 10h\r
+// }\r
/* setup camera and screen~ */\r
-//.. gvar.video.page[0] = modexDefaultPage(&gvar.video.page[0]);\r
+ gvar.video.page[0] = modexDefaultPage(&gvar.video.page[0]);\r
//gvar.video.page[0].width += (16*2);\r
//gvar.video.page[0].height += (16*2);\r
//++++ modexShowPage(&gvar.video.page[0]);\r
cm.clock_select = 0; /* misc register = 0xE3 25MHz */\r
cm.vsync_neg = 1;\r
cm.hsync_neg = 1;\r
-\r
- cm.scanline_div2=1; /* CRTC[0x17] bit 2 */\r
- cm.scan_double=0; /* CRTC[0x09] bit 7 */\r
- cm.max_scanline=4; /* CRTC[0x09] bit 4-0 */\r
break;\r
case 2: // TODO: 160x120 according to ModeX_160x120regs\r
return;\r