Bios of "ACER EXTENSA 501T"
return apm_bios_info.cseg=0xfbbd and apm_bios_info.offset=0x500000
(this is bad adress)
working is apm_bios_info.cseg=0xfbbd and apm_bios_info.offset=0
I check this patch on 5 computers, and working :-))
P.S. Sorry for my english :-)))
--- apm.c.orig Fri Jan 15 07:57:25 1999
+++ apm.c Mon Jun 28 14:36:29 1999
@@ -1349,7 +1349,7 @@
__va((unsigned long)0x40 << 4));
_set_limit((char *)&gdt[APM_40 >> 3], 4095 - (0x40 << 4));
- apm_bios_entry.offset = apm_bios_info.offset;
+ apm_bios_entry.offset = apm_bios_info.offset & 0xffff;
apm_bios_entry.segment = APM_CS;
set_base(gdt[APM_CS >> 3],
__va((unsigned long)apm_bios_info.cseg << 4));
--
Marek Wójtowicz <[EMAIL PROTECTED]>
http://galaxy.uci.agh.edu.pl/~wumarex