AMX 86 Procedures
K
A
DAK
317
ajtds ajtds
Purpose Set the Time and Date
Used by n Task o IS P o Timer Procedure n Restart Procedure n Exit Procedure
Setup #include "amx831sd.h"
.
.
struct amxtds tdbuf;
.
.
Initialize tdbuf with new time and date.
.
.
ajtds(&tdbuf);
ES:BX
Where &tdbuf is a pointer to the structure which contains the new time and date.
The structure amxtds is defined in header file AMX831SD.H (see
Appendix D).
Results Interrupts are disabled and then restored to their state at the time of the
call.
The AMX system time and date is set to that specified by the caller in
structure tdbuf.
The values for time and date supplied by the caller are not checked for
validity.
See Also ajtdg