From owner-freebsd-current Wed Oct 7 00:13:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA28480 for freebsd-current-outgoing; Wed, 7 Oct 1998 00:13:28 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ceia.nordier.com (slip139-92-122-80.joh.za.ibm.net [139.92.122.80]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA28445 for ; Wed, 7 Oct 1998 00:13:07 -0700 (PDT) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id JAA04020; Wed, 7 Oct 1998 09:11:31 +0200 (SAT) From: Robert Nordier Message-Id: <199810070711.JAA04020@ceia.nordier.com> Subject: Re: Boot loader's autoload bug fix (was: Re: Two /boot/loader anomalies ) In-Reply-To: <199810062052.WAA00636@semyam.dinoco.de> from Stefan Eggers at "Oct 6, 98 10:52:01 pm" To: seggers@semyam.dinoco.de (Stefan Eggers) Date: Wed, 7 Oct 1998 09:11:27 +0200 (SAT) Cc: mike@smith.net.au, freebsd-current@FreeBSD.ORG, seggers@semyam.dinoco.de X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > > > > 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