FUNCTION 2Bh
-
Set
Date
AX
BX
CX
DX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
SP:
BP:
SI:
Dl:
IP:
FLG
CS:
DS:
SS:
ES:
Entry:
Exit:
AH
=
2Bh
(function
code)
CX =
Year
DH
=
Month
DL
=
Day
AL
=
status
code
Function
2Bh
sets the current date
set the
operating system.
The
format
of
the
parameters
is:
CX
DH
DL
-Year (1980-
2099)
-
Month
(1
-
12;
1
=
January,
2=
February,
etc.)
-
Day
(1
-31)
On
return
from
the function,
the
carry
flag
will
be
reset
if
the
operation
succeeded.
If
the carry
flag
is
set,
the
operations
failed
because
of
an
error
in
the specified data.
22
Related Products for Tandy 600