Globals and start.asm #19
+4
-2
@@ -8,9 +8,11 @@ pub const MAGIC_VALUE = 0x534c ; U16 Low 16 bits of the magic value
|
|||||||
; If not double buffering these point to the same buffer
|
; If not double buffering these point to the same buffer
|
||||||
; If double buffering they must the same size
|
; If double buffering they must the same size
|
||||||
pub const FB_DISPLAY_PTR = 0x10 ; U32 Currently displayed buffer
|
pub const FB_DISPLAY_PTR = 0x10 ; U32 Currently displayed buffer
|
||||||
pub const FB_DISPLAY_STRIDE = 0x14 ; U32 Bytes in each row of the displayed buffer
|
pub const FB_DISPLAY_STRIDE = 0x14 ; U16 Bytes in each row of the displayed buffer
|
||||||
|
pub const FB_DISPLAY_DEPTH = 0x16 ; U16 Bits per pixel of the display buffer
|
||||||
pub const FB_DRAW_PTR = 0x18 ; U32 Draw to this buffer
|
pub const FB_DRAW_PTR = 0x18 ; U32 Draw to this buffer
|
||||||
pub const FB_DRAW_STRIDE = 0x1c ; U32 Bytes in each row of the draw buffer
|
pub const FB_DRAW_STRIDE = 0x1c ; U16 Bytes in each row of the draw buffer == FB_DISPLAY_STRIDE
|
||||||
|
pub const FB_DRAW_DEPTH = 0x1e ; U16 Bits per pixel of the draw buffer == FB_DISPLAY_DEPTH
|
||||||
pub const FB_SIZE_BYTE = 0x20 ; U32 In bytes
|
pub const FB_SIZE_BYTE = 0x20 ; U32 In bytes
|
||||||
pub const FB_WIDTH_PX = 0x24 ; U16 Width of screen in pixels
|
pub const FB_WIDTH_PX = 0x24 ; U16 Width of screen in pixels
|
||||||
pub const FB_HEIGHT_PX = 0x26 ; U16 Height of screen in pixels
|
pub const FB_HEIGHT_PX = 0x26 ; U16 Height of screen in pixels
|
||||||
|
|||||||
Reference in New Issue
Block a user