From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: [bug] delay() doesn't work under WinXP Date: 27 May 2002 14:23:19 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 13 Message-ID: References: <3CF23499 DOT 8000900 AT eik DOT bme DOT hu> NNTP-Posting-Host: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Dr. =?ISO-8859-1?Q?Andr=E1s=20S=F3lyom?= (solyom AT eik DOT bme DOT hu) wrote: : I added a printf before the _dpmi_int() to print out all of the : registers. All parameters were correct but the interrupt returns : immediately with the flag register set to 0x247 on my machine CF : indicates an error condition. Unfortunately I do not know which bit of : the flags is CF. And AH remained 0x86 which means that there was no Carry flag is bit 0, so carry was set in your case. Right, MartinS