mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
Fix cursor address calculation.
Submitted by: Michio "Karl" Jinbo <karl@marcer.nagaokaut.ac.jp>
This commit is contained in:
parent
68bbf3adb0
commit
d01d65d47a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21297
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user