EasyManua.ls Logo

Radio Shack TRS-80 Model III - Page 77

Radio Shack TRS-80 Model III
274 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
OPERATION
$CSOUT
612/X0264'
Output
a Byte to Cassette
After writing
the header
with
SCSHWR, use
SCSOUT to write the
data, one byte
at a
time.
Note: You must
call SCSOUT often
enough to keep up with the baud rate (either
500
or
1500 baud).
Entry
Conditions
A
=
Data byte.
Exit
Conditions
None
Sample
Z-80 Programming
See SCSHWR.
$DATE
12339/X'3033'
Get
Today's
Date
Entry
Conditions
(HL)
=
Eight-byte
output
buffer
Exit
Conditions
(HL)
=Date in this
format:
MO/DA/YR
All other registers
are
altered.
Sample
Z-80
Programming
00100 ;
6ET
TODAY'S
DATE & TIME
82EA 210B83 00101
LD HL.TXT2
8-BYTE BUFFER
B2ED CD3330
00102 CALL. DATE
82F0 21FF82 00103
LD HL-TXT3 8-BYTE BUFFER
82F3 CD3630 00104
CALL TIME
82F6 21FF82
00105
LD
HL.TXT3
!HL)=TIME/DATE MS6
B2F9 CD1B02 00106
CALL VDL I NE
DISPLAY
TIME/DATE
82FC C3191A 00107
JP READY
82FF 00108 TXT3
DEFS
8
TIME
GOES
HERE
8307 20
00109
DEFB
20H ASCII SPACE
8308
00110
TXT2
DEFS 8 DATE
GOES HERE
8310 0D
00111 DEFB
0DH END OF LINE
67

Other manuals for Radio Shack TRS-80 Model III

Related product manuals