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

View File

@@ -10,6 +10,12 @@
#define WORDS_PER_LINE (VIDEO_WIDTH / 32)
#define LINES_PER_FIELD (VIDEO_HEIGHT / 2)
// Active and visible field in the framebuffer
#define START_X 35
#define END_X (VIDEO_WIDTH-40)
#define START_Y 20
#define END_Y (VIDEO_HEIGHT-40)
typedef uint32_t video_framebuffer_t[VIDEO_HEIGHT][WORDS_PER_LINE];
typedef uint32_t (*video_framebuffer_ptr_t)[WORDS_PER_LINE];