Tandy 600 Programmer's Reference Manual page 26

Bios programmers
Hide thumbs Also See for 600:
Table of Contents

Advertisement

FUNCTION 2Ah
-
Get Date
AX
BX
CX
DX
SP:
BP:
SI:
DI:
IP:
FLG
CS
DS
SS
ES
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
Entry:
AH
= 2Ah
(function
code)
Exit:
AL
= Day
of
week
CX
=
Year
DH =
Month
DL = Day
Function
2Ah
returns the current
date
set
in
the operating
system.
The
format
of
the
values
returned
is:
CX
DH
DL
AL
Year
(1
980
-
2099)
Month
(1
-
12;
1
=
January,
2
=
Day
(1
-31)
Day
of
week
(0
-
6;
=
Sun.,
.
=
February,
etc.)
...
6
=
Sat.)
21

Advertisement

Table of Contents
loading

Table of Contents