9 #define VGA_FBADDR ((void*)phys_to_virt(0xa0000))
11 int vga_setmode(int mode);
12 int vga_setmodex(void);
14 #define vga_planemask(mask) \
15 outpw(VGA_SC_ADDR_PORT, VGA_SC_MAPMASK_REG | ((unsigned short)(mask) << 8))
18 void vga_setpal(int16_t idx, uint8_t r, uint8_t g, uint8_t b);
19 #pragma aux vga_setpal = \
35 parm[ax][bl][bh][cl] \
37 #endif /* __WATCOMC__ */