Path: utzoo!news-server.csri.toronto.edu!rutgers!ucsd!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!spool.mu.edu!uunet!cadence!acae037!eversole From: eversole@acae037.cadence.com (Richard Eversole; x6239) Newsgroups: comp.os.msdos.programmer Subject: Re: Generating delays Message-ID: <1991Mar11.172224.25845@cadence.com> Date: 11 Mar 91 17:22:24 GMT References: Sender: usenet@cadence.com (USENET News) Reply-To: eversole@acae037.cadence.com (Richard Eversole; x6239) Distribution: comp Organization: Cadence Design Systems, Inc. Lines: 18 -- Look into the manual at the _bios_* calls. I do not remember exactly which calls you need but I think they are similar to bios_gettime. Also you could use the interrupt routines to intercept the system clock every tick (18.2 per second). I wrote some code that uses the bios call to do a programmable delay that has resolution of less than one second. If I remeber, I'll bring it in from home and post it here. I was uses MSC 6.0a. The bios calls offer the advantage of working on all 80x86 machines. ===================================================================== eversole@cadence.com