From: "Tonu Aas" Newsgroups: comp.os.msdos.programmer,comp.os.msdos,comp.os.msdos.djgpp,comp.os.msdos.misc References: <8ea1626e DOT 0110280229 DOT 68dc811b AT posting DOT google DOT com> Subject: Re: Control timing Date: Fri, 2 Nov 2001 10:47:00 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Lines: 27 Message-ID: <3be260ad$0$246$bb624dac@diablo.uninet.ee> NNTP-Posting-Host: 194.204.53.21 X-Trace: 1004691629 diablo.uninet.ee 246 194.204.53.21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > That's mean i must install DOS on my PC. Can i use windows startup > disk booting up, to make an environment as dos? You can press F8 at startup time and select DOS mode. That all. > Is that still same as dos box in win9x? DOS box and DOS mode are not the same. Both of them are DOS 7 but there are many differences. > And if the new_timer(void) routine is too much coding, it can't finish > the job when the next interrupt came expected. Do i need to set some > interrupt masking flags? No you dont. No interrupts are proccessed before you enable interrupts or do iret. You interrupt code is short enough. > > Windows 9x grabs all the interrupts, and lets dos programms 'use' them at > > random intervals. Dont expect under DOS box that timer interrupt works as expected. For example if you lose focus timer interrupt occurs once a second !!! Tõnu.