Download Print this page

Radio Shack TRS-80 Owner's Manual page 103

Mini-disk operation disk operating system disk basic programming language
Hide thumbs Also See for TRS-80:

Advertisement

$DATE—
12339/X'3033'
$TIME-™
12342/X'3036'
These
routines return the date
and
time
in
ascii format:
Date:
mm/dd/yy
Time:
hh/mm/ss
Entry
Conditions
(HL)
=
Eight-byte buffer
to
receive
the
date/time
text
CALL $DATE
CALL
STIME
Exit
Conditions
(HL)
=
Date
or time
text
$DATLOC
16922/X
9
421A
?
$TIMLOC
16919/X'4217'
These
locations store the date
and
time
in
binary format:
$datloc
(Three
bytes):
yy dd yy
STIMLOC
(Three
bytes):
ss
mm
hh
$ERRDSP—
17417/X'4409'
This
routine displays a
trsdos
error
message
determined
by
the
contents
of
the
accumulator
(A).
This
register
contains
an
error
code
(0
=
no
error) after
completion
of
any system
routine.
Entry
Conditions
a
=
trsdos
error
code
(see
Table
at
the
end
of
this
section). In
a
trsdos
error
code,
bits
6
and
7
are
normally
reset
(off).
So
serrdsp
interprets
them
as
controls.
Not
Set
(Normal
Bit
#
Set
Condition)
7
Return
to caller
upon
Return
to
trsdos upon
completion
completion
Give
detailed error
message
Give
error
number
only
call
serrdsp
87

Advertisement

loading

This manual is also suitable for:

Model iii