working text mode

This commit is contained in:
2026-04-01 18:41:10 +02:00
parent 435a96d203
commit e041004cc9
13 changed files with 190 additions and 86 deletions

12
text_mode.h Normal file
View File

@@ -0,0 +1,12 @@
#pragma once
#include "cvideo.h"
// Text mode config
#define CHARS_PER_LINE 32
#define CHAR_LINES 20
typedef char text_mode_buffer_t[CHAR_LINES][CHARS_PER_LINE];
void init_font_cache();
void draw_text_mode(video_framebuffer_t fb, text_mode_buffer_t buffer);