From ee9a0a06079821d4f41f8579d9074dd08370b33a Mon Sep 17 00:00:00 2001 From: Gelthor Date: Mon, 7 Sep 2026 00:16:37 +0100 Subject: [PATCH] Added FB_MODE global variable Stores the current screen mode: * 0 => text * 1 => graphics --- src/globals.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/globals.asm b/src/globals.asm index d9398c5..3fd860b 100755 --- a/src/globals.asm +++ b/src/globals.asm @@ -27,4 +27,5 @@ pub const FB_BYTES_PER_PIXEL = 0x2a ; U8 Specialisations should hardcode t ; Log2 of bytes per pixel ; * 0 => 8 bits per pixel ; * 2 => 32 bits per pixel -pub const FB_LOG_BPP = 0x2b ; U8 Specialisations should hardcode this \ No newline at end of file +pub const FB_LOG_BPP = 0x2b ; U8 Specialisations should hardcode this +pub const FB_MODE = 0x2c ; U8 Screen mode: 0 => text; 1 => graphics