1 2 3 4 5 6 7 8 9 10 11
#ifndef VGA_H #define VGA_H #define VGA_BASE 0xB8000 #define VGA_COLS 80 #define VGA_ROWS 25 #define VGA_BPC 2 #define VGA_BPR (VGA_BPC * VGA_COLS) #endif /* VGA_H */