Subject: Re: port-i386/5786: APM: unknown error code
To: None <cgd@netbsd1.cygnus.com>
From: John Kohl <jtk@NetBSD.ORG>
List: netbsd-bugs
Date: 07/26/1998 21:05:51
>>>>> "Chris" == Chris G Demetriou <cgd@netbsd1.cygnus.com> writes:

Chris> John Kohl suggested a patch to me (regarding clearing the carry bit
Chris> before making the APM call), but I don't have it handy and never had a
Chris> chance to try it.  John?

I've had a few people try it, it doesn't help--either the NetBSD code or
the BIOS is setting the carry bit without an appropriate error code.

I can't find the error in the NetBSD side, but it certainly could be
there.  See sys/arch/i386/i386/apmcall.s if you want to read the code
and try to figure out if/where we're screwing up.

-- 
==John Kohl <jtk@kolvir.arlington.ma.us>, <john_kohl@alum.mit.edu>
Write a poem, share your heart!
Home page: <URL:http://people.ne.mediaone.net/jtk/>
Note new home zip code as of July 1, 1998: 02476