home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
ENTERPRS
/
CPM
/
UTILS
/
S
/
ZEN2.LBR
/
CIOTABLE.LIB
< prev
next >
Wrap
Text File
|
2000-06-30
|
2KB
|
59 lines
;** CHARACTER I/O TABLE DEFINITIONS
;
ORG 0
; TABLE
CIOTBL RB 0
CIOBP RB 1 ;BASE PORT
CIOBR RW 1 ;BAUD RATE
CIOF1 RB 1 ;FLAG BYTE 1
CIOF2 RB 1 ;FLAG BYTE 2
CIOIM RB 1 ;INPUT READY MASK
CIOIPM RB 1 ;INPUT READY POLARITY MASK
CIOOM RB 1 ;OUTPUT READY MASK
CIOOPM RB 1 ;OUTPUT READY POLARITY MASK
CIOECNT RB 1 ;# OF CHARACTERS BEFORE SENDING <ETX>
CIOECTR RB 1 ;CHARACTER COUNTER FOR SENDING <ETX>
CIONCHR RB 1 ;SEND NULLS AFTER THIS CHARACTER
CIONCNT RB 1 ;# OF NULLS TO SEND
CIONCTR RB 1 ;NULL COUNTER
CIOVAL1 RB 1 ;DEVICE DEPENDANT VALUE 1
CIOVAL2 RB 1 ;DEVICE DEPENDANT VALUE 2
CIOVAL3 RB 1 ;DEVICE DEPENDANT VALUE 3
CIOVAL4 RB 1 ;DEVICE DEPNEDANT VALUE 4
CIOVAL5 RB 1 ;DEVICE DEPENDANT VALUE 5
CIOVAL6 RB 1 ;DEVICE DEPENDANT VALUE 6
CIOVAL7 RB 1 ;DEVICE DEPENDANT VALUE 7
CIOVAL8 RB 1 ;DEVICE DEPENDANT VALUE 8
CIOIN RW 1 ;ADDRESS OF DEVICE INIT ROUTINE
CIOIS RW 1 ;ADDRESS OF INPUT INPUT STATUS ROUTINE
CIOID RW 1 ;ADDRESS OF INPUT DATA ROUTINE
CIOOS RW 1 ;ADDRESS OF INPUT OUTPUT STATUS ROUTINE
CIOOD RW 1 ;ADDRESS OF OUTPUT DATA ROUTINE
IF ASM86
CIOTBLL EQU OFFSET $-OFFSET CIOTBL ;LENGTH OF CIO TABLE
ENDIF
IF NOT ASM86
CIOTBLL EQU $-CIOTBL ;LENGTH OF CIO TABLE
ENDIF
; FLAG BYTE 1
CIOSPI EQU 00000001B ;STRIP PARITY BIT ON INPUT
CIOSPO EQU 00000010B ;STRIP PARITY BIT ON OUTPUT
CIOMLI EQU 00000100B ;MAP LOWER CASE ON INPUT
CIOMLO EQU 00001000B ;MAP LOWER CASE ON OUTPUT
CIOEAH EQU 00010000B ;USE <ETX>/<ACK> HANDSHAKING
CIODCH EQU 00100000B ;USE <DC1>/<DC3> HANDSHAKING
; FLAG BYTE 2
CIOW4A EQU CIOEAH ;<ETX> SENT, WAITING FOR <ACK>
CIOW4D EQU CIODCH ;WAITING FOR <DC1>