Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Oct 1998 22:52:01 +0200
From:      Stefan Eggers <seggers@semyam.dinoco.de>
To:        Mike Smith <mike@smith.net.au>
Cc:        freebsd-current@FreeBSD.ORG, seggers@semyam.dinoco.de
Subject:   Re: Boot loader's autoload bug fix (was: Re: Two /boot/loader anomalies ) 
Message-ID:  <199810062052.WAA00636@semyam.dinoco.de>
In-Reply-To: Your message of "Tue, 06 Oct 1998 13:20:25 PDT." <199810062020.NAA01019@dingo.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

I guess I'll try the subfunction 11h - maybe that works better.

Stefan.
-- 
Stefan Eggers                 Lu4 yao2 zhi1 ma3 li4,
Max-Slevogt-Str. 1            ri4 jiu3 jian4 ren2 xin1.
51109 Koeln
Federal Republic of Germany

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810062052.WAA00636>