From: hpa Date: Mon, 9 Apr 2001 06:32:20 +0000 (+0000) Subject: Graphics mode scrolling fixes. X-Git-Tag: syslinux-3.11~871 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ffb108b01d0ce8dac886ef4fa76c095901087ce0;p=platform%2Fupstream%2Fsyslinux.git Graphics mode scrolling fixes. --- diff --git a/ldlinux.asm b/ldlinux.asm index f822d64..a37a9a1 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -3009,7 +3009,7 @@ loadfont: .graphics: ; CX = 0 on entry mov cl,bh ; CX = bytes/character - mov ax,640 + mov ax,480 div cl ; Compute char rows per screen mov dl,al dec al @@ -4048,11 +4048,11 @@ vgasetmode: mov [TextPage], byte 0 ; Always page 0 mov cx,[VGAFontSize] - mov ax,640 + mov ax,480 div cl + mov dl,al dec al ; VidRows is stored -1 mov [VidRows],al - mov dl,al mov bp,vgafontbuf xor bx,bx mov ax,1121h ; Set graphics font