Moved new *.asm files into src/

v
This commit is contained in:
2026-09-04 16:42:35 +01:00
parent 39ff477f6e
commit 04f3f03ad5
3 changed files with 0 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
; Addresses of global variables
; If not double buffering these point to the same buffer
pub const FB_DISPLAY_PTR = 16 ; U32 Currently displayed buffer
pub const FB_DRAW_PTR = 20 ; U32 Draw to this buffer
pub const FRAME_BUFFER_SIZE = 24 ; U32
pub const PIXEL_WIDTH = 28 ; U16
pub const PIXEL_HEIGHT = 30 ; U16
; Log2 of width in pixels, e.g.
; * 10 => 1024 * 768
pub const LOG_WIDTH = 32 ; U8
pub const BYTES_PER_PIXEL = 33 ; U8
; Log2 of bytes per pixel
; * 0 => 8 bits per pixel
; * 2 => 32 bits per pixel
pub const LOG_BPP = 34 ; U8