// modexprintbig(&gvar.video.page[0], 0, 0, 1, colpee, 0, "IBM");\r
// modexprint(0, 0, 1, 0, colpee, ROSE);\r
//++++ getch();\r
+ vga_read_crtc_mode(&cm);\r
VGAmodeX(0, 1, &gvar);\r
// rosa=malloc(sizeof(ROSE));\r
// (*rosa)=(byte)ROSE;\r
printf("\n%s\n", rose);\r
//printf("\nh=%d\n", '8');\r
// printf("\n%c\n", e);\r
- vga_read_crtc_mode(&cm);\r
printf("cm.offset=%d\n", cm.offset);\r
printf("vga_state.vga_stride=%d\n", vga_state.vga_stride);\r
}\r
cm.clock_select = 0; /* misc register = 0xE3 25MHz */\r
cm.vsync_neg = 1;\r
cm.hsync_neg = 1;\r
- vga_state.vga_stride=88;\r
- cm.offset=88;\r
+ vga_state.vga_stride=44;\r
+ cm.offset=44;\r
break;\r
case 2: // TODO: 160x120 according to ModeX_160x120regs\r
return;\r