First commit
This commit is contained in:
20
include/console.h
Normal file
20
include/console.h
Normal 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
|
||||
Reference in New Issue
Block a user