summaryrefslogtreecommitdiff
path: root/src/kernel/vga.h
diff options
context:
space:
mode:
authorBenji Dial <Benji3.141@gmail.com>2019-12-26 19:42:52 -0500
committerBenji Dial <Benji3.141@gmail.com>2019-12-26 19:42:52 -0500
commit3353bdaf2bc2f0eb7c37b57728c5b3ce2017e7f5 (patch)
treec0c8e15c5b71f0c6b1a686be7e591b2c643396a2 /src/kernel/vga.h
parentc055a2f6a9778f93a8f09b6d820d2504d3fa2601 (diff)
downloadportland-os-3353bdaf2bc2f0eb7c37b57728c5b3ce2017e7f5.tar.gz
more info tags
Diffstat (limited to 'src/kernel/vga.h')
-rw-r--r--src/kernel/vga.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kernel/vga.h b/src/kernel/vga.h
index 2504128..cb2c2e3 100644
--- a/src/kernel/vga.h
+++ b/src/kernel/vga.h
@@ -22,11 +22,14 @@ OF THIS SOFTWARE.
#ifndef VGA_H
#define VGA_H
-#define VGA_BUFFER ((uint8_t *)0x000b8000)
void clear(void);
void put_char(uint8_t ch);
void put_sz(uint8_t *s);
void put_32_hex(uint32_t n);
+void put_16_hex(uint16_t n);
+void put_8_hex(uint8_t n);
+void put_32_dec(uint32_t n);
+void put_8_dec(uint8_t n);
void move_cursor(uint8_t col, uint8_t row);
void set_color(uint8_t c);