diff options
Diffstat (limited to 'src/vga.h')
-rw-r--r-- | src/vga.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/vga.h b/src/vga.h new file mode 100644 index 0000000..a8f41ba --- /dev/null +++ b/src/vga.h @@ -0,0 +1,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 */ |