]> wirehaze git hosting - lifeboot.git/commitdiff

wirehaze git hosting

not important
authorphfr24 <phfr24@inf.ufpr.br>
Sat, 6 Dec 2025 19:23:51 +0000 (16:23 -0300)
committerphfr24 <phfr24@inf.ufpr.br>
Sat, 6 Dec 2025 19:23:51 +0000 (16:23 -0300)
lifeboot.asm

index 2d1542f7dfe16a5219f1eab056d2c3b0757a0d2b..0e114d0a7a93aebfb29ace065599d1129d3fd84e 100644 (file)
@@ -25,7 +25,7 @@ org 0x7c00
 ; static variables ------------------------------------------------------------
 
 %define xss DAT             ; xs() state (word)
 ; static variables ------------------------------------------------------------
 
 %define xss DAT             ; xs() state (word)
-%define currvgapg xss + 2   ; current vga page near pointer (word)
+%define currvgapg DAT + 2   ; current vga page near pointer (word)
 
 ; =============================================================================
 
 
 ; =============================================================================
 
@@ -87,11 +87,11 @@ int 0x15                    ; wait
 
 ret
 
 
 ret
 
-; vsync() - wait for display to enter the next VBlank cycle -------------------
+; vsync_wait() - wait for display to enter the next VBlank cycle --------------
 
 ; clobbers ax, dx
 
 
 ; clobbers ax, dx
 
-vsync:
+vsync_wait:
 
 mov dx, 0x3da               ; input status #1 register
 
 
 mov dx, 0x3da               ; input status #1 register
 
@@ -165,7 +165,7 @@ ret
 
 flip_vga_page:
 
 
 flip_vga_page:
 
-call vsync
+call vsync_wait
 
 xor word [currvgapg], VGAPGSZ   ; flip currvgapg
 setnz al                        ; al = !(currvgapg == 0)
 
 xor word [currvgapg], VGAPGSZ   ; flip currvgapg
 setnz al                        ; al = !(currvgapg == 0)