split code in sections
This commit is contained in:
10
src/sections/init_screen.asm
Normal file
10
src/sections/init_screen.asm
Normal file
@@ -0,0 +1,10 @@
|
||||
; r1 = screen parameter value
|
||||
mov r1, screen.mode_index
|
||||
screen r1, screen.mode_value
|
||||
|
||||
mov r1, screen.offset_index
|
||||
add r2, zr, ptr.screen
|
||||
screen r1, r2
|
||||
|
||||
mov r1, screen.resolution_index
|
||||
screen r1, screen.resolution_value
|
||||
Reference in New Issue
Block a user