Tsettime
Set GEMDOS Time
Tsettime() Opcode = 45 ($2D)
Allows you to set the GEMDOS time.
C macro format
int time;
Tsettime(time);
Machine language format
move.w #time, - (sp)
move.w #$2D, - (sp)
trap #1
addq.l #4,sp
Inputs
time word A 16-bit code that indicates the time.
Interpretation of GEMDOS time:
Bit Number Description Range
0-4 Seconds divided by 2 0-29
5-10 Minutes 0-59
11-15 Hours 0-23
Results
None
See also
Tsettime(), Tgetdate(), Tsetdate()
262