Sender: nate AT cartsys DOT com Message-ID: <36BF9036.5CC283B9@cartsys.com> Date: Mon, 08 Feb 1999 17:32:38 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: How to check the carry flag? References: <79nj9q$41pu$1 AT news-inn DOT inet DOT tele DOT dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Ole Laursen wrote: > > Hello! > > I have just tried to launch my first interrupt with __djgpp_int(...). It > works great, but how do you check the carry flag (which is set by the > interrupt to indicate success and failure) in __dpmi_regs.flags? I guess > there are some #defined values, but I wasn't capable of finding them in the > 'dpmi.h'eader. The carry flag is the low bit. -- Nate Eldredge nate AT cartsys DOT com