annotate defs/scf.d @ 1919:028161cd3535

uses ss.fd
author boisy
date Fri, 25 Nov 2005 12:39:54 +0000
parents 9d95e3246a61
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1629
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1760
27e85b681dab Fixed DEFS issue in 6809l2 and 6309l2 (thanks Rodney!)
boisy
parents: 1630
diff changeset
2 ; scf - Sequential File Manager Definitions
1629
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
3 ;
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
4 ; $Id$
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
5 ;
1760
27e85b681dab Fixed DEFS issue in 6809l2 and 6309l2 (thanks Rodney!)
boisy
parents: 1630
diff changeset
6 ; SCF stands for 'Sequential Character Filemanager' and is a package of
27e85b681dab Fixed DEFS issue in 6809l2 and 6309l2 (thanks Rodney!)
boisy
parents: 1630
diff changeset
7 ; subroutines that define the logical structure of a serial device.
1629
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
8 ;
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
9 ; The data structures in this file give SCF its 'personality' and are used
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
10 ; by SCF itself, as well as applications that will require disk I/O.
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
11 ;
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
12 ; Edt/Rev YYYY/MM/DD Modified by
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
13 ; Comment
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
14 ; ------------------------------------------------------------------
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
15 ; 2004/07/02 Boisy G. Pitre
1760
27e85b681dab Fixed DEFS issue in 6809l2 and 6309l2 (thanks Rodney!)
boisy
parents: 1630
diff changeset
16 ; Created
1629
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
17
1630
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1629
diff changeset
18 .title Sequential File Manager Definitions
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1629
diff changeset
19
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1629
diff changeset
20 .area SCF (ABS)
1629
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
21
1630
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1629
diff changeset
22 .ifndef Level
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1629
diff changeset
23 Level == 1
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1629
diff changeset
24 .endif
1629
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
25
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
26 .page
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
27 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
28 ; SCF Device Descriptor Offsets
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
29 ;
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
30 ; These definitions are for SCF device descriptors.
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
31
1785
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
32 IT.DVC == 0h18 ; Device type (DT.SCF)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
33 IT.UPC == 0h19 ; Uppercase flag
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
34 IT.BSO == 0h1A ; Backspace behavior
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
35 IT.DLO == 0h1B ; Delete behavior
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
36 IT.EKO == 0h1C ; Echo flag
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
37 IT.ALF == 0h1D ; Auto linefeed flag
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
38 IT.NUL == 0h1E ; End-of-line null count
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
39 IT.PAU == 0h1F ; Page pause flag
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
40 IT.PAG == 0h20 ; Number of lines per page
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
41 IT.BSP == 0h21 ; Backspace character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
42 IT.DEL == 0h22 ; Delete-line character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
43 IT.EOR == 0h23 ; End-of-record character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
44 IT.EOF == 0h24 ; End-of-file character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
45 IT.RPR == 0h25 ; Reprint-line character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
46 IT.DUP == 0h26 ; Duplicate-last-line character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
47 IT.PSC == 0h27 ; Pause character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
48 IT.INT == 0h28 ; Interrupt character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
49 IT.QUT == 0h29 ; Quit character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
50 IT.BSE == 0h2A ; Backspace echo character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
51 IT.OVF == 0h2B ; Bell character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
52 IT.PAR == 0h2C ; Parity
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
53 IT.BAU == 0h2D ; Baud rate
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
54 IT.D2P == 0h2E ; Attached device name string offset
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
55 IT.XON == 0h30 ; X-ON character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
56 IT.XOFF == 0h31 ; X-OFF character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
57 IT.COL == 0h32 ; Number of columns for display
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
58 IT.ROW == 0h33 ; Number of rows for display
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
59 IT.XTYP == 0h34 ; Extended type (added by BRI)
1629
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
60
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
61 .ifgt Level-1
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
62 ; Window Descriptor Additions
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
63 ; For CoCo window, where IT.PAR = $80
1785
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
64 IT.WND == 0h33 ; Window number (matches device name) ($2E)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
65 IT.VAL == 0h34 ; Use defaults on Init (0=no, 1=yes)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
66 IT.STY == 0h35 ; Screen type default
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
67 IT.CPX == 0h36 ; Column start default
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
68 IT.CPY == 0h37 ; Row start default
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
69 IT.FGC == 0h38 ; Foreground color default
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
70 IT.BGC == 0h39 ; Background color default
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
71 IT.BDC == 0h3A ; Border color default
1629
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
72 .endif
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
73
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
74
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
75 .page
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
76 ;;;;;;;;;;;;;;;;;;;;
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
77 ; SCF Static Storage
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
78 ;
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
79 ; SCF devices must reserve this space for SCF
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
80 ;
1785
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
81 V.TYPE == 0h06 ; Device type or parity
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
82 V.LINE == 0h07 ; Lines left until end of page
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
83 V.PAUS == 0h08 ; Immediate Pause request
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
84 V.DEV2 == 0h09 ; Attached device's static
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
85 V.INTR == 0h0B ; Interrupt char
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
86 V.QUIT == 0h0C ; Quit char
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
87 V.PCHR == 0h0D ; Pause char
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
88 V.ERR == 0h0E ; Accumulated errors
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
89 V.XON == 0h0F ; X-On char
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
90 V.XOFF == 0h10 ; X-Off char
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
91 V.KANJI == 0h11 ; Kanji mode flag
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
92 V.KBUF == 0h12 ; Kana - Kanji convert routine work address
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
93 V.MODADR == 0h14 ; Kana - Kanji convert module address
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
94 V.PDLHd == 0h16 ; Open path descriptor list head pointer
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
95 V.RSV == 0h18 ; Reserve bytes for future expansion
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
96 V.SCF == 0h1D ; Total SCF manager static overhead
1629
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
97
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
98 .page
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
99 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
100 ; Sequential Character Path Descriptor Format
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
101 ;
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
102 ; A path descriptor is created for every new path that is open
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
103 ; via the I$Open system call (processed by IOMan). Process
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
104 ; descriptors track state information of a path.
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
105 ;
1785
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
106 PD.DV2 rmb 0h32 ; Output device table pointer
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
107 PD.RAW rmb 0h34 ; Read/Write or ReadLn/WritLn mode
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
108 PD.MAX rmb 0h35 ; ReadLn high byte count
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
109 PD.MIN rmb 0h37 ; Devices are "mine" if clear
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
110 PD.STS rmb 0h38 ; Status routine module addr
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
111 PD.STM rmb 0h3A ; Reserved for status routine
1629
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
112 .org PD.OPT
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
113 .rmb 1 ; Device type
1785
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
114 PD.UPC == 1 ; Case (0=both, 1=upper only)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
115 PD.BSO == 1 ; Backspace (0=BSE, 1=BSE,SP,BSE)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
116 PD.DLO == 1 ; Delete (0=BSE over line, 1=CRLF)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
117 PD.EKO == 1 ; Echo (0=No Echo)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
118 PD.ALF == 1 ; Auto linefeed (0=No auto LF)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
119 PD.NUL == 1 ; End of Line null count
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
120 PD.PAU == 1 ; Page pause (0=No end of page pause)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
121 PD.PAG == 1 ; Lines per page
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
122 PD.BSP == 1 ; Backspace character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
123 PD.DEL == 1 ; Delete Line character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
124 PD.EOR == 1 ; End of Record character (read only)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
125 PD.EOF == 1 ; End of File character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
126 PD.RPR == 1 ; Reprint Line character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
127 PD.DUP == 1 ; Dup Last Line character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
128 PD.PSC == 1 ; Pause character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
129 PD.INT == 1 ; Keyboard interrupt character (CTRL-C)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
130 PD.QUT == 1 ; Keyboard quit character (CTRL-E)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
131 PD.BSE == 1 ; Backspace echo character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
132 PD.OVF == 1 ; Line overflow character (BELL)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
133 PD.PAR == 1 ; Parity code
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
134 PD.BAU == 1 ; ACIA baud rate (Color Computer)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
135 PD.D2P == 2 ; Offset of DEV2 name
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
136 PD.XON == 1 ; ACIA X-ON character
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
137 PD.XOFF == 1 ; ACIA X-OFF character
1629
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
138 OPTCNT == .-PD.OPT ; Total user settable options
1785
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
139 PD.ERR .rmb 1 ; Most recent I/O error status
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
140 PD.TBL .rmb 2 ; Device table addr (copy)
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
141 PD.PLP .rmb 2 ; Path Descriptor List Pointer
9d95e3246a61 rb1773.asm: now saves/restores original NMI vector
boisy
parents: 1760
diff changeset
142 PD.PST .rmb 1 ; Current path status
1629
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
143
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
144
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
145 ; PD.PST values Path Descriptor Status byte
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
146 ;
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
147 PST.DCD == 0b00000001 ; Set if DCD is lost on Serial port
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
148
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
149
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
150 ; PD.PAR definitions
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
151 ;
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
152 ; Parity
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
153 PARNONE == 0b00000000
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
154 PARODD == 0b00100000
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
155 PAREVEN == 0b01100000
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
156 PARMARK == 0b10100000
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
157 PARSPACE == 0b11100000
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
158
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
159 ; PD.BAU definitions
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
160 ;
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
161 ; Baud rate
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
162 B110 == 0b00000000
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
163 B300 == 0b00000001
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
164 B600 == 0b00000010
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
165 B1200 == 0b00000011
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
166 B2400 == 0b00000100
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
167 B4800 == 0b00000101
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
168 B9600 == 0b00000110
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
169 B19200 == 0b00000111
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
170 B38400 == 0b00001000
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
171 B57600 == 0b00001001
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
172 B115200 == 0b00001010
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
173 ; Word size
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
174 WORD8 == 0b00000000
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
175 WORD7 == 0b00100000
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
176 ; Stop bits
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
177 STOP1 == 0b00000000
eaa82c22a8a4 scf.d added
boisy
parents:
diff changeset
178 STOP2 == 0b00010000