Added FB_MODE global variable

Stores the current screen mode:
* 0 => text
* 1 => graphics
This commit is contained in:
2026-09-07 00:17:02 +01:00
parent 4801520424
commit ee9a0a0607
+2 -1
View File
@@ -27,4 +27,5 @@ pub const FB_BYTES_PER_PIXEL = 0x2a ; U8 Specialisations should hardcode t
; Log2 of bytes per pixel ; Log2 of bytes per pixel
; * 0 => 8 bits per pixel ; * 0 => 8 bits per pixel
; * 2 => 32 bits per pixel ; * 2 => 32 bits per pixel
pub const FB_LOG_BPP = 0x2b ; U8 Specialisations should hardcode this pub const FB_LOG_BPP = 0x2b ; U8 Specialisations should hardcode this
pub const FB_MODE = 0x2c ; U8 Screen mode: 0 => text; 1 => graphics