summaryrefslogtreecommitdiff
path: root/video/console.h
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-17 20:40:29 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-17 20:40:29 +0200
commit042e25e19b5fc0cec1d47440c26246c886cf39f6 (patch)
tree9f3e49ccae2ec8a48fdb34d264da3adef06f64bf /video/console.h
parentd98828d08eb1f6c1394f38a1df69c73fef0cfefa (diff)
started big cleanup!
Diffstat (limited to 'video/console.h')
-rw-r--r--video/console.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/video/console.h b/video/console.h
deleted file mode 100644
index 819bd8d..0000000
--- a/video/console.h
+++ /dev/null
@@ -1,40 +0,0 @@
-#ifndef CONSOLEINT_H
-#define CONSOLEINT_H
-
-// 80 x 24 ?
-
-#include <stdint.h>
-
-#define SCR_VIDEOMEM 0xb8000
-
-#define SCR_REAL_WIDTH 80
-
-#define SCR_WIDTH 78
-#define SCR_HEIGHT 24
-
-#define SCR_CTRL 0x3D4
-#define SCR_DATA 0x3D5
-
-// colors
-#define SCR_BLACK 0x0
-#define SCR_BLUE 0x1
-#define SCR_GREEN 0x2
-#define SCR_CYAN 0x3
-#define SCR_RED 0x4
-#define SCR_VIOLET 0x5
-#define SCR_BROWN 0x6
-#define SCR_GRAY1 0x7
-#define SCR_GRAY2 0x8
-#define SCR_LBLUE 0x9
-#define SCR_LGREEN 0xa
-#define SCR_LCYAN 0xb
-#define SCR_LRED 0xc
-#define SCR_PINK 0xd
-#define SCR_YELLOW 0xe
-#define SCR_WHITE 0xf
-
-//autoscroll
-void update_cursor(uint32_t col,uint32_t row);
-void console_put_char(uint8_t c,uint8_t color, uint32_t x, uint32_t y);
-
-#endif