Portable printf added

This commit is contained in:
2025-12-21 15:34:45 +01:00
parent b41b6e2369
commit ef5f658a62
7 changed files with 1049 additions and 4 deletions

22
src/io/term.h Normal file
View File

@@ -0,0 +1,22 @@
#ifndef TERM_H
#define TERM_H
int term_init();
void kputs(const char* str);
enum TermColors
{
BLACK = 0x000000,
WHITE = 0xffffff
};
#define PSF1_FONT_MAGIC 0x0436
typedef struct
{
uint16_t magic;
uint8_t fontMode;
uint8_t characterSize; // height
} PSF1_Header;
#endif