First commit

This commit is contained in:
2020-09-19 22:16:34 +02:00
commit 2d7bfa6436
13 changed files with 717 additions and 0 deletions

20
include/console.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef CONSOLE_H
#define CONSOLE_H
#include <stdint.h>
#define SCREEN_WIDTH 80
#define SCREEN_HEIGHT 45
extern uint8_t console_getchar();
extern void console_putchar(uint8_t c);
extern void console_printstring(const uint8_t* c);
extern void console_revon();
extern void console_revoff();
extern void console_clear();
extern void console_clear_eol();
extern void console_goto(uint8_t x, uint8_t y);
#endif