Atari ST series Technical Reference Manual page 269

Hide thumbs Also See for ST series:
Table of Contents

Advertisement

Tgettime()
This function is used to get the GEMDOS version of the current time.
C macro format
int time;
time = Tgettime();
Machine language format
move.w
#$2C, - (sp)
trap
#1
addq.l
#2,sp
Inputs
None
Results
D O
time
word
Interpretation of GEMDOS
Bit Number
Description
0-4
Seconds divided by 2
5-10
Minutes
11-15
Hours
See also
Tsettime(), Tgetdate(), Tsetdate()
Tgettime
Get GEMDOS Time
A 16-bit code that indicates the time.
time:
Range
0-29
0-59
0-23
Opcode = 44 ($2C)
261

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents