diff options
Diffstat (limited to 'isolinux.asm')
-rw-r--r-- | isolinux.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/isolinux.asm b/isolinux.asm index 56d740ba..f3f926b4 100644 --- a/isolinux.asm +++ b/isolinux.asm @@ -3043,7 +3043,7 @@ use_font: jne .text .graphics: - xor cx,bx + xor cx,cx mov cl,bh ; CX = bytes/character mov ax,480 div cl ; Compute char rows per screen @@ -3052,7 +3052,7 @@ use_font: mov [VidRows],al mov ax,1121h ; Set user character table int 10h - mov [VidRows], byte 79 ; Always 80 bytes/line + mov [VidCols], byte 79 ; Always 80 bytes/line mov [TextPage], byte 0 ; Always page 0 ret ; No need to call adjust_screen @@ -4156,7 +4156,7 @@ vgaclearmode: ; mov dx,TextColorReg ; Restore color registers ; mov ax,1002h ; int 10h - + mov [UsingVGA], byte 0 call use_font ; Restore text font/data mov byte [ScrollAttribute], 07h |