diff options
Diffstat (limited to 'src/krn/api')
| -rw-r--r-- | src/krn/api/std.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/krn/api/std.h b/src/krn/api/std.h deleted file mode 100644 index 2862d0e..0000000 --- a/src/krn/api/std.h +++ /dev/null @@ -1,18 +0,0 @@ -#define MÜLL_IO_H - -/* - * Minimal API for kernel I/O basics - */ - -// includes -#include <stdint.h> - -volatile uint16_t* VGA = (volatile uint16_t*)0xB8000; -uint16_t cursor = 0; - -void RealPrint(const char* str) { - while(*str) { - VGA[cursor++] = (uint8_t)(*str) | 0x0700; // white on black - str++; - } -} |