•  Back 
  •  GEMDOS Function Reference 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
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-FileTgettime()
Tsetdate()
Settime()
Tsettime()                                                           GEMDOS

Syntax

WORD Tsettime( time )
UWORD time;

Function      Tsettime() sets the current GEMDOS time.

Opcode        45 (0x2D)

Availability  All GEMDOS versions.

Parameters    time is a bit array arranged as illustrated under
              Tgettime().

Binding       move.w   time,-(sp)
              move.w   #$2D,-(sp)
              trap     #1
              addq.l   #4,sp

Return Value  Tsettime() returns 0 if the time was set or non-zero if the
              time given was invalid.

Caveats       GEMDOS version 0.13 did not inform the BIOS of the date
              change and hence would not change the IKBD date or the date
              of a battery backed-up clock.

See Also      Tgettime(), Tsetdate(), Settime()