Date: Wed, 7 Oct 1998 09:11:27 +0200 (SAT) From: Robert Nordier <rnordier@nordier.com> To: seggers@semyam.dinoco.de (Stefan Eggers) Cc: mike@smith.net.au, freebsd-current@FreeBSD.ORG, seggers@semyam.dinoco.de Subject: Re: Boot loader's autoload bug fix (was: Re: Two /boot/loader anomalies ) Message-ID: <199810070711.JAA04020@ceia.nordier.com> In-Reply-To: <199810062052.WAA00636@semyam.dinoco.de> from Stefan Eggers at "Oct 6, 98 10:52:01 pm"
index | next in thread | previous in thread | raw e-mail
Stefan Eggers wrote:
> > Actually, that's not quite right either. You should check the Z flag,
> > ie.
>
> Now that I read it again I saw my mistake. I am used to the AmigaOS
> call convention where one usually returns results only in D0 which
> would be our accumulator and thus a stutus would have been there.
>
> > return(!(vm86.efl & PSL_Z));
> >
> > and include <machine/psl.h>
> >
> > Can you check this for me?
>
> Did it and with this test it always thinks a character was input and
> wait for the user.-> Same as before. Reversing the test makes it
> ignore all user input.
Change the first function statement from
v86.ctl = 0;
to
v86.ctl = V86_FLAGS;
--
Robert Nordier
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810070711.JAA04020>
