From 336cfa313d0ebd435690610e8006b90dc8bd0e56 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Thu, 26 Dec 2019 13:06:21 -0500 Subject: got multiboot info parsed! --- src/kernel/vga.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/kernel/vga.h') diff --git a/src/kernel/vga.h b/src/kernel/vga.h index 2214f27..5658437 100644 --- a/src/kernel/vga.h +++ b/src/kernel/vga.h @@ -22,7 +22,13 @@ OF THIS SOFTWARE. #ifndef VGA_H #define VGA_H +#define put_debug(name, value) \ + put_sz(name ": 0x"); \ + put_32_hex(value); \ + put_char('\n'); + #define VGA_BUFFER ((uint8_t *)0x000b8000) +void clear(void); void put_char(uint8_t ch); void put_sz(uint8_t *s); void put_16(uint16_t n); -- cgit v1.2.3