EasyManua.ls Logo

Radio Shack 26-1145 - Page 26

Radio Shack 26-1145
35 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...
Program Listing
of
TERM
The
program listing for
TERM has been modified (for cassette
tape)
to include the following
"patch" which displays
a
vertical
bar on
the Display screen
whenever
any of the following serial input faults
occur:
1
.
Parity fault
2. Over-run (i.e. UART received
another character before the
previous one was read
in by the TERM
program)
3.
Framing
(i.e. a spacing level was
detected by the UART when
the
"stop
bit" period should have
been occurring)
You can
disable the "patch"
by
changing:
at
5018, 5019, 501 A hex, replace
C3
,"(70,
50
with
E6, 7F, FE
as
shown
in the listing.
The patch
is:
1. At
5018.
5019,
501A putC3,C0,
50
2. At 50C0 hex insert:
50C0
F5
50C1 3A6650
50C4
E6
38
50C6 28
05
50C8
3E
AA
50CA CD 33
00
50CD
F1
50CE E6
7F
50
D0
FE
GO
50D2 C3 1C
50
PATCH
PUSH AF
LD A,(5066H)
AND
38
JR
7,
NOFLT
LD A.0AAH
CALL DSP$
NOFLT POP AF
AND 7FH
CP
GOH
JP
OUT-OF-PATCH
GET
UART STATUS
FROM UCB
OV,
FE, PE?
DISPLAY
BAR
Following
is the complete
listing of the TERM program.
OOOO
1
; CASSETTE PROGRAM 10 BE SyS TEM LOADED INTO
00002 ; LEVEL
II
TRS-80 WITH
RS
-23
2-C INTERFACE
UHICH
00003 ; CAUSE s system to
BEHAVE
AS A CRT
TERMINAL
00005 i PROG By RKUBALA,
REV
IS ION THUR. 20
.JULi 1978.
00007 0033 DSP* EQU 0033H
OOOOS 002 E KBDS EQU 002BH
00009 0046
C 1
0*
EQU 0046H
0001 1 5000
ORG 5000H
000
1 3 5000 3E 1 C- TERM LD A, 1CH i HOME CURSOR
00014 5002 CD3300
CALL
DSP*
000 1
5
5005
3E 1
F
LD A,
1FH J CLEAR
SCREEN
000 1
6
500 7 CD3300
CALL DSP*
000
1
7
500ft 3E0E LD A, OEH ; TURN CURSOR ON
000 18 500C CD3300
CALL DSP*
000 1 V 500F CD5850 CALL MRUART
0002
1
;
MAIN PROGRAM
-
JUGGLES RS-
Z'~-i'2.
-C, KB.
?y.
CRT.
23

Other manuals for Radio Shack 26-1145

Related product manuals