Added FB_MODE global variable
Stores the current screen mode: * 0 => text * 1 => graphics
This commit is contained in:
+2
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user