Fix cursor address calculation.

Submitted by:	Michio "Karl" Jinbo <karl@marcer.nagaokaut.ac.jp>
This commit is contained in:
KATO Takenori 1997-01-04 18:02:18 +00:00
parent 68bbf3adb0
commit d01d65d47a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21297

View File

@ -158,7 +158,7 @@ void boot (int howto)
while ((inb(0x60) & 0x01) == 0) {}
/* read cursor address */
gdc_curaddr = inb(0x62);
gdc_curaddr = (inb(0x62) << 8);
gdc_curaddr += (inb(0x62) << 8);
/* ignore rest of data */
for (i = 0; i < 3; i++) {
(void)inb(0x62);