1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
9 ; PCPANEL PCB Structure
11 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13 PCB_OPT1 DW 0 ;AN000;option word
14 PCB_OPT2 DB 0 ;AN000;option 2 added
15 PCB_OPT3 DB 0 ;AN000;option 3 added
16 PCB_OPT4 DB 0 ;AN000;option 4 added
17 PCB_UROW DW 0 ;AN000;row location of panel
18 PCB_UCOL DW 0 ;AN000;column location of panel
19 PCB_WIDTH DW 0 ;AN000;text char width of panel
20 PCB_MAXSIZE DW 0 ;AN000;Max poss panel sizing in text
21 PCB_CCBID DW 0 ;AN000;Index number of log color
22 PCB_BORDER DB 8 DUP(0) ;AN000;8 log border characters
23 PCB_COMPLEN DW 0 ;AN000;Length compress panel in mem
24 PCB_COMPOFF DW 0 ;AN000;Off addr compressed panel
25 PCB_COMPSEG DW 0 ;AN000;Seg addr compressed panel
26 PCB_EXPANDLEN DW 0 ;AN000;Length expanded panel in mem
27 PCB_EXPANDOFF DW 0 ;AN000;Off addr of expanded panel in
28 PCB_EXPANDSEG DW 0 ;AN000;Seg addr of expanded panel in
29 PCB_MIXEDLEN DW 0 ;AN000;Len of the mixed panel in mem
30 PCB_MIXEDOFF DW 0 ;AN000;Off addr of mixed panel in mem
31 PCB_MIXEDSEG DW 0 ;AN000;Seg addr of mixed panel in mem
32 PCB_LABELLEN DW 0 ;AN000;Len of the panel label
33 PCB_LABELOFF DW 0 ;AN000;Off addr of the panel label
34 PCB_LABELSEG DW 0 ;AN000;Seg addr of the panel label
35 PCB_LABELROW DW 0 ;AN000;Beg row of title relative to pan
36 PCB_LABELCOL DW 0 ;AN000;Beg col of title relative to pan
37 PCB_FPANLEN DW 0 ;AN000;Len of the panel stored in file
38 PCB_FNAMEOFF DW 0 ;AN000;Off address of full filespec
39 PCB_FNAMESEG DW 0 ;AN000;Seg address of full filespec
40 PCB_FTEXTLOCL DW 0 ;AN000;Lower off word of the beg off
41 PCB_FTEXTLOCH DW 0 ;AN000;High off word of the beg off
42 PCB_LROW DW 0 ;AN000;lower right corner (graphs only)
43 PCB_LCOL DW 0 ;AN000;lower left corner (graphs only)
44 PCB_VERTSHADE DB 0 ;AN000;vertical shadow mask (grap only)
45 PCB_HORZSHADE DB 0 ;AN000;horizontal shadow mask (graphs)
46 PCB_GFILLOFF DW 0 ;AN000;offset of wind char fill bit map
47 PCB_GFILLSEG DW 0 ;AN000;segmnt of wind char fill bit map
48 PCB_SCRSV1OFF DW 0 ;AN000;off scr buffer save 10H, 12H
49 PCB_SCRSV2OFF DW 0 ;AN000;off scr buffer save 11H
50 PCB_SCRSAVSEG DW 0 ;AN000;segment of screen buffer save
51 PCB_RESERVED DW 0 ;AN000;reserved
52 PCB_CHILDNUM DW 0 ;AN000;Number of child panel entries
53 PCB_CHILDOFF DW 0 ;AN000;Off address of child panel table
54 PCB_CHILDSEG DW 0 ;AN000;Seg address of child panel table
56 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
60 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
62 SCB_OPT1 DW 0 ;AN000;option word one
63 SCB_OPT2 DW 0 ;AN000;option word two
64 SCB_OPT3 DW 0 ;AN000;option word three
65 SCB_OPT4 DW 0 ;AN068;SEH option word four
66 SCB_FREQ DW 0 ;AN000;error beep frequency
67 SCB_ROW DW 0 ;AN000;upper left row
68 SCB_COL DW 0 ;AN000;upper left column
69 SCB_RELROW DW 0 ;AN000;relative upper left row
70 SCB_RELCOL DW 0 ;AN000;relative upper left column
71 SCB_WIDTH DW 0 ;AN000;line width
72 SCB_NUMLINE DW 0 ;AN000;number of lines
73 SCB_TOPELE DW 0 ;AN000;number of element on top
74 SCB_NUMELE DW 0 ;AN000;number of elements
75 SCB_CURELE DW 0 ;AN000;current element
76 SCB_NUMCOL DW 0 ;AN000;maximun number of cols to scroll
77 SCB_CURCOL DW 0 ;AN000;display offset into opt strings
78 SCB_NLISTCOL DW 0 ;AN000;num list txt col offset in strg
79 SCB_NLISTSEP DB 0 ;AN000;numbered list separator
80 SCB_SKLEN DW 0 ;AN000;select keystroke string length
81 SCB_SKOFF DW 0 ;AN000;select keystroke string offset
82 SCB_SKSEG DW 0 ;AN000;select keystroke string segment
83 SCB_RLLEN DW 0 ;AN000;return/leave string length
84 SCB_RLOFF DW 0 ;AN000;return/leave string offset
85 SCB_RLSEG DW 0 ;AN000;return/leave string segment
86 SCB_RELEN DW 0 ;AN000;return/erase string length
87 SCB_REOFF DW 0 ;AN000;return/erase string offset
88 SCB_RESEG DW 0 ;AN000;return/erase string segment
89 SCB_UALEN DW 0 ;AN000;up arrow string length
90 SCB_UAOFF DW 0 ;AN000;up arrow string offset
91 SCB_UASEG DW 0 ;AN000;up arrow string segment
92 SCB_DALEN DW 0 ;AN000;down arrow string length
93 SCB_DAOFF DW 0 ;AN000;down arrow string offset
94 SCB_DASEG DW 0 ;AN000;down arrow string segment
95 SCB_LALEN DW 0 ;AN000;left arrow string length
96 SCB_LAOFF DW 0 ;AN000;left arrow string offset
97 SCB_LASEG DW 0 ;AN000;left arrow string segment
98 SCB_RALEN DW 0 ;AN000;right arrow string length
99 SCB_RAOFF DW 0 ;AN000;right arrow string offset
100 SCB_RASEG DW 0 ;AN000;right arrow string segment
101 SCB_PULEN DW 0 ;AN000;page-up string length
102 SCB_PUOFF DW 0 ;AN000;page-up string offset
103 SCB_PUSEG DW 0 ;AN000;page-up string segment
104 SCB_PDLEN DW 0 ;AN000;page-down string length
105 SCB_PDOFF DW 0 ;AN000;page-down string offset
106 SCB_PDSEG DW 0 ;AN000;page-down string segment
107 SCB_PILEN DW 0 ;AN000;pointer indicator strg length
108 SCB_PIOFF DW 0 ;AN000;pointer indicator string offset
109 SCB_PISEG DW 0 ;AN000;pointer indicator string segment
110 SCB_PICOL DW 0 ;AN000;pointer ind txt col off into stg
111 SCB_AILEN DW 0 ;AN000;active indicator strg length
112 SCB_AIOFF DW 0 ;AN000;active indicator string offset
113 SCB_AISEG DW 0 ;AN000;active indicator string segment
114 SCB_AICOL DW 0 ;AN000;active ind txt col off into stg
115 SCB_CILEN DW 0 ;AN000;check mark text string length
116 SCB_CIOFF DW 0 ;AN000;check mark text string offset
117 SCB_CISEG DW 0 ;AN000;check mark text string segment
118 SCB_CICOL DW 0 ;AN000;check mark offset into opt strg
119 SCB_UILEN DW 0 ;AN000;up indicator string length
120 SCB_UIOFF DW 0 ;AN000;up indicator string offset
121 SCB_UISEG DW 0 ;AN000;up indicator string segment
122 SCB_UIROW DW 0 ;AN000;up indicator row location
123 SCB_UICOL DW 0 ;AN000;up indicator column location
124 SCB_DILEN DW 0 ;AN000;down indicator string length
125 SCB_DIOFF DW 0 ;AN000;down indicator string offset
126 SCB_DISEG DW 0 ;AN000;down indicator string segment
127 SCB_DIROW DW 0 ;AN000;down indicator row location
128 SCB_DICOL DW 0 ;AN000;down indicator column locaiton
129 SCB_LILEN DW 0 ;AN000;left indicator string length
130 SCB_LIOFF DW 0 ;AN000;left indicator string offset
131 SCB_LISEG DW 0 ;AN000;left indicator string segment
132 SCB_LIROW DW 0 ;AN000;left indicator row location
133 SCB_LICOL DW 0 ;AN000;left indicator column location
134 SCB_RILEN DW 0 ;AN000;right indicator string length
135 SCB_RIOFF DW 0 ;AN000;right indicator string offset
136 SCB_RISEG DW 0 ;AN000;right indicator string segment
137 SCB_RIROW DW 0 ;AN000;right indicator row location
138 SCB_RICOL DW 0 ;AN000;right indicator column locaiton
139 SCB_NCRAYOFF DW 0 ;AN000;normal color array offset
140 SCB_NCRAYSEG DW 0 ;AN000;normal color array segment
141 SCB_CCBID DW 0 ;AN000;logical color index number
142 SCB_CCBVECNUM DW 0 ;AN000;number color index table entries
143 SCB_CCBVECOFF DW 0 ;AN000;offset addr of color index table
144 SCB_CCBVECSEG DW 0 ;AN000;segment addr of color index tabl
145 SCB_INDEXOFF DW 0 ;AN000;index array offset
146 SCB_INDEXSEG DW 0 ;AN000;index array segment
147 SCB_SELOFF DW 0 ;AN000;element selection array offset
148 SCB_SELSEG DW 0 ;AN000;element selection array segment
149 SCB_OAOPT DW 0 ;AN000;option array option word
150 SCB_OAPOFF DW 0 ;AN000;option array pointer offset
151 SCB_OAPSEG DW 0 ;AN000;option array pointer segment
152 SCB_OASLEN DW 0 ;AN000;option array string length
153 SCB_OASSEG DW 0 ;AN000;option array string segment
154 SCB_OASTERMC DB 0 ;AN000;option array string term char
155 SCB_KS DW 0 ;AN000;keystroke
156 SCB_LVBOFF DW 0 ;AN000;log vid buf offset override
157 SCB_LVBSEG DW 0 ;AN000;log vid buf segment override
158 SCB_FMOPT1 DW 0 ;AN000;general purpose format hook opt
159 SCB_FMOPT2 DW 0 ;AN000;general purpose format hook opt
160 SCB_TRANLEN DW 0 ;AN000;length of translation table
161 SCB_TRANOFF DW 0 ;AN000;offset of translation table
162 SCB_TRANSEG DW 0 ;AN000;segment of translation table
163 SCB_MONOOFF DW 0 ;AN000;monocasing table offset
164 SCB_MONOSEG DW 0 ;AN000;monocasing table segment
165 SCB_DBCSLEN DW 0 ;AN000;dbcs table length
166 SCB_DBCSOFF DW 0 ;AN000;dbcs table offset
167 SCB_DBCSSEG DW 0 ;AN000;dbcs table segment
168 SCB_FONTOFF DW 0 ;AN068;SEH offset of font descriptor block
169 SCB_FONTSEG DW 0 ;AN068;SEH segment of font descriptor block
171 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
175 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
177 CHD_PCB DW 0 ;AN000;child PCB element number
178 CHD_ROW DW 0 ;AN000;row override
179 CHD_COL DW 0 ;AN000;column override
180 CHD_INX DW 0 ;AN000;color index pointer override
181 DW 0 ;AN000;function key attribute
182 DB 0,0 ;AN000;keystroke associated with child
183 DW 0 ;AN000;option word
185 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
187 ; Input Field Control Block (ICB) Structure
189 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
190 ICB_PB STRUC ;AN000;begin input field control block
191 ICB_OPT1 DW 0 ;AN000;option word one
192 ICB_OPT2 DW 0 ;AN000;option word two
193 ICB_OPT3 DW 0 ;AN000;option word three
194 ICB_OPT4 DW 0 ;AN000;option word four
195 ICB_ROW DW 0 ;AN000;upper left corner field row
196 ICB_COL DW 0 ;AN000;upper left corner field column
197 ICB_WIDTH DW 0 ;AN000;number of chars before wrapping
198 ICB_CCBID DW 0 ;AN000;color index number assigned
199 ICB_STATUS DW 0 ;AN000;default change/minus status
200 ICB_CURCHAR DW 0 ;AN000;cursor character pos in field
201 ICB_HRSTART DW 0 ;AN000;NEW ADD...Hor scroll support
202 ICB_SOUND DW 0 ;AN000;frequency of error beep
203 ICB_KEYRET DW 0 ;AN000;ASCII code of the key returned
204 ICB_ENDBYTE DW 0 ;AN000;length of data entered into fld
205 ICB_FIELDLEN DW 0 ;AN000;length of input field
206 ICB_FIELDOFF DW 0 ;AN000;offset of input field
207 ICB_FIELDSEG DW 0 ;AN000;segment of input field
208 ICB_ATTROFF DW 0 ;AN000;offset of color attribute buffer
209 ICB_ATTRSEG DW 0 ;AN000;segment of color attr buffer
210 ICB_DEFLEN DW 0 ;AN000;length of field's default value
211 ICB_DEFOFF DW 0 ;AN000;offset field's default value
212 ICB_DEFSEG DW 0 ;AN000;segment field's default value
213 ICB_RETLEN DW 0 ;AN000;length of return string
214 ICB_RETOFF DW 0 ;AN000;offset of return string
215 ICB_RETSEG DW 0 ;AN000;segment of return string
216 ICB_ALLLEN DW 0 ;AN000;length of allow chars
217 ICB_ALLOFF DW 0 ;AN000;offset of allow chars
218 ICB_ALLSEG DW 0 ;AN000;segment of allow chars
219 ICB_SKIPLEN DW 0 ;AN000;length of skip chars
220 ICB_SKIPOFF DW 0 ;AN000;offset of skip chars
221 ICB_SKIPSEG DW 0 ;AN000;segment of skip chars
222 ICB_ALL1LEN DW 0 ;AN000;length of allow once chars
223 ICB_ALL1OFF DW 0 ;AN000;offset of allow once chars
224 ICB_ALL1SEG DW 0 ;AN000;segment of allow once chars
225 ICB_DECPOS DW 0 ;AN000;precision of decimal point
226 ICB_RANUML1 DW 0 ;AN000;low numeric range (low intrgr)
227 ICB_RANUMH1 DW 0 ;AN000;low numeric range (high intrgr)
228 ICB_RANUML2 DW 0 ;AN000;high numeric range (low intrgr)
229 ICB_RANUMH2 DW 0 ;AN000;high numeric range (high intrgr)
230 ICB_MANDPROW DW 0 ;AN000;beginning row of minus and plus
231 ICB_MANDPCOL DW 0 ;AN000;beginning col of minus & plus
232 ICB_MINUSLEN DW 0 ;AN000;length of minus sign string
233 ICB_MINUSOFF DW 0 ;AN000;offset of minus sign string
234 ICB_MINUSSEG DW 0 ;AN000;segment of minus sign string
235 ICB_PLUSLEN DW 0 ;AN000;length of plus sign string
236 ICB_PLUSOFF DW 0 ;AN000;offset of plus sign string
237 ICB_PLUSSEG DW 0 ;AN000;segment of plus sign string
239 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;