EasyManua.ls Logo

Radio Shack TRS-80 Model 3 - Page 77

Radio Shack TRS-80 Model 3
276 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...
$CSOUT- 612/X'0264'
Outputa Byteto Cassette
After writing the headerwith
$CSHWR,
use
$CSOUT
to
write the data, one byte at a
time.
Note: You must call
$CSOUT
often enough
to
keep
up
with the baud rate (either 500
or 1500 baud).
Entry Conditions
A =Data byte.
ExitConditions
None
Sample Z-80 Programming
See$CSHWR.
$DATE-12339/X'3033'
GetToday's Date
Entry Conditions
(HL)
=Eight-byte output buffer
ExitConditions
(HL)
=Date in this format:
MOIDA/YR
All otherregisters are altered.
Sample Z-80 Programming
B--BYTE
BUFr'::ER
B-BYTE
BUFFER
TI
ME
GOES
HERE
ASCII
SPACE
DATE
GOES
HERE
END
OF
LINE
(HL)=TIME/DATE
MSG.
DISPLAY TIME/DATE
GET
TODAY'S
DATE
& TIME
LD
HL.,TXT2
CALL
DATE
LD
HL,TXT3
CALL
TIME
LD
HL,rXT3
CALL
VDLINE
JP
READY
DEFS 8
DEFB
20H
DEFS 8
DEF8
0DH
00100
00101
00102
00103
00104
00105
00106
00107
00108
TXT3
00109
00110
TXT2
00111
210883
CD3330
21FF82
CD3630
21FFB2
CD1802
C3191A
20
0D
82EA
El2ED
82F0
B2F3
82F6
El2F9
82FC
82FF
8307
8308
8310
12/9

Related product manuals