working text mode
This commit is contained in:
12
text_mode.h
Normal file
12
text_mode.h
Normal 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);
|
||||
Reference in New Issue
Block a user