Download in PDF format

Transcript
MP/M User's Guide
0073
0074
0075
0076
0077
0078
19
5e
23
56
eb
e9
dad d
mov e,m
inx h
mov d,m
xchg
pc hl
; add table index * 2 to tbl b
; get handler address
; jump to computed cns handler
ascii character equates
007f =
0020 =
rubout
space
equ
equ
7fh
20h
; serial i/o port address equates
00f6
OOf7
OOf4
OOf5
00fa
00fb
=
=
=
=
=
=
dataO
stso
datal
stsl
lptport
lptsts
equ
equ
equ
equ
equ
equ
Of6h
dataO+l
Of4h
datal+l
Ofah
lptport+l
; poll console #0 input
polcio:
ptost:
0079
007b
007d
007e
0080
dbf7
e602
c8
3eff
C9
in
ani
rz
mvi
ret
;return Offh if ready,
;000h if not
stso
2
a,Offh
;console #0 input
0081
0083
0085
0088
008a
008c
pt0in:
Oe83
le04
cdfaff
dbf6
e67f
c9
mvi
mvi
call
in
ani
ret
;return character in reg a
C,poll
e,plciO
xdos
; poll console #0 inpu
dataO
; read character
7fh
; strip parity bit
;console #0 output
pt0out:
008d
008f
0091
0094
0095
0098
dbf7
e601
c29900
c5
cd9dOO
cl
coOrdy:
;req c = character to output
in
ani
jnz
push
call
POP
stso
Olh
coOrdy
b
ptOwait
b
;poll console #0 outp
134
(All Information Herein is Proprietary to Digital Research.)