// spin\r
}\r
\r
- while(!(inp(INPUT_STATUS_1) & 8)) {\r
- //spin\r
- }\r
-}\r
-\r
-void bios_cls() {\r
- VGA_ALPHA_PTR ap;\r
- VGA_RAM_PTR rp;\r
- unsigned char m;\r
-\r
- m = int10_getmode();\r
- if ((rp=vga_state.vga_graphics_ram) != NULL && !(m <= 3 || m == 7)) {\r
- unsigned int i,im;\r
-\r
- im = (FP_SEG(vga_state.vga_graphics_ram_fence) - FP_SEG(vga_state.vga_graphics_ram));\r
- if (im > 0xFFE) im = 0xFFE;\r
- im <<= 4;\r
- for (i=0;i < im;i++) vga_state.vga_graphics_ram[i] = 0;\r
- }\r
- else if ((ap=vga_state.vga_alpha_ram) != NULL) {\r
- unsigned int i,im;\r
-\r
- im = (FP_SEG(vga_state.vga_alpha_ram_fence) - FP_SEG(vga_state.vga_alpha_ram));\r
- if (im > 0x7FE) im = 0x7FE;\r
- im <<= 4 - 1; /* because ptr is type uint16_t */\r
- for (i=0;i < im;i++) vga_state.vga_alpha_ram[i] = 0x0720;\r
- }\r
- else {\r
- printf("WARNING: bios cls no ptr\n");\r
- }\r
+// while(!(inp(INPUT_STATUS_1) & 8)) {\r
+// //spin\r
+// }\r
}\r
\r
void modexprintmeminfo(video_t *v)\r
void modexpdump(page_t *pee);
void modexcls(page_t *page, byte color, byte *Where);
void modexWaitBorder();
-void bios_cls();
void modexprintmeminfo(video_t *v);
#endif