int io_load_eflags(void);
void io_store_eflags(int eflags);
+int Check_VESA(void);
+void ScreenVGA_Graphic(void);
+
+extern int vram_start_address;
+extern char vmode;
+extern short scrnX,scrnY;
+
#define COL8_000000 0
#define COL8_FF0000 1
#define DEF_IDT_FLAGS_DPL_LV2 0x40
#define DEF_IDT_FLAGS_DPL_LV3 0x60
#define DEF_IDT_FLAGS_PRESENT 0x80
+
#define DEF_IDT_INT_NUM_IRQ1 33
#define DEF_IDT_INT_NUM_IRQ0 32
+#define DEF_IDT_INT_NUM_SYSC 0x30
+#define DEF_IDT_INT_NUM_V86I 0x31
+#define DEF_IDT_INT_NUM_V86O 0x32
#define DEF_IDT_INT_SELECTOR 0x08