summaryrefslogtreecommitdiff
path: root/font.inc
diff options
context:
space:
mode:
authorhpa <hpa>2004-01-29 06:54:51 +0000
committerhpa <hpa>2004-01-29 06:54:51 +0000
commit5714b25131eaab8a1358c8153e654e6312509327 (patch)
tree7e3b2164baf5906ed5a02e203f92ef7fb1e80109 /font.inc
parent9b92f1a610e2d216bdb1779ba1e6365da452eaf2 (diff)
downloadsyslinux-5714b25131eaab8a1358c8153e654e6312509327.tar.gz
Handle video pages correctly.syslinux-2.09-pre1
Diffstat (limited to 'font.inc')
-rw-r--r--font.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/font.inc b/font.inc
index bc1c5b10..9454d66e 100644
--- a/font.inc
+++ b/font.inc
@@ -1,7 +1,7 @@
;; $Id$
;; -----------------------------------------------------------------------
;;
-;; Copyright 1994-2002 H. Peter Anvin - All Rights Reserved
+;; Copyright 1994-2004 H. Peter Anvin - All Rights Reserved
;;
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -80,7 +80,6 @@ use_font:
mov ax,1121h ; Set user character table
int 10h
mov [VidCols], byte 79 ; Always 80 bytes/line
- mov [TextPage], byte 0 ; Always page 0
.lf_ret: ret ; No need to call adjust_screen
.text:
@@ -110,7 +109,6 @@ adjust_screen:
vidrows_ok: mov [VidRows],al
mov ah,0fh
int 10h ; Read video state
- mov [TextPage],bh
dec ah ; Store count-1 (same as rows)
mov [VidCols],ah
ret