annotate defs/vtiodefs_cc3 @ 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 e396d4f24b27
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
1 IFNE VTIODEFS-1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
2 VTIODEFS SET 1
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
3
1e312b144f4d Major changes:
boisy
parents:
diff changeset
4 ********************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
5 * VTIODefs - Video Terminal I/O Definitions for CoCo 3
1e312b144f4d Major changes:
boisy
parents:
diff changeset
6 *
1e312b144f4d Major changes:
boisy
parents:
diff changeset
7 * $Id$
1e312b144f4d Major changes:
boisy
parents:
diff changeset
8 *
1e312b144f4d Major changes:
boisy
parents:
diff changeset
9 * Edt/Rev YYYY/MM/DD Modified by
1e312b144f4d Major changes:
boisy
parents:
diff changeset
10 * Comment
1e312b144f4d Major changes:
boisy
parents:
diff changeset
11 * ------------------------------------------------------------------
1e312b144f4d Major changes:
boisy
parents:
diff changeset
12 * 2004/07/18 Boisy G. Pitre
1e312b144f4d Major changes:
boisy
parents:
diff changeset
13 * Started from systype
1e312b144f4d Major changes:
boisy
parents:
diff changeset
14
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
15 NAM VTIODefs
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
16 TTL Video Terminal I/O Definitions for CoCo 3
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
17
1e312b144f4d Major changes:
boisy
parents:
diff changeset
18 ****************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
19 * Window Devices
1e312b144f4d Major changes:
boisy
parents:
diff changeset
20 *
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
21 ORG $FF9F
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
22 A.W RMB 1 $FF9F Generic Window Descriptor
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
23 A.TermW RMB 1 $FFA0 Windowing Term
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
24 A.W1 RMB 1 $FFA1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
25 A.W2 RMB 1 $FFA2
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
26 A.W3 RMB 1 $FFA3
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
27 A.W4 RMB 1 $FFA4
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
28 A.W5 RMB 1 $FFA5
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
29 A.W6 RMB 1 $FFA6
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
30 A.W7 RMB 1 $FFA7
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
31 A.W8 RMB 1 $FFA8
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
32 A.W9 RMB 1 $FFA9
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
33 A.W10 RMB 1 $FFAA
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
34 A.W11 RMB 1 $FFAB
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
35 A.W12 RMB 1 $FFAC
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
36 A.W13 RMB 1 $FFAD
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
37 A.W14 RMB 1 $FFAE
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
38 A.W15 RMB 1 $FFAF
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
39
1e312b144f4d Major changes:
boisy
parents:
diff changeset
40 **********************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
41 * Pointer Device Packet Definition
1e312b144f4d Major changes:
boisy
parents:
diff changeset
42 *
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
43 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
44 Pt.Valid RMB 1 Is returned info valid (0=no/1=yes)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
45 Pt.Actv RMB 1 Active Side 0=off/1=Right/2=left
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
46 Pt.ToTm RMB 1 Time out Initial value
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
47 RMB 2 reserved
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
48 Pt.TTTo RMB 1 Time Till Timeout
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
49 Pt.TSSt RMB 2 Time Since Start Counter
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
50 Pt.CBSA RMB 1 Current Button State Button A
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
51 Pt.CBSB RMB 1 Current Button State Button B
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
52 Pt.CCtA RMB 1 Click Count Button A
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
53 Pt.CCtB RMB 1 Click Count Button B
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
54 Pt.TTSA RMB 1 Time This State Counter Button A
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
55 Pt.TTSB RMB 1 Time This State Counter Button B
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
56 Pt.TLSA RMB 1 Time Last State Counter Button A
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
57 Pt.TLSB RMB 1 Time Last State Counter Button B
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
58 RMB 2 Reserved
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
59 Pt.BDX RMB 2 Button down X value EXPERIMENTAL
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
60 Pt.BDY RMB 2 Button down Y value
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
61 Pt.Stat RMB 1 Window Pointer type location
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
62 Pt.Res RMB 1 Resolution (0..640 by: 0=ten/1=one)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
63 Pt.AcX RMB 2 Actual X Value
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
64 Pt.AcY RMB 2 Actual Y Value
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
65 Pt.WRX RMB 2 Window Relative X
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
66 Pt.WRY RMB 2 Window Relative Y
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
67 Pt.Siz EQU . Packet Size 32 bytes
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
68
1e312b144f4d Major changes:
boisy
parents:
diff changeset
69 **************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
70 * window regions for mouse
1e312b144f4d Major changes:
boisy
parents:
diff changeset
71 *
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
72 WR.Cntnt EQU 0 content region
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
73 WR.Cntrl EQU 1 control region
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
74 WR.OfWin EQU 2 off window
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
75
1e312b144f4d Major changes:
boisy
parents:
diff changeset
76 *************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
77 * Standard system get/put buffer defs
1e312b144f4d Major changes:
boisy
parents:
diff changeset
78 *
1e312b144f4d Major changes:
boisy
parents:
diff changeset
79 *
1e312b144f4d Major changes:
boisy
parents:
diff changeset
80 * system group numbers
1e312b144f4d Major changes:
boisy
parents:
diff changeset
81 *
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
82 ORG 200
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
83 Grp.Fnt RMB 1 font group
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
84 Grp.Clip RMB 1 clipboard group
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
85 Grp.Ptr RMB 1 pointer group
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
86 Grp.Pat2 RMB 1 pattern group 2 color
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
87 Grp.Pat4 RMB 1 pattern group 4 color
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
88 Grp.Pat6 RMB 1 pattern group 16 color
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
89 *
1e312b144f4d Major changes:
boisy
parents:
diff changeset
90 * font buffer numbers
1e312b144f4d Major changes:
boisy
parents:
diff changeset
91 *
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
92 ORG 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
93 Fnt.S8x8 RMB 1 standard 8x8 font
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
94 Fnt.S6x8 RMB 1 standard 6x8 font
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
95 Fnt.G8x8 RMB 1 standard graphics 8x8 font
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
96 *
1e312b144f4d Major changes:
boisy
parents:
diff changeset
97 * pattern buffer numbers
1e312b144f4d Major changes:
boisy
parents:
diff changeset
98 *
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
99 ORG 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
100 Pat.Dot RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
101 Pat.Vrt RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
102 Pat.Hrz RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
103 Pat.XHtc RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
104 Pat.LSnt RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
105 Pat.RSnt RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
106 Pat.SDot RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
107 Pat.BDot RMB 1
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
108 *
1e312b144f4d Major changes:
boisy
parents:
diff changeset
109 * pointer buffer numbers
1e312b144f4d Major changes:
boisy
parents:
diff changeset
110 *
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
111 ORG 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
112 Ptr.Arr RMB 1 Arrow pointer
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
113 Ptr.Pen RMB 1 Pencil pointer
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
114 Ptr.LCH RMB 1 Large cross hair pointer
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
115 Ptr.Slp RMB 1 Wait timer pointer
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
116 Ptr.Ill RMB 1 Illegal action pointer
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
117 Ptr.Txt RMB 1 Text pointer
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
118 Ptr.SCH RMB 1 Small cross hair pointer
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
119
1e312b144f4d Major changes:
boisy
parents:
diff changeset
120 **********************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
121 * KeyDrv Entry Points
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
122 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
123 K$Init RMB 3 joystick initialization
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
124 K$Term RMB 3 joystick termination
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
125 K$FnKey RMB 3 get function key states
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
126 K$RdKey RMB 3 get key states
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
127
1e312b144f4d Major changes:
boisy
parents:
diff changeset
128 **********************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
129 * JoyDrv Entry Points
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
130 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
131 J$Init RMB 3 joystick initialization
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
132 J$Term RMB 3 joystick termination
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
133 J$MsBtn RMB 3 get mouse button states
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
134 J$MsXY RMB 3 get mouse X/Y coordinates
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
135 J$JyBtn RMB 3 get joystick button states
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
136 J$JyXY RMB 3 get joystick X/Y coordinates
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
137
1e312b144f4d Major changes:
boisy
parents:
diff changeset
138 **********************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
139 * SndDrv Entry Points
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
140 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
141 S$Init RMB 3 joystick initialization
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
142 S$GetStt RMB 3 joystick termination
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
143 S$SetStt RMB 3 joystick termination
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
144 S$Term RMB 3 get joystick X/Y coordinates
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
145
1e312b144f4d Major changes:
boisy
parents:
diff changeset
146 ********************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
147 * Window/Menu Bar Data Structure
1e312b144f4d Major changes:
boisy
parents:
diff changeset
148 *
1e312b144f4d Major changes:
boisy
parents:
diff changeset
149 * To be used in SS.WnSet SETSTAT to set up a Framed Window
1e312b144f4d Major changes:
boisy
parents:
diff changeset
150 * for use in the high level windowing package.
1e312b144f4d Major changes:
boisy
parents:
diff changeset
151 *
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
152 NUMMENS EQU 10 maximum number of menus on menu bar
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
153 NUMITMS EQU 20 maximum number of items in a menu
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
154 MXTTLEN EQU 15 max chars for menu and item names
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
155 WINSYNC EQU $C0C0 synch bytes for window validation
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
156 *
1e312b144f4d Major changes:
boisy
parents:
diff changeset
157 * Menu Item Descriptor : (MN.ITEMS)
1e312b144f4d Major changes:
boisy
parents:
diff changeset
158 * one required for each item within the menu
1e312b144f4d Major changes:
boisy
parents:
diff changeset
159 *
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
160 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
161 MI.TTL RMB MXTTLEN item name
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
162 MI.ENBL RMB 1 enable flag
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
163 MI.RES RMB 5 reserved bytes
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
164 MI.SIZ EQU . size of menu item descriptor
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
165 *
1e312b144f4d Major changes:
boisy
parents:
diff changeset
166 * Menu Descriptor :
1e312b144f4d Major changes:
boisy
parents:
diff changeset
167 * one for each menu on the manu bar
1e312b144f4d Major changes:
boisy
parents:
diff changeset
168 * each is pointed to by MB.MPTR below
1e312b144f4d Major changes:
boisy
parents:
diff changeset
169 *
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
170 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
171 MN.TTL RMB MXTTLEN menu title
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
172 MN.ID RMB 1 menu id number (1-255)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
173 MN.XSIZ RMB 1 horiz. size of desired pull down
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
174 MN.NITS RMB 1 number of items in menu
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
175 MN.ENBL RMB 1 enable flag
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
176 MN.RES RMB 2 reserved bytes
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
177 MN.ITEMS RMB 2 pointer to array of menu items
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
178 MN.SIZ EQU . size of menu descriptor
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
179 *
1e312b144f4d Major changes:
boisy
parents:
diff changeset
180 * Window Descriptor:
1e312b144f4d Major changes:
boisy
parents:
diff changeset
181 * one required for each application in a framed window
1e312b144f4d Major changes:
boisy
parents:
diff changeset
182 *
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
183 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
184 WN.TTL RMB 20 title of window for title bar
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
185 WN.NMNS RMB 1 number of menus in menu bar
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
186 WN.XMIN RMB 1 minimal horiz. size for application to run
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
187 WN.YMIN RMB 1 minimal vert. size for application to run
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
188 WN.SYNC RMB 2 synch bytes ($C0C0)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
189 WN.RES RMB 7 reserved bytes
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
190 WN.BAR RMB 2 pointer to arry of menu descriptors
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
191 WN.SIZ EQU . size of window/menu bar descriptor
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
192
1e312b144f4d Major changes:
boisy
parents:
diff changeset
193 *************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
194 * Window Type Definitions
1e312b144f4d Major changes:
boisy
parents:
diff changeset
195 *
1e312b144f4d Major changes:
boisy
parents:
diff changeset
196 * To be used in setting up the border of the window in
1e312b144f4d Major changes:
boisy
parents:
diff changeset
197 * the SS.WnSel SETSTAT
1e312b144f4d Major changes:
boisy
parents:
diff changeset
198 *
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
199 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
200 WT.NBox RMB 1 No Box
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
201 WT.FWin RMB 1 Framed Window
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
202 WT.FSWin RMB 1 Framed Window w/Scroll Bars
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
203 WT.SBox RMB 1 Shadowed Box
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
204 WT.DBox RMB 1 Double Box
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
205 WT.PBox RMB 1 Plain Box
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
206
1e312b144f4d Major changes:
boisy
parents:
diff changeset
207 *************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
208 * Pre-Defined Menu IDs for the system
1e312b144f4d Major changes:
boisy
parents:
diff changeset
209 *
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
210 ORG 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
211 MId.Mov RMB 1 move box
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
212 MId.Cls RMB 1 close box
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
213 MId.Grw RMB 1 grow box
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
214 MId.SUp RMB 1 scroll up
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
215 MId.SDn RMB 1 scroll down
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
216 MId.SRt RMB 1 scroll right
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
217 MId.SLt RMB 1 scroll left
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
218 MId.Chr RMB 1 character was depressed
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
219 ORG 20
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
220 MId.Tdy RMB 1 Tandy menu
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
221 MId.Fil RMB 1 Files Menu
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
222 MId.Edt RMB 1 Edit Menu
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
223 MId.Sty RMB 1 Styles menu
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
224 MId.Fnt RMB 1 Font menu
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
225
1e312b144f4d Major changes:
boisy
parents:
diff changeset
226
1e312b144f4d Major changes:
boisy
parents:
diff changeset
227 ******************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
228 ******************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
229 ** **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
230 ** NitrOS-9 Windowing system Global data definitions **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
231 ** **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
232 ******************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
233 ******************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
234 ** **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
235 ** System memory block 0 layout: **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
236 ** **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
237 ** $0000-$0001 : FHL/Isted WD 1002-05 - interface base address **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
238 ** $0002 : FHL/Isted WD 1002-05 - boot device physical drive # **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
239 ** $0008 : Bruce Isted Serial mouse - button counter & rx count **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
240 ** $0009-$000B : Bruce Isted Serial mouse - RX buffer **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
241 ** $000C-$000D : Bruce Isted Serial mouse - Current X position **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
242 ** $000E-$000F : Bruce Isted Serial mouse - Current Y position **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
243 ** $0010-$001F : unused (User definable) **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
244 ** $0020-$00FF : system direct page & some IRQ vectors **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
245 ** $0100-$011F : Task usage table **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
246 ** $0120-$01FF : Virtual DAT tasks (pointed to by <D.TskIPt) **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
247 ** $0200-$02FF : memory block usage map ($80=Not RAM,$01=in use,$02=module) **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
248 ** $0300-$03FF : system's system call dispatch table **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
249 ** $0400-$04FF : user's sysem call dispatch table **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
250 ** $0500-$05FF : process descriptor pointer table **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
251 ** $0600-$07FF : System task (Task 0, ID 1) process descriptor **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
252 ** $0800-$08FF : System's stack space (initial ptr is $0900) **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
253 ** $0900-$09FF : SMAP table ($01=in used, $80=NOT RAM) **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
254 ** $0A00-$0FFF : module directory DAT Images (8 bytes each) **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
255 ** $1000-$10FF : System Global memory (pointed to by D.CCMem) **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
256 ** $1100-$11FF : GRFDRV global memory (DP=$11 in GRFDRV) **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
257 ** $1200-$1247 : shared buffer between Grf/WindInt & GRFDRV (GP buffers) **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
258 ** $1248-$127F : ???? **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
259 ** $1280-$1A7F : the window tables (32 of $40 bytes each) **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
260 ** $1A80-$1C7F : the screen tables (16 of $20 bytes each) **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
261 ** $1C80-$2000 : the CC3 global mem stack (for windowing) **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
262 ** **
1e312b144f4d Major changes:
boisy
parents:
diff changeset
263 ******************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
264 ******************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
265
1e312b144f4d Major changes:
boisy
parents:
diff changeset
266 * User settable values for VTIO/TC9IO/GrfInt/WindInt & GrfDrv
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
267 MaxLines EQU 25 Max. Y coord text value
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
268 Meg SET false "true" if 1 or 2 meg machine
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
269
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
270 COMP EQU 0 composite monitor
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
271 RGB EQU 1 RGB Analog monitor
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
272 MONO EQU 2 monochrome monitor
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
273
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
274 Monitor SET RGB
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
275
1e312b144f4d Major changes:
boisy
parents:
diff changeset
276 * Global definitions
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
277 KeyMse EQU %00000001 keyboard mouse enabled
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
278 NumLck EQU %00000010 Numlock enabled (TC-9 use only)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
279 CapsLck EQU %00000100 Capslock enabled
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
280 MaxRows EQU 640 maximum X co-ordinate allowed on mouse
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
281 IFEQ MaxLines-25
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
282 MaxLine EQU 198 maximum Y co-ordinate allowed on mouse
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
283 ELSE
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
284 MaxLine EQU 191 maximum Y co-ordinate allowed on mouse
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
285 ENDC
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
286
1e312b144f4d Major changes:
boisy
parents:
diff changeset
287 *****************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
288 * Static memory area for each window (VTIO/TC9IO)
1e312b144f4d Major changes:
boisy
parents:
diff changeset
289 * Should set up a write buffer (using parm area?) between SCF, VTIO & Grfdrv
1e312b144f4d Major changes:
boisy
parents:
diff changeset
290 * so we can 'burst mode' text output (copy up to 48 chars to Grfdrv's parm
1e312b144f4d Major changes:
boisy
parents:
diff changeset
291 * area, and have grfdrv loop through & write all 48 chars to screen in 1 loop
1e312b144f4d Major changes:
boisy
parents:
diff changeset
292 * May have to have smaller limit for text to gfx screens, as it will run much
1e312b144f4d Major changes:
boisy
parents:
diff changeset
293 * slower, unless GrfDrv is made Partially/Fully Re-Entrant
1e312b144f4d Major changes:
boisy
parents:
diff changeset
294 *
1e312b144f4d Major changes:
boisy
parents:
diff changeset
295 * STRONG CAUTION: scfdefs MUST be included first before this file if
1e312b144f4d Major changes:
boisy
parents:
diff changeset
296 * V.SCF is to be resolved properly in pass 1!!
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
297 ORG V.SCF
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
298 V.WinType RMB 1 window type (0=Windint/GrfInt,2=VDGInt) $1D
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
299 V.InfVld RMB 1 Rest of info here valid? (0=NO, >0 = YES) $1E
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
300 V.DevPar RMB 2 high bit=window device $1F
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
301 V.ULCase RMB 1 special key flags (Capslck & keyboard mouse) $21
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
302 V.KySnsFlg RMB 1 flag for key sense setstat $22
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
303 V.ScrChg RMB 1 screen change flag $23
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
304 V.SSigID RMB 1 data ready process ID $24
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
305 V.SSigSg RMB 1 data ready signal code $25
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
306 V.MSigID RMB 1 mouse signal process ID $26
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
307 V.MSigSg RMB 1 mouse signal signal code $27
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
308 V.MSmpl RMB 1 mouse sample rate $28
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
309 V.MTime RMB 1 mouse timeout value $29
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
310 RMB 1 unused $2A
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
311 V.MAutoF RMB 1 auto follow mouse flag $2B
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
312 V.ParmCnt RMB 1 parameter count $2C
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
313 V.ParmVct RMB 2 parameter vector $2D
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
314 V.PrmStrt RMB 2 pointer to params start $2F
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
315 V.NxtPrm RMB 2 pointer to next param storage $31
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
316 V.EndPtr RMB 1 last character read offset $33
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
317 V.InpPtr RMB 1 next character read offset $34
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
318 V.WinNum RMB 1 window table entry # $35
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
319 V.DWNum RMB 1 dwnum from descriptor $36
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
320 V.CallCde RMB 1 internal comod call code # $37
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
321 CC3Parm RMB 128-. global parameter area
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
322 ReadBuf RMB 256-. read input buffer (keyboard)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
323 CC3DSiz EQU .
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
324
1e312b144f4d Major changes:
boisy
parents:
diff changeset
325 *****************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
326 * GrfInt/WindInt global memory area
1e312b144f4d Major changes:
boisy
parents:
diff changeset
327 * This area sits in system block 0 from $1000 to $10ff
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
328 WGlobal EQU $1000 useful value (points to address starting below)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
329 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
330 G.CurTik RMB 1 Constant - # Clock ticks/cursor updates (2)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
331 G.CntTik RMB 1 Current tick count for cursor updates
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
332 G.GfBusy RMB 1 Grfdrv is busy flag (1=busy)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
333 G.OrgAlt RMB 2 Place to store D.AltIRQ before altering
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
334 *g0003 rmb 2 NEW: UNUSED
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
335 g0005 RMB 2 Temp save in Windint RG
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
336 G.GrfStk RMB 2 grfdrv stack pointer ($07)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
337 G.MonTyp RMB 1 monitor type
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
338 g000A EQU . Old label for compatibility
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
339 G.CrDvFl RMB 1 Are we current device flag (only set when all
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
340 * Parms have been moved to Dev Mem)
1e312b144f4d Major changes:
boisy
parents:
diff changeset
341 * 0=We are not on our device
1e312b144f4d Major changes:
boisy
parents:
diff changeset
342 * 1=We are the current device
1e312b144f4d Major changes:
boisy
parents:
diff changeset
343 * (Used by comod (GRF/WIND/VDGInt) to determine
1e312b144f4d Major changes:
boisy
parents:
diff changeset
344 * whether or not to update GIME regs themselves
1e312b144f4d Major changes:
boisy
parents:
diff changeset
345 * If not current device, they don't.)
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
346 G.WinType RMB 1 current device's V.TYPE
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
347 G.CurDvM RMB 2 current device memory pointer for co-module use
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
348 G.WIBusy RMB 1 WindInt is busy flag (1=busy)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
349 G.AlPckt RMB 6 F$Alarm time packet
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
350 G.AlPID RMB 1 F$Alarm proc ID ($15)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
351 G.AlSig RMB 1 F$Alarm signal code ($16)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
352 G.BelVec RMB 2 BELL routine vector
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
353 G.DefPal RMB 2 pointer to default palette data in global mem
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
354 G.TnCnt RMB 1 SS.Tone duration counter
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
355 G.BelTnF RMB 1 BELL tone flag
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
356 g001D RMB 3
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
357 G.CurDev RMB 2 current device's static memory pointer ($20)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
358 G.PrWMPt RMB 2 previous window static mem pointer $(22)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
359 G.BCFFlg RMB 1 bit coded co-module found flags ($24)
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
360 * 00000010 : VDGInt found
1e312b144f4d Major changes:
boisy
parents:
diff changeset
361 * 10000000 : GrfDrv found
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
362 g0025 RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
363 G.KTblLC RMB 1 Key table entry# last checked (1-3)
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
364 * IFEQ TC9-true
1e312b144f4d Major changes:
boisy
parents:
diff changeset
365 *CurLght rmb 1 current keyboard light settings
1e312b144f4d Major changes:
boisy
parents:
diff changeset
366 * ELSE
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
367 G.LastCh RMB 1 last keyboard character (ASCII value)
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
368 * ENDC
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
369 G.LKeyCd RMB 1 last keyboard code
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
370 G.KyRept RMB 1 key repeat counter
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
371 * A secondary 3 key table (same format as g002D below)
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
372 G.2Key1 RMB 1 $2A
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
373 G.2Key2 RMB 1 $2B
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
374 G.2Key3 RMB 1
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
375 * Up to 3 keys can be registerd at once, and they are stored here. If more
1e312b144f4d Major changes:
boisy
parents:
diff changeset
376 * than 3 are hit, the last key is overwritten with the very last key down that
1e312b144f4d Major changes:
boisy
parents:
diff changeset
377 * was checked. Format for all three is the same as the PIA column/row byte @
1e312b144f4d Major changes:
boisy
parents:
diff changeset
378 * KeyFlag below.
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
379 G.Key1 RMB 1 Key 1 being held down (Row/Column #)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
380 G.Key2 RMB 1 Key 2 being held down (Row/Column #)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
381 G.Key3 RMB 1 Key 3 being held down (Row/Column #)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
382 G.ShftDn RMB 1 SHIFT key down flag (COM'd) ($30)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
383 G.CntlDn RMB 1 CTRL key down flag (0=NO)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
384 G.KeyFlg RMB 1 Keyboard PIA bit #'s for columns/rows
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
385 * %00000111-Column # (Output, 0-7)
1e312b144f4d Major changes:
boisy
parents:
diff changeset
386 * %00111000-Row # (Input, 0-6)
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
387 G.AltDwn RMB 1 ALT key down flag (0=NO)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
388 G.KySns RMB 1 key sense byte
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
389 G.KySame RMB 1 same key flag
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
390 G.CapLok RMB 1 CapsLock/SysRq key down flag
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
391 RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
392 g0038 RMB 1 grfdrv initialized flag
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
393 RMB 2
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
394 G.MSmpRt RMB 1 Current mouse sample # (# ticks till next read)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
395 G.Mouse RMB Pt.Siz mouse packet ($3C)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
396 g005C RMB 2 Temp for relative mouse X coord calculation
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
397 g005E RMB 2 Temp for relative mouse Y coord calculation
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
398 G.MSmpRV RMB 1 Mouse sample reset value (# ticks till next read)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
399 G.KyDly RMB 1 initial key repeat delay constant ($61)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
400 G.KySpd RMB 1 secondary key repeat delay constant
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
401 * IFEQ TC9-true
1e312b144f4d Major changes:
boisy
parents:
diff changeset
402 *KeyParm rmb 1 keyboard command parameter byte
1e312b144f4d Major changes:
boisy
parents:
diff changeset
403 * ELSE
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
404 G.KyMse RMB 1 keyboard mouse flag ($63)
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
405 * ENDC
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
406 G.Clear RMB 1 "one-shot" CapsLock/SysRq key flag ($64)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
407 G.KyButt RMB 1 keyboard F1 and F2 "fire" button info ($65)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
408 G.AutoMs RMB 1 Auto-follow mouse flag for current device (0=NO)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
409 G.MseMv RMB 1 mouse moved flag ($67)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
410 G.CoTble RMB 6 co-module table ($68)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
411 G.GrfEnt RMB 2 GRFDRV Entry address ($6E)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
412 g0070 RMB 1 # bytes to move in 1 block (1-72)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
413 G.WUseTb RMB 4 windows in use bit table (0=unused, 32 windows) ($71)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
414 G.GfxTbl RMB 2 Pointer to GFX tables ($75)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
415 G.WrkWTb RMB $40 Work window table. WindInt only ($77)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
416 g00B7 RMB 2 Current Device static mem ptr for WindInt
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
417 g00B9 RMB 2 Current window table ptr for WindInt
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
418 g00BB RMB 2 Pointer to work window table (g0077+$10)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
419 g00BD RMB 1 Current screen type for work window table
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
420 g00BE RMB 1 Topmost overlay window # when check for title bars
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
421 g00BF RMB 1 Flag for keypress while processing menu select
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
422 g00C0 RMB 2 Ptr to current path descriptor
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
423 G.WindBk RMB 2 shift-clear routine vector
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
424 G.MsInit RMB 2 set mouse routine vector
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
425 G.MsSig RMB 1 mouse signal flag
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
426 G.DefPls RMB 16 Default palettes (2 repeats of 8 is default) ($C7)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
427 g00D7 RMB 9
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
428 G.KeyEnt RMB 2 entry to keydrv subroutine module ($E0)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
429 G.KeyMem RMB 8 static memory for keydrv subroutine module
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
430 G.JoyEnt RMB 2 entry to joydrv subroutine module ($EA)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
431 G.JoyMem RMB 8 static memory for joydrv subroutine module
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
432 G.SndEnt RMB 2 entry to snddrv subroutine module ($F4)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
433 G.SndMem RMB 8 static memory for snddrv subroutine module
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
434
1e312b144f4d Major changes:
boisy
parents:
diff changeset
435 *****************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
436 * GrfDrv global memory data definitions
1e312b144f4d Major changes:
boisy
parents:
diff changeset
437 * This area sits in system block 0 from $1100 to $119E
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
438 GrfMem EQU $1100 useful label used to point to mem starting below
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
439 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
440 gr0000 RMB 1 Pixel mask for 1st byte of GP line
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
441 gr0001 RMB 1 Pixel mask for last byte of a GP line
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
442 gr0002 RMB 2 Ptr to table of bit masks for colors
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
443 gr0004 RMB 1 # of bytes wide GP buffer is (including partials)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
444 gr0005 RMB 1 # pixels per byte in GP Buffer
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
445 gr0006 RMB 1 # of pixels used in 1st byte of GP buffer line
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
446 gr0007 RMB 1 # of pixels used in last byte of GP buffer line
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
447 gr0008 RMB 1 Bit mask that is common to both screen & GP buffer
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
448 gr0009 RMB 1 # bytes for width of overlay window
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
449 gr000A RMB 1 # bytes to offset to get to next line after
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
450 * overlay width has been copied
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
451 gr000B RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
452 gr000C RMB 2 Cursor address for proportional spacing?
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
453 gr000E RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
454 gr000F RMB 1 Left-based bit mask for proportional spacing?
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
455 gr0010 RMB 2 Vector for text to gfx screen (either prop. or normal)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
456 gr0012 RMB 6
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
457 gr0018 RMB 2 Working Center X coord for Circle/Ellipse
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
458 gr001A RMB 2 Working Center Y coord for Circle/Ellipse
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
459 gr001C RMB 2 Some variable for Circle/Ellipse (initially 0)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
460 gr001E RMB 2 Working Y radius value for Circle/Ellipse
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
461 gr0020 RMB 2 Arc 'clip line' X01
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
462 gr0022 RMB 2 Arc 'clip line' Y01
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
463 gr0024 RMB 2 Arc 'clip line' X02
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
464 gr0026 RMB 2 Arc 'clip line' Y02
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
465 gr0028 RMB 1 full-byte background color to FFILL on mask
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
466 gr0029 RMB 1 pixels per byte: set up by FFILL
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
467 gr002A RMB 1 Flag for FFill: 1=no error, 0=Stack overflow error
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
468 gr002B RMB 1 current Y-direction to travel in FFILL
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
469 gr002C RMB 2
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
470 gr002E RMB 2 current window table entry
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
471 gr0030 RMB 2 current screen table ptr
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
472 gr0032 RMB 1 Last block # we used for buffers
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
473 gr0033 RMB 2 Last offset we used for buffers
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
474 gr0035 RMB 1 group
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
475 gr0036 RMB 2 offset
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
476 gr0038 RMB 1 group returned (new)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
477 gr0039 RMB 1 0=Text cursor inverted off, >0 is inverted on
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
478 gr003A RMB 1 0=Graphics cursor XOR'd off,>0 is XOR'd on scrn
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
479 gr003B RMB 2 end of vars ptr?
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
480 gr003D RMB 2 Last X coordinate Graphics cursor was ON at
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
481 gr003F RMB 2 Last Y coordinate Graphics cursor was ON at
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
482 gr0041 RMB 2 Screen address for start of current gfx cursor
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
483 gr0043 RMB 1 Pixel mask for start of gfx cursor
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
484 gr0044 RMB 1 Block # Graphics cursor is in
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
485 gr0045 RMB 2 Offset in block Graphics cursor is in
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
486 gr0047 RMB 2 'Working' X coordinate
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
487 gr0049 RMB 2 'Working' Y coordinate
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
488 gr004B RMB 2 current X
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
489 gr004D RMB 2 current Y
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
490 gr004F RMB 2 X Size (in bytes)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
491 gr0051 RMB 2 Y Size (in bytes)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
492 gr0053 RMB 2 Horizontal radius (circle/ellipse/arc)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
493 gr0055 RMB 2 Vertical radius (circle/ellipse/arc)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
494 gr0057 RMB 1 group
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
495 gr0058 RMB 1 buffer #
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
496 gr0059 RMB 1 save switch for overlay
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
497 gr005A RMB 1 PRN
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
498 gr005B RMB 2 X coordinate of Graphics cursor
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
499 gr005D RMB 2 Y coordinate of Graphics cursor
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
500 gr005F RMB 1 ATD: new video mode for 24/25/28-line windows
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
501 Gr.STYMk RMB 1 STY marker
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
502 gr0061 RMB 1 foreground RGB data
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
503 gr0062 RMB 1 background RGB data
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
504 gr0063 RMB 1 bytes/row (on current screen...not window)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
505 gr0064 RMB 2 PSet vector
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
506 gr0066 RMB 2 pset offset
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
507 gr0068 RMB 2 LSet vector
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
508 gr006A RMB 2 max X co-ordinate
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
509 gr006C RMB 2 max Y co-ordinate
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
510 gr006E RMB 2 X pixel count
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
511 gr0070 RMB 2 Y pixel count
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
512 gr0072 RMB 2 Screen address of pixel we are doing
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
513 gr0074 RMB 1 Pixel mask for pixel we are doing
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
514 gr0075 RMB 2 ??? Pixel mask for last byte of GP buffer?
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
515 gr0077 RMB 2 Vector for right direction FFill
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
516 gr0079 RMB 1 bit mask for 1st pixel in byte for right dir. FFill
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
517 gr007A RMB 2 Vector for left direction FFill
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
518 gr007C RMB 1 bit mask for last pixel in byte for left dir. FFill
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
519 gr007D RMB 1 buffer block #
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
520 gr007E RMB 2 buffer offset #
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
521 gr0080 RMB 2 Buffer length (in bytes)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
522 gr0082 RMB 3 3 byte extended screen address
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
523 gr0085 RMB 2 temp
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
524 gr0087 RMB 16 grfdrv (sysmap 1) DAT image
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
525 gr0097 RMB 1 temp
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
526 gr0098 RMB 1 temp
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
527 * In ARC, 97-98 is the width of the clip line in pixels (after scaling)
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
528 gr0099 RMB 2 temp
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
529 * In ARC, 99-9A is the height of the clip line in pixels (after scaling)
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
530 gr009B RMB 1 counter temp
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
531 gr009C RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
532 gr009D RMB 2 offset to buffer in block
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
533 gr009F RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
534 gr00A0 RMB 1 # lines left to do of GP buffer onto screen
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
535 gr00A1 RMB 2 vector routine for (changes lots)
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
536 * In ARC A1-A2 is the vector to the proper clipping routine
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
537 gr00A3 RMB 2 Vector for shifting GP buffers
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
538 gr00A5 RMB 2 Vector for shifting GP buffers (can dupe A1)
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
539 gr00A7 RMB 2
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
540 gr00A9 RMB 2 NEW: Window tbl ptr for last window GRFDRV used
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
541 grBigFnt RMB 2 Flag for 224 char font/gfx mode on (0=No) V2.00a
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
542 gr00AD RMB 2 FFill:orig. start X coord|Circ/Ell saved start X
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
543 gr00AF RMB 2 FFill:orig. start Y coord|Circ/Ell saved end X
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
544 gr00B1 RMB 1 Flag in FFill: 1=1st time through, 0=not 1st time
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
545 gr00B2 RMB 1 Filled (circle,ellipse) flag 0=Not filled
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
546 *gr00B3 rmb 256-. ??? UNUSED
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
547 gr00B3 RMB 1 temp veriable grfdrv
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
548 gr00B4 RMB 1 temp veriable grfdrv
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
549 gr00B5 RMB 1 regW for grfdrv
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
550 gr00B6 RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
551 gr00B7 RMB 2
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
552 gr00B9 RMB 2 previously used in grfdrv at $B2 but not for Filled Flag
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
553 gr00BB RMB 2 previously used in grfdrv at $B4
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
554 gr00BD RMB 2 previously used in grfdrv at $B6
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
555 gr00BF RMB 256-.
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
556 * GPLoad buffer - $1200 in system block 0
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
557 GPBuf RMB 72 common move buffer for gpload/get/put
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
558 gb0000 EQU 72 Size of get/put buffer ($48)
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
559
1e312b144f4d Major changes:
boisy
parents:
diff changeset
560 *****************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
561 * Window table entry structure
1e312b144f4d Major changes:
boisy
parents:
diff changeset
562 * These tables sit in system block 0 and there is 1 for every window init'd
1e312b144f4d Major changes:
boisy
parents:
diff changeset
563 * including any overlay windows.
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
564 MaxWind EQU 32 maximum allowable window tables
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
565 WinBase EQU $1290 base address to start of window tables
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
566 ORG -$10
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
567 Wt.STbl RMB 2 Screen table pointer ($FFFF=Not used) -$10
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
568 Wt.BLnk RMB 1 overlay window parent entry # ($FF=base) -$0E
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
569 Wt.LStrt RMB 2 screen logical start address -$0D
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
570 Wt.CPX RMB 1 current X coord. start -$0B
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
571 Wt.CPY RMB 1 current Y coord. start -$0A
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
572 Wt.SZX RMB 1 current X size (CWArea) -$09
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
573 Wt.SZY RMB 1 current Y size (CWArea) -$08
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
574 Wt.SXFct RMB 1 X scaling factor -$07
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
575 Wt.SYFct RMB 1 Y scaling factor (0=no scaling) -$06
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
576 Wt.Cur RMB 2 cursor physical address on screen -$05
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
577 Wt.FMsk RMB 1 font bit mask (based from left) -$03
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
578 Wt.CurX RMB 2 X coord of cursor -$02
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
579 Wt.CurY RMB 2 Y Coord of cursor $00
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
580 Wt.XBCnt RMB 1 width of window (in bytes) $02
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
581 Wt.CWTmp RMB 1 bytes wide each text chr (1,2,4) $03
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
582 Wt.BRow RMB 2 bytes/text row (8x width in gfx) $04
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
583 Wt.Fore RMB 1 foreground palette # $06
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
584 Wt.Back RMB 1 background palette # $07
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
585 Wt.Attr RMB 1 default attributes (FUTTTBBB) $08
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
586 Wt.BSW RMB 1 character BSW switches $09
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
587 Wt.LSet RMB 1 LSet type $0A
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
588 Wt.FBlk RMB 1 Font memory block # $0B
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
589 Wt.FOff RMB 2 Font offset in block $0C
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
590 Wt.PBlk RMB 1 PSet memory block # $0E
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
591 Wt.POff RMB 2 PSet offset in block $0F
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
592 Wt.OBlk RMB 1 Overlay memory block # $11
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
593 Wt.OOff RMB 2 Overlay offset in block $12
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
594 Wt.LVec RMB 2 LSet vector $14
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
595 Wt.PVec RMB 2 PSet vector $16
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
596 Wt.GBlk RMB 1 GCursor memory block # $18
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
597 Wt.GOff RMB 2 GCursor offset in block $19
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
598 Wt.MaxX RMB 2 Maximum X cord. (0-79,0-639) $1B
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
599 Wt.MaxY RMB 2 Maximum Y cord. (0-24,0-191) $1D
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
600 Wt.BLen RMB 2 bytes left in GPLoad block below $1F
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
601 Wt.NBlk RMB 1 memory block # for next GPLoad $21
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
602 Wt.NOff RMB 2 Offset in block for next GPLoad $22
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
603 Wt.LStDf RMB 2 screen logical start default $24
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
604 * NOTE: The following default settings are what the window was initialized
1e312b144f4d Major changes:
boisy
parents:
diff changeset
605 * with, and thus are the MAXIMUM start/size the window can handle
1e312b144f4d Major changes:
boisy
parents:
diff changeset
606 * until it is restarted (DWEnd & DWSet)
1e312b144f4d Major changes:
boisy
parents:
diff changeset
607 * They also appear to be used in WindInt to determine the coords &
1e312b144f4d Major changes:
boisy
parents:
diff changeset
608 * sizes for control+content regions
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
609 Wt.DfCPX RMB 1 default X cord. start $26
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
610 Wt.DfCPY RMB 1 default Y cord. start $27
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
611 Wt.DfSZX RMB 1 default X size $28
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
612 Wt.DfSZY RMB 1 default Y size $29
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
613 Wt.Res RMB 6 unused $2A-$2F
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
614 Wt.Siz EQU .+$10
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
615
1e312b144f4d Major changes:
boisy
parents:
diff changeset
616 *****************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
617 * Screen table entrys
1e312b144f4d Major changes:
boisy
parents:
diff changeset
618 * These tables sit in system block 0 base=$1A80
1e312b144f4d Major changes:
boisy
parents:
diff changeset
619
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
620 STblMax EQU 16 Maximum number of screen tables
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
621 STblBse EQU $1A80 base address of screen tables
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
622 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
623 St.Sty RMB 1 Screen type $00
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
624 St.SBlk RMB 1 Ram block start # $01
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
625 St.LStrt RMB 2 Screen logical start (for GIME) $02
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
626 St.BRow RMB 1 Bytes per row $04
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
627 St.Brdr RMB 1 Border palette register # $05
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
628 St.Fore RMB 1 Foreground palette register # $06
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
629 St.Back RMB 1 Background palette register # $07
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
630 St.ScSiz RMB 1 screen size: 24..28 lines $08
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
631 St.Res RMB 7 UNUSED??? $09
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
632 * NOTE: SHOULD USE ONE OF THESE UNUSED BYTES TO KEEP THE # OF DEVICE WINDOW
1e312b144f4d Major changes:
boisy
parents:
diff changeset
633 * TABLES THAT ARE USING THIS SCREEN TABLE. DWSET & DWEND WOULD KEEP TRACK OF
1e312b144f4d Major changes:
boisy
parents:
diff changeset
634 * THESE, AND THE WINDINT TITLE BAR ROUTINE WOULD CHECK IT. IF IT IS ONLY 1,
1e312b144f4d Major changes:
boisy
parents:
diff changeset
635 * IT WON'T BOTHER CHANGING THE TITLE BAR WHEN SELECTING WINDOWS
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
636 St.Pals RMB 16 Palette register contents $10
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
637 St.Siz EQU .
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
638
1e312b144f4d Major changes:
boisy
parents:
diff changeset
639 *****************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
640 * Graphics buffer tables
1e312b144f4d Major changes:
boisy
parents:
diff changeset
641 * They contain a 20 byte header (shown below), followed by the raw pixel
1e312b144f4d Major changes:
boisy
parents:
diff changeset
642 * data.
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
643 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
644 Grf.Bck RMB 1 back block link # $00
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
645 Grf.Off RMB 2 back block header offset $01
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
646 Grf.Grp RMB 1 group # $03
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
647 Grf.Buff RMB 1 buffer # $04
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
648 Grf.BSz RMB 2 buffer size (not including header) $05
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
649 Grf.XSz RMB 2 X size (in pixels) $07
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
650 Grf.YSz RMB 2 Y size (in pixels/bytes) $09
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
651 Grf.XBSz RMB 1 X size in bytes $0B
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
652 Grf.LfPx RMB 1 # pixels used in first byte of line $0C
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
653 Grf.RtPx RMB 1 # pixels used in last byte of line $0D
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
654 Grf.STY RMB 1 Screen type buffer intended for $0E
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
655 Grf.NBlk RMB 1 number blocks used $0F
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
656 Grf.Pal RMB 16 Copy of palette registers? $10
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
657 Grf.Siz EQU . $20
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
658
1e312b144f4d Major changes:
boisy
parents:
diff changeset
659 *****************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
660 * GFX tables (1 for each window, 18 ($12) bytes each) pointed to by
1e312b144f4d Major changes:
boisy
parents:
diff changeset
661 * $1075-$0176
1e312b144f4d Major changes:
boisy
parents:
diff changeset
662 * GRFINT only uses gt0001-gt0004, the rest is exclusive to WINDINT
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
663 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
664 Gt.WTyp RMB 1 WindInt window type (Framed, Scroll Bar, etc.) $00
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
665 Gt.GXCur RMB 2 X coord of graphics cursor $01
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
666 Gt.GYCur RMB 2 Y coord of graphics cursor $03
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
667 Gt.DPtr RMB 2 Ptr to WindInt window descriptor $05
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
668 Gt.FClr RMB 1 Foreground color $07
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
669 Gt.BClr RMB 1 Background color $08
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
670 Gt.FMsk RMB 1 Foreground mask $09
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
671 Gt.BMsk RMB 1 Background mask $0A
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
672 Gt.GBlk RMB 1 Block # of graphics cursor $0B
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
673 Gt.GOff RMB 2 Offset into block of graphics cursor $0C
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
674 Gt.Proc RMB 1 Process # of window creator $0E
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
675 Gt.PBlk RMB 1 Process descriptor block # of creator $0F
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
676 Gt.Res RMB 2 ??? RESERVED ??? $10
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
677 GTabSz EQU .
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
678
1e312b144f4d Major changes:
boisy
parents:
diff changeset
679 *****************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
680 * This table is located in the graphics table memory and is offset from
1e312b144f4d Major changes:
boisy
parents:
diff changeset
681 * graphics table pointer stored at $1075-$1076. This is used exclusively by
1e312b144f4d Major changes:
boisy
parents:
diff changeset
682 * WindInt.
1e312b144f4d Major changes:
boisy
parents:
diff changeset
683 * NOTE: USING UNUSED BYTES IN CC3 GLOBAL MEM, SET UP SEPARATE PTRS FOR EACH
1e312b144f4d Major changes:
boisy
parents:
diff changeset
684 * OF THE BELOW SO WE CAN SPEED UP ACCESS BY NOT HAVING TO DO A LOAD/LEAx
1e312b144f4d Major changes:
boisy
parents:
diff changeset
685 * COMBINATION EVERY TIME
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
686 ORG $0240
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
687 RMB WN.SIZ copy of last accessed window descriptor
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
688 RMB MN.SIZ copy of last accessed menu descriptor
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
689 RMB MI.SIZ copy of last accessed item descriptor
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
690 RMB 65 menu handling table (16 entrys of 4 bytes)
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
691
1e312b144f4d Major changes:
boisy
parents:
diff changeset
692 *****************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
693 * WindInt menu handling table entry definition
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
694 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
695 MnuXNum RMB 1 menu #
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
696 MnuXStrt RMB 1 X start text co-ordinate
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
697 MnuXEnd RMB 1 X end text co-ordinate
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
698 RMB 1 unused?
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
699 MnuHSiz EQU .
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
700
1e312b144f4d Major changes:
boisy
parents:
diff changeset
701 *****************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
702 * Character binary switches
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
703 TChr EQU %10000000 transparent characters
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
704 Under EQU %01000000 underline characters
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
705 Bold EQU %00100000 bold characters
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
706 Prop EQU %00010000 proportional spacing of characters
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
707 Scale EQU %00001000 automatic window scaling
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
708 Invers EQU %00000100 inverse characters
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
709 NoCurs EQU %00000010 no cursor display
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
710 Protect EQU %00000001 device window protection
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
711
1e312b144f4d Major changes:
boisy
parents:
diff changeset
712 *****************************************************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
713 * Screen types (high bit set=hardware text, else graphics) in GRFDRV
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
714 Current EQU $ff Current screen
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
715 * equ 1 640x200x2
1e312b144f4d Major changes:
boisy
parents:
diff changeset
716 * equ 2 320x200x4
1e312b144f4d Major changes:
boisy
parents:
diff changeset
717 * equ 3 640x200x4
1e312b144f4d Major changes:
boisy
parents:
diff changeset
718 * equ 4 320x200x16
1e312b144f4d Major changes:
boisy
parents:
diff changeset
719 * equ $85 80 column text
1e312b144f4d Major changes:
boisy
parents:
diff changeset
720 * equ $86 40 column text
1e312b144f4d Major changes:
boisy
parents:
diff changeset
721
1e312b144f4d Major changes:
boisy
parents:
diff changeset
722 *************************************
1e312b144f4d Major changes:
boisy
parents:
diff changeset
723 * Window default palette color codes
1e312b144f4d Major changes:
boisy
parents:
diff changeset
724 *
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
725 ORG 0
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
726 White. RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
727 Blue. RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
728 Black. RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
729 Green. RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
730 Red. RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
731 Yellow. RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
732 Magenta. RMB 1
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
733 Cyan. RMB 1
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
734
2024
e396d4f24b27 Ran each file through pretty print
boisy
parents: 1933
diff changeset
735 ENDC
1933
1e312b144f4d Major changes:
boisy
parents:
diff changeset
736