diff options
author | kato <kato@FreeBSD.org> | 1997-01-04 18:02:18 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1997-01-04 18:02:18 +0000 |
commit | ef2c00943e58783e3c55124ac8732d4c9e6c479c (patch) | |
tree | 971f46c2df4e34a30a3d9729362b2d533865586e /sys | |
parent | 592532aadcdb13b887c05694955f650b9bd949ec (diff) | |
download | FreeBSD-src-ef2c00943e58783e3c55124ac8732d4c9e6c479c.zip FreeBSD-src-ef2c00943e58783e3c55124ac8732d4c9e6c479c.tar.gz |
Fix cursor address calculation.
Submitted by: Michio "Karl" Jinbo <karl@marcer.nagaokaut.ac.jp>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/boot/kzipboot/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pc98/boot/kzipboot/boot.c b/sys/pc98/boot/kzipboot/boot.c index 7a0e6bc..bc6ba3b 100644 --- a/sys/pc98/boot/kzipboot/boot.c +++ b/sys/pc98/boot/kzipboot/boot.c @@ -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); |