From: phfr24 Date: Sat, 6 Dec 2025 19:23:51 +0000 (-0300) Subject: not important X-Git-Url: https://git.wirehaze.ovh/lifeboot.git/commitdiff_plain/90ffff61d4b6169c5bd8ef942ddc269d1da4bce7 not important --- diff --git a/lifeboot.asm b/lifeboot.asm index 2d1542f..0e114d0 100644 --- a/lifeboot.asm +++ b/lifeboot.asm @@ -25,7 +25,7 @@ org 0x7c00 ; 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 -; vsync() - wait for display to enter the next VBlank cycle ------------------- +; vsync_wait() - wait for display to enter the next VBlank cycle -------------- ; clobbers ax, dx -vsync: +vsync_wait: mov dx, 0x3da ; input status #1 register @@ -165,7 +165,7 @@ ret flip_vga_page: -call vsync +call vsync_wait xor word [currvgapg], VGAPGSZ ; flip currvgapg setnz al ; al = !(currvgapg == 0)