]> wirehaze git hosting - lifeboot.git/commitdiff

wirehaze git hosting

update fill char
authorphfr24 <phfr24@inf.ufpr.br>
Mon, 3 Nov 2025 01:26:28 +0000 (22:26 -0300)
committerphfr24 <phfr24@inf.ufpr.br>
Mon, 3 Nov 2025 01:26:28 +0000 (22:26 -0300)
lifeboot.asm

index a3b4658fbbf6f6c1839718c149188cc457a8587a..7a70c62d1573d2260374be1c4c66319ceee07f22 100644 (file)
@@ -8,8 +8,7 @@ org 0x7c00
 %define VGA_ROW 25
 %define VGA_LENW VGA_COL * VGA_ROW
 
-%define FILL_CHAR 0xfa              ; middle dot
-%define FILL_COLOR 0x04             ; red on black
+%define FILL_CHAR ' '
 %define PRINT_COLOR 0x07            ; grey on black
 
 ; entry point -----------------------------------------------------------------
@@ -36,7 +35,7 @@ mov cx, VGA_LENW
 mov ax, VGA_SEG
 mov es, ax
 xor di, di
-mov ax, (FILL_COLOR << 8) | FILL_CHAR
+mov ax, (PRINT_COLOR << 8) | FILL_CHAR
 
 rep stosw                   ; fill cx words at es:di with ax