HOLD v1.0 A Quick & Dirty Timer Utility By Steve A. Kitahata 29-Mar-95 HOLD is a timer routine which when invoked will delay the specified amount of time entered before returning to CP/M. It is most useful when used in a .SUB file to schedule the execution of programs at a later time - a handy little utility when no hardware clock is available. The syntax for HOLD is as follows: A>HOLD hh:mm:ss -or- A>HOLD mm:ss -or- A>HOLD ss 'hh' indicates hours 'mm' indicates minutes 'ss' indicates seconds Alternately, 2 digits need not be entered if only 1 digit is necessary, e.g. 'HOLD 1:2:3' is the same as 'HOLD 01:02:03'. If any key is pressed during the delay, program execution will be terminated. Locations 0103H & 0104H contains the delay count value which can be adjusted for different system clock speeds. This value can range from 1 to 65535. A good starting point is 15000 for a Z80 running at 4 Mhz. If the clock runs fast, then this value should be increased, and likewise, if the clock runs slow, this value should be decreased. This value can be changed with DDT to avoid re-assembly.