From 74eb20d8c4810b7757d85f7066359a566621a661 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 29 Oct 2015 14:25:57 +0100 Subject: kfs: added the serial print * 38400 bauds * 1 stop bit * no parity check * 8 bits words Signed-off-by: Olivier Gayot --- src/vga.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/vga.h (limited to 'src/vga.h') 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 */ -- cgit v1.2.3