Article View: comp.os.msdos.programmer
Article #5118Re: Generating delays
From: Richard Eversole; x6239
Date: Mon, 11 Mar 1991 17:22
Date: Mon, 11 Mar 1991 17:22
18 lines
1202 bytes
1202 bytes
--
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
Technical Details
Message-ID:
<1991Mar11.172224.25845@cadence.com>Path:
arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!ucsd!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!spool.mu.edu!uunet!cadence!acae037!eversoleReferences:
<sg2Gwuw?@cs.psu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <sg2Gwuw?@cs.psu.edu> Sender: usenet@cadence.com (USENET News) Reply-To: eversole@acae037.cadence.com (Richard Eversole; x6239) Distribution: comp Organization: Cadence Design Systems, Inc. Lines: 18