WikiPendium

(beta)

Tsettime()

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-3-144-28-82.us-east-2.compute.amazonaws.com

Tsettime()


WORD Tsettime( time )

UWORD time;

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()?

Il n'y a pas de commentaire sur cette page. [Afficher commentaires/formulaire]