Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-Fileevnt_multi()Event Libraryevnt_timer() AESSyntaxWORD evnt_timer( locount, hicount )
WORD locount, hicount;
Function evnt_timer() releases control to the operating system until
a specified amount of time has passed.
Opcode 24 (0x18)
Availability All AESversions.
Parameters locount is the low word of a 32-bit time value specified in
milliseconds.
hicount is the high portion of that 32-bit value.
Binding intin[0] = locount;
intin[1] = hicount;
return crys_if(0x18);
Return Value The return value is reserved and is currently always 1.
Caveats Under TOS 1.0, calling this function from a desk accessory with a both parameters having a value of 0 will hang the
system.
Comments This function should not be relyed on as an accurate clock.
The time specified is used as a minimum time value only and
the function will return at some point after that duration
has passed.
See Also evnt_multi()Group Event Library