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