annotate lib/scfdefs.a @ 2593:4c3c19ec3257

Added second vhd drive for MESS version 144 and newer. Will not alter performance with older versions of MESS.
author robertgault
date Sat, 24 Dec 2011 13:01:17 +0000
parents a894bfdef5b3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2329
a894bfdef5b3 Updated
boisy
parents:
diff changeset
1 ********************************************************************
a894bfdef5b3 Updated
boisy
parents:
diff changeset
2 * SCFDefs - Sequential Character File Manager Definitions
a894bfdef5b3 Updated
boisy
parents:
diff changeset
3 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
4 * $Id$
a894bfdef5b3 Updated
boisy
parents:
diff changeset
5 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
6 * SCF stands for 'Sequential Character Filemanager' and is a package of subroutines
a894bfdef5b3 Updated
boisy
parents:
diff changeset
7 * that define the logical structure of a serial device.
a894bfdef5b3 Updated
boisy
parents:
diff changeset
8 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
9 * The data structures in this file give SCF its 'personality' and are used
a894bfdef5b3 Updated
boisy
parents:
diff changeset
10 * by SCF itself, as well as applications that will require disk I/O.
a894bfdef5b3 Updated
boisy
parents:
diff changeset
11 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
12 * Edt/Rev YYYY/MM/DD Modified by
a894bfdef5b3 Updated
boisy
parents:
diff changeset
13 * Comment
a894bfdef5b3 Updated
boisy
parents:
diff changeset
14 * ------------------------------------------------------------------
a894bfdef5b3 Updated
boisy
parents:
diff changeset
15 * 1984/01/11 YO
a894bfdef5b3 Updated
boisy
parents:
diff changeset
16 * Added V.KANJI, V.KBUF, V.MODADR for new kanji input process.
a894bfdef5b3 Updated
boisy
parents:
diff changeset
17 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
18 * 1985/04/20 Mark G. Hawkins
a894bfdef5b3 Updated
boisy
parents:
diff changeset
19 * Added V.PDLHd Path Descriptor List Head.
a894bfdef5b3 Updated
boisy
parents:
diff changeset
20 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
21 * 1985/04/21 Mark G. Hawkins
a894bfdef5b3 Updated
boisy
parents:
diff changeset
22 * Added PD.PLP and PD.PST for modem handling.
a894bfdef5b3 Updated
boisy
parents:
diff changeset
23 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
24 * 1987/06/23 Kevin K. Darling
a894bfdef5b3 Updated
boisy
parents:
diff changeset
25 * Updated with Dev Desc info.
a894bfdef5b3 Updated
boisy
parents:
diff changeset
26 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
27 * 1998/10/03 Boisy G. Pitre
a894bfdef5b3 Updated
boisy
parents:
diff changeset
28 * Consolidated L1/L2 scfdefs.
a894bfdef5b3 Updated
boisy
parents:
diff changeset
29 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
30 * 2003/01/21 Boisy G. Pitre
a894bfdef5b3 Updated
boisy
parents:
diff changeset
31 * Added symbolics for enhanced SCF line editing.
a894bfdef5b3 Updated
boisy
parents:
diff changeset
32 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
33 * 2003/06/02 Boisy G. Pitre
a894bfdef5b3 Updated
boisy
parents:
diff changeset
34 * Updated comments for clarity.
a894bfdef5b3 Updated
boisy
parents:
diff changeset
35 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
36 * 2004/05/17 Boisy G. Pitre
a894bfdef5b3 Updated
boisy
parents:
diff changeset
37 * Added higher baud rates.
a894bfdef5b3 Updated
boisy
parents:
diff changeset
38
a894bfdef5b3 Updated
boisy
parents:
diff changeset
39 NAM SCFDefs
a894bfdef5b3 Updated
boisy
parents:
diff changeset
40 TTL Sequential File Manager Definitions
a894bfdef5b3 Updated
boisy
parents:
diff changeset
41
a894bfdef5b3 Updated
boisy
parents:
diff changeset
42 PAG
a894bfdef5b3 Updated
boisy
parents:
diff changeset
43 *******************************
a894bfdef5b3 Updated
boisy
parents:
diff changeset
44 * SCF Device Descriptor Offsets
a894bfdef5b3 Updated
boisy
parents:
diff changeset
45 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
46 * These definitions are for SCF device descriptors.
a894bfdef5b3 Updated
boisy
parents:
diff changeset
47
a894bfdef5b3 Updated
boisy
parents:
diff changeset
48 csect
a894bfdef5b3 Updated
boisy
parents:
diff changeset
49 RMB M$DTyp
a894bfdef5b3 Updated
boisy
parents:
diff changeset
50 IT.DVC: RMB 1 Device type (DT.SCF)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
51 IT.UPC: RMB 1 Uppercase flag
a894bfdef5b3 Updated
boisy
parents:
diff changeset
52 IT.BSO: RMB 1 Backspace behavior
a894bfdef5b3 Updated
boisy
parents:
diff changeset
53 IT.DLO: RMB 1 Delete behavior
a894bfdef5b3 Updated
boisy
parents:
diff changeset
54 IT.EKO: RMB 1 Echo flag
a894bfdef5b3 Updated
boisy
parents:
diff changeset
55 IT.ALF: RMB 1 Auto linefeed flag
a894bfdef5b3 Updated
boisy
parents:
diff changeset
56 IT.NUL: RMB 1 End-of-line null count
a894bfdef5b3 Updated
boisy
parents:
diff changeset
57 IT.PAU: RMB 1 Page pause flag
a894bfdef5b3 Updated
boisy
parents:
diff changeset
58 IT.PAG: RMB 1 Number of lines per page
a894bfdef5b3 Updated
boisy
parents:
diff changeset
59 IT.BSP: RMB 1 Backspace character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
60 IT.DEL: RMB 1 Delete-line character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
61 IT.EOR: RMB 1 End-of-record character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
62 IT.EOF: RMB 1 End-of-file character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
63 IT.RPR: RMB 1 Reprint-line character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
64 IT.DUP: RMB 1 Duplicate-last-line character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
65 IT.PSC: RMB 1 Pause character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
66 IT.INT: RMB 1 Interrupt character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
67 IT.QUT: RMB 1 Quit character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
68 IT.BSE: RMB 1 Backspace echo character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
69 IT.OVF: RMB 1 Bell character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
70 IT.PAR: RMB 1 Parity
a894bfdef5b3 Updated
boisy
parents:
diff changeset
71 IT.BAU: RMB 1 Baud rate
a894bfdef5b3 Updated
boisy
parents:
diff changeset
72 IT.D2P: RMB 2 Attached device name string offset
a894bfdef5b3 Updated
boisy
parents:
diff changeset
73 IT.XON: RMB 1 X-ON character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
74 IT.XOF: RMB 1 X-OFF character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
75 IT.COL: RMB 1 Number of columns for display
a894bfdef5b3 Updated
boisy
parents:
diff changeset
76 IT.ROW: RMB 1 Number of rows for display
a894bfdef5b3 Updated
boisy
parents:
diff changeset
77 IT.XTYP: RMB 1 Extended type (added by BRI)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
78
a894bfdef5b3 Updated
boisy
parents:
diff changeset
79 * IFGT Level-1
a894bfdef5b3 Updated
boisy
parents:
diff changeset
80 * Window Descriptor Additions
a894bfdef5b3 Updated
boisy
parents:
diff changeset
81 * For CoCo window, where IT.PAR = $80
a894bfdef5b3 Updated
boisy
parents:
diff changeset
82 RMB IT.ROW+1
a894bfdef5b3 Updated
boisy
parents:
diff changeset
83 IT.WND: RMB 1 Window number (matches device name) ($2E)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
84 IT.VAL: RMB 1 Use defaults on Init (0=no, 1=yes)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
85 IT.STY: RMB 1 Screen type default
a894bfdef5b3 Updated
boisy
parents:
diff changeset
86 IT.CPX: RMB 1 Column start default
a894bfdef5b3 Updated
boisy
parents:
diff changeset
87 IT.CPY: RMB 1 Row start default
a894bfdef5b3 Updated
boisy
parents:
diff changeset
88 IT.FGC: RMB 1 Foreground color default
a894bfdef5b3 Updated
boisy
parents:
diff changeset
89 IT.BGC: RMB 1 Background color default
a894bfdef5b3 Updated
boisy
parents:
diff changeset
90 IT.BDC: RMB 1 Border color default
a894bfdef5b3 Updated
boisy
parents:
diff changeset
91 * ENDC
a894bfdef5b3 Updated
boisy
parents:
diff changeset
92 endsect
a894bfdef5b3 Updated
boisy
parents:
diff changeset
93
a894bfdef5b3 Updated
boisy
parents:
diff changeset
94 PAG
a894bfdef5b3 Updated
boisy
parents:
diff changeset
95 ********************
a894bfdef5b3 Updated
boisy
parents:
diff changeset
96 * SCF Static Storage
a894bfdef5b3 Updated
boisy
parents:
diff changeset
97 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
98 * SCF devices must reserve this space for SCF
a894bfdef5b3 Updated
boisy
parents:
diff changeset
99 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
100 csect
a894bfdef5b3 Updated
boisy
parents:
diff changeset
101 RMB V.USER
a894bfdef5b3 Updated
boisy
parents:
diff changeset
102 V.TYPE: RMB 1 Device type or parity
a894bfdef5b3 Updated
boisy
parents:
diff changeset
103 V.LINE: RMB 1 Lines left until end of page
a894bfdef5b3 Updated
boisy
parents:
diff changeset
104 V.PAUS: RMB 1 Immediate Pause request
a894bfdef5b3 Updated
boisy
parents:
diff changeset
105 V.DEV2: RMB 2 Attached device's static
a894bfdef5b3 Updated
boisy
parents:
diff changeset
106 V.INTR: RMB 1 Interrupt char
a894bfdef5b3 Updated
boisy
parents:
diff changeset
107 V.QUIT: RMB 1 Quit char
a894bfdef5b3 Updated
boisy
parents:
diff changeset
108 V.PCHR: RMB 1 Pause char
a894bfdef5b3 Updated
boisy
parents:
diff changeset
109 V.ERR: RMB 1 Accumulated errors
a894bfdef5b3 Updated
boisy
parents:
diff changeset
110 V.XON: RMB 1 X-On char
a894bfdef5b3 Updated
boisy
parents:
diff changeset
111 V.XOFF: RMB 1 X-Off char
a894bfdef5b3 Updated
boisy
parents:
diff changeset
112 V.KANJI: RMB 1 Kanji mode flag
a894bfdef5b3 Updated
boisy
parents:
diff changeset
113 V.KBUF: RMB 2 Kana - Kanji convert routine work address
a894bfdef5b3 Updated
boisy
parents:
diff changeset
114 V.MODADR: RMB 2 Kana - Kanji convert module address
a894bfdef5b3 Updated
boisy
parents:
diff changeset
115 V.PDLHd: RMB 2 Open path descriptor list head pointer
a894bfdef5b3 Updated
boisy
parents:
diff changeset
116 V.RSV: RMB 5 Reserve bytes for future expansion
a894bfdef5b3 Updated
boisy
parents:
diff changeset
117 V.SCF: EQU * Total SCF manager static overhead
a894bfdef5b3 Updated
boisy
parents:
diff changeset
118 endsect
a894bfdef5b3 Updated
boisy
parents:
diff changeset
119
a894bfdef5b3 Updated
boisy
parents:
diff changeset
120 PAG
a894bfdef5b3 Updated
boisy
parents:
diff changeset
121 ***********************
a894bfdef5b3 Updated
boisy
parents:
diff changeset
122 * Character Definitions
a894bfdef5b3 Updated
boisy
parents:
diff changeset
123 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
124 C$NULL: SET 0 Null char
a894bfdef5b3 Updated
boisy
parents:
diff changeset
125 C$RPET: SET $01 (CTRL-A - SOH) Repeat last input line
a894bfdef5b3 Updated
boisy
parents:
diff changeset
126 C$INTR: SET $03 (CTRL-C - ETX) Keyboard interrupt
a894bfdef5b3 Updated
boisy
parents:
diff changeset
127 C$RPRT: SET $04 (CTRL-D - EOT) Reprint current input line
a894bfdef5b3 Updated
boisy
parents:
diff changeset
128 C$QUIT: SET $05 (CTRL-E - ENQ) Keyboard Abort
a894bfdef5b3 Updated
boisy
parents:
diff changeset
129 C$BELL: SET $07 (CTRL-G - BEL) Line overflow warning
a894bfdef5b3 Updated
boisy
parents:
diff changeset
130 C$BSP: SET $08 (CTRL-H - BS ) Back space
a894bfdef5b3 Updated
boisy
parents:
diff changeset
131 C$RARR: SET $09 Right Arrow
a894bfdef5b3 Updated
boisy
parents:
diff changeset
132 C$EL: SET $05 Erase Line
a894bfdef5b3 Updated
boisy
parents:
diff changeset
133 C$LF: SET $0A Line feed
a894bfdef5b3 Updated
boisy
parents:
diff changeset
134 C$HOME: SET $0B Home position Code
a894bfdef5b3 Updated
boisy
parents:
diff changeset
135 C$Clsgr: SET $15 Graphic screen clear (use FM-11)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
136 C$Clsall: SET $16 Graphic & character clear (use FM-11)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
137 C$CR: SET $0D Carriage return
a894bfdef5b3 Updated
boisy
parents:
diff changeset
138 C$FORM: SET $0C (CTRL-L - FF ) Form Feed ... screen clear
a894bfdef5b3 Updated
boisy
parents:
diff changeset
139 C$SI: SET $0F Shift IN Code
a894bfdef5b3 Updated
boisy
parents:
diff changeset
140 C$SO: SET $0E Shift OUT Code
a894bfdef5b3 Updated
boisy
parents:
diff changeset
141 C$DELETE: SET $10 Delete char (for SCF enhanced line editing)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
142 C$XON: SET $11 (CTRL-Q - DC1) Transmit Enable
a894bfdef5b3 Updated
boisy
parents:
diff changeset
143 C$INSERT: SET C$XON Insert char (for SCF enhanced line editing)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
144 C$XOFF: SET $13 (CTRL-S - DC3) Transmit Disable
a894bfdef5b3 Updated
boisy
parents:
diff changeset
145 C$PLINE: SET C$XOFF Print remaining line (for SCF enhanced line editing)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
146 C$PAUS: SET $17 (CTRL-W - ETB) Pause character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
147 C$DEL: SET $18 (CTRL-X - CAN) Delete line
a894bfdef5b3 Updated
boisy
parents:
diff changeset
148 C$SHRARR: SET $19 Shift Right-Arrow
a894bfdef5b3 Updated
boisy
parents:
diff changeset
149 C$EOF: SET $1B (CTRL-[ - ESC) END of file
a894bfdef5b3 Updated
boisy
parents:
diff changeset
150 C$RGT: SET $1C Cursor right
a894bfdef5b3 Updated
boisy
parents:
diff changeset
151 C$LFT: SET $1D Cursor left
a894bfdef5b3 Updated
boisy
parents:
diff changeset
152 C$UP: SET $1E Cursor up
a894bfdef5b3 Updated
boisy
parents:
diff changeset
153 C$DWN: SET $1F Cursor down
a894bfdef5b3 Updated
boisy
parents:
diff changeset
154 C$SPAC: SET $20 Space
a894bfdef5b3 Updated
boisy
parents:
diff changeset
155 C$PERD: SET '.
a894bfdef5b3 Updated
boisy
parents:
diff changeset
156 C$COMA: SET ',
a894bfdef5b3 Updated
boisy
parents:
diff changeset
157
a894bfdef5b3 Updated
boisy
parents:
diff changeset
158
a894bfdef5b3 Updated
boisy
parents:
diff changeset
159 PAG
a894bfdef5b3 Updated
boisy
parents:
diff changeset
160 *********************************************
a894bfdef5b3 Updated
boisy
parents:
diff changeset
161 * Sequential Character Path Descriptor Format
a894bfdef5b3 Updated
boisy
parents:
diff changeset
162 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
163 * A path descriptor is created for every new path that is open
a894bfdef5b3 Updated
boisy
parents:
diff changeset
164 * via the I$Open system call (processed by IOMan). Process
a894bfdef5b3 Updated
boisy
parents:
diff changeset
165 * descriptors track state information of a path.
a894bfdef5b3 Updated
boisy
parents:
diff changeset
166 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
167 csect
a894bfdef5b3 Updated
boisy
parents:
diff changeset
168 RMB PD.FST
a894bfdef5b3 Updated
boisy
parents:
diff changeset
169 PD.DV2: RMB 2 Output device table pointer
a894bfdef5b3 Updated
boisy
parents:
diff changeset
170 PD.RAW: RMB 1 Read/Write or ReadLn/WritLn mode
a894bfdef5b3 Updated
boisy
parents:
diff changeset
171 PD.MAX: RMB 2 ReadLn high byte count
a894bfdef5b3 Updated
boisy
parents:
diff changeset
172 PD.MIN: RMB 1 Devices are "mine" if clear
a894bfdef5b3 Updated
boisy
parents:
diff changeset
173 PD.STS: RMB 2 Status routine module addr
a894bfdef5b3 Updated
boisy
parents:
diff changeset
174 PD.STM: RMB 2 Reserved for status routine
a894bfdef5b3 Updated
boisy
parents:
diff changeset
175 endsect
a894bfdef5b3 Updated
boisy
parents:
diff changeset
176
a894bfdef5b3 Updated
boisy
parents:
diff changeset
177 csect
a894bfdef5b3 Updated
boisy
parents:
diff changeset
178 RMB PD.OPT
a894bfdef5b3 Updated
boisy
parents:
diff changeset
179 RMB 1 Device type
a894bfdef5b3 Updated
boisy
parents:
diff changeset
180 PD.UPC: RMB 1 Case (0=both, 1=upper only)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
181 PD.BSO: RMB 1 Backspace (0=BSE, 1=BSE,SP,BSE)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
182 PD.DLO: RMB 1 Delete (0=BSE over line, 1=CRLF)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
183 PD.EKO: RMB 1 Echo (0=No Echo)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
184 PD.ALF: RMB 1 Auto linefeed (0=No auto LF)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
185 PD.NUL: RMB 1 End of Line null count
a894bfdef5b3 Updated
boisy
parents:
diff changeset
186 PD.PAU: RMB 1 Page pause (0=No end of page pause)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
187 PD.PAG: RMB 1 Lines per page
a894bfdef5b3 Updated
boisy
parents:
diff changeset
188 PD.BSP: RMB 1 Backspace character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
189 PD.DEL: RMB 1 Delete Line character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
190 PD.EOR: RMB 1 End of Record character (read only)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
191 PD.EOF: RMB 1 End of File character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
192 PD.RPR: RMB 1 Repront Line character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
193 PD.DUP: RMB 1 Dup Last Line character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
194 PD.PSC: RMB 1 Pause character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
195 PD.INT: RMB 1 Keyboard interrupt character (CTRL-C)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
196 PD.QUT: RMB 1 Keyboard quit character (CTRL-E)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
197 PD.BSE: RMB 1 Backspace echo character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
198 PD.OVF: RMB 1 Line overflow character (BELL)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
199 PD.PAR: RMB 1 Parity code
a894bfdef5b3 Updated
boisy
parents:
diff changeset
200 PD.BAU: RMB 1 ACIA baud rate (Color Computer)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
201 PD.D2P: RMB 2 Offset of DEV2 name
a894bfdef5b3 Updated
boisy
parents:
diff changeset
202 PD.XON: RMB 1 ACIA X-ON character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
203 PD.XOFF: RMB 1 ACIA X-OFF character
a894bfdef5b3 Updated
boisy
parents:
diff changeset
204 OPTCNT EQU *-PD.OPT Total user settable options
a894bfdef5b3 Updated
boisy
parents:
diff changeset
205 PD.ERR: RMB 1 Most recent I/O error status
a894bfdef5b3 Updated
boisy
parents:
diff changeset
206 PD.TBL: RMB 2 Device table addr (copy)
a894bfdef5b3 Updated
boisy
parents:
diff changeset
207 PD.PLP: RMB 2 Path Descriptor List Pointer
a894bfdef5b3 Updated
boisy
parents:
diff changeset
208 PD.PST: RMB 1 Current path status
a894bfdef5b3 Updated
boisy
parents:
diff changeset
209 endsect
a894bfdef5b3 Updated
boisy
parents:
diff changeset
210
a894bfdef5b3 Updated
boisy
parents:
diff changeset
211 * PD.PST values Path Descriptor Status byte
a894bfdef5b3 Updated
boisy
parents:
diff changeset
212 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
213 PST.DCD: EQU %00000001 Set if DCD is lost on Serial port
a894bfdef5b3 Updated
boisy
parents:
diff changeset
214
a894bfdef5b3 Updated
boisy
parents:
diff changeset
215
a894bfdef5b3 Updated
boisy
parents:
diff changeset
216 * PD.PAR definitions
a894bfdef5b3 Updated
boisy
parents:
diff changeset
217 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
218 * Parity
a894bfdef5b3 Updated
boisy
parents:
diff changeset
219 PARNONE: EQU %00000000
a894bfdef5b3 Updated
boisy
parents:
diff changeset
220 PARODD: EQU %00100000
a894bfdef5b3 Updated
boisy
parents:
diff changeset
221 PAREVEN: EQU %01100000
a894bfdef5b3 Updated
boisy
parents:
diff changeset
222 PARMARK: EQU %10100000
a894bfdef5b3 Updated
boisy
parents:
diff changeset
223 PARSPACE: EQU %11100000
a894bfdef5b3 Updated
boisy
parents:
diff changeset
224
a894bfdef5b3 Updated
boisy
parents:
diff changeset
225 * PD.BAU definitions
a894bfdef5b3 Updated
boisy
parents:
diff changeset
226 *
a894bfdef5b3 Updated
boisy
parents:
diff changeset
227 * Baud rate
a894bfdef5b3 Updated
boisy
parents:
diff changeset
228 B110: EQU %00000000
a894bfdef5b3 Updated
boisy
parents:
diff changeset
229 B300: EQU %00000001
a894bfdef5b3 Updated
boisy
parents:
diff changeset
230 B600: EQU %00000010
a894bfdef5b3 Updated
boisy
parents:
diff changeset
231 B1200: EQU %00000011
a894bfdef5b3 Updated
boisy
parents:
diff changeset
232 B2400: EQU %00000100
a894bfdef5b3 Updated
boisy
parents:
diff changeset
233 B4800: EQU %00000101
a894bfdef5b3 Updated
boisy
parents:
diff changeset
234 B9600: EQU %00000110
a894bfdef5b3 Updated
boisy
parents:
diff changeset
235 B19200: EQU %00000111
a894bfdef5b3 Updated
boisy
parents:
diff changeset
236 B38400: EQU %00001000
a894bfdef5b3 Updated
boisy
parents:
diff changeset
237 B57600: EQU %00001001
a894bfdef5b3 Updated
boisy
parents:
diff changeset
238 B115200: EQU %00001010
a894bfdef5b3 Updated
boisy
parents:
diff changeset
239 * Word size
a894bfdef5b3 Updated
boisy
parents:
diff changeset
240 WORD8: EQU %00000000
a894bfdef5b3 Updated
boisy
parents:
diff changeset
241 WORD7: EQU %00100000
a894bfdef5b3 Updated
boisy
parents:
diff changeset
242 * Stop bits
a894bfdef5b3 Updated
boisy
parents:
diff changeset
243 STOP1: EQU %00000000
a894bfdef5b3 Updated
boisy
parents:
diff changeset
244 STOP2: EQU %00010000