mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-25 16:52:29 +00:00
Initial commit: SUB-OS 64-Bit Production Monolithic Operating System with LazyBox userland suite
This commit is contained in:
commit
cd9c786d14
88 files changed
+7132
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#ifndef _DRIVERS_TTY_H
|
||||
#define _DRIVERS_TTY_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#define MAX_TTYS 4
|
||||
#define TTY_WIDTH 80
|
||||
#define TTY_HEIGHT 25
|
||||
|
||||
void tty_init(void);
|
||||
void tty_switch(int index);
|
||||
int tty_get_current(void);
|
||||
void tty_write(const char* data, size_t size);
|
||||
void tty_write_string(const char* data);
|
||||
void tty_clear(void);
|
||||
void tty_set_cursor(int row, int col);
|
||||
|
||||
#endif // _DRIVERS_TTY_H
|
||||
Reference in new issue
Block a user