freebsd-nq/sys/i386/apm
Poul-Henning Kamp 2decd76771 Be much more carefull about what we leave in unused registers when we call
the APM-bios.
This stabilizes a couple of APM bioses quite a bit.
They all make the mistake of going into 16-bit mode, without clearing the
top half of the 32bit registers.
Later they do a
|	movw %si,$0x7331
|	movw %ax,0x6(%si)
or something along those lines and crash and burn, because their segment
is already relocated, so adding 0xf0171ce9 to the base of it is bad news.

At least SystemSoft is guilty of this bummer.
1994-12-16 06:16:30 +00:00
..
apm_init On my GW2K Handbook486 this code would reset when called from locore.s 1994-10-01 21:29:50 +00:00
apm_setup.h Added $Id$ 1994-10-01 05:13:37 +00:00
apm_setup.s Got rid of "APM" macro. Now only NAPM is needed to activate the APM stuff. 1994-10-10 01:14:03 +00:00
apm.c Be much more carefull about what we leave in unused registers when we call 1994-12-16 06:16:30 +00:00