Browse Prior Art Database

Machine-Independent Delay Technique

IP.com Disclosure Number: IPCOM000038862D
Original Publication Date: 1987-Mar-01
Included in the Prior Art Database: 2005-Feb-01

Publishing Venue

IBM

Related People

Authors:
Lovell, CJ Pierschalla, BR Wang, CS [+details]

Abstract

A method is described which delays the system for the same time interval on any type of machine. This method provides a technique that can be used in any PC DOS program to delay execution for a certain period of time, and the delay time is independent of the speed of the processor used in the PC. In accordance with this method the BIOS Time-of-Day function call is used to read the current clock setting in a loop until the desired delay time has expired. The logic is as follows: Read the current clock count (by issuing BIOS call Time-of-Day). Set the target count equal to the current clock count plus the delay count. Loop reading the current clock count until it is the same or greater than the target count.