feat: add multiboot2 framebuffer and Forth pixel primitives

Co-authored-by: aider (openrouter/moonshotai/kimi-k2.6) <aider@aider.chat>
This commit is contained in:
2026-05-05 22:18:56 +03:00
parent d73ace71fb
commit d8fad1765e
7 changed files with 294 additions and 21 deletions
+7
View File
@@ -107,6 +107,13 @@ void forth_printf(const char* fmt, ...) {
va_end(ap);
}
void do_fb_addr(Word* w) { (void)w; data_push(0); }
void do_fb_width(Word* w) { (void)w; data_push(0); }
void do_fb_height(Word* w) { (void)w; data_push(0); }
void do_fb_pitch(Word* w) { (void)w; data_push(0); }
void do_fb_bpp(Word* w) { (void)w; data_push(0); }
void do_fb_plot(Word* w) { (void)w; data_pop(); data_pop(); data_pop(); }
void _start(void) {
forth_run();
syscall1(60, 0);