Message-ID: <3CF23499.8000900@eik.bme.hu> Date: Mon, 27 May 2002 15:28:57 +0200 From: "Dr. =?ISO-8859-1?Q?Andr=E1s=20S=F3lyom?=" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: [bug] delay() doesn't work under WinXP References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: >On Sat, 25 May 2002, Mario Feldberg wrote: > >>The delay() function (from dos.h) doesn't seem >>to work under WinXP. There's no delay. >> > >Thanks for the report. > >Could you please investigate this a little more? > ... 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 'wait in progress', in which case AH would be 0x83. Andras