1593
|
1 IFNE CCIODEFS-1
|
|
2 CCIODEFS set 1
|
|
3
|
|
4 ********************************************************************
|
|
5 * CCIODefs - CCIO Driver Definitions
|
|
6 *
|
|
7 * $Id$
|
|
8 *
|
|
9 * Edt/Rev YYYY/MM/DD Modified by
|
|
10 * Comment
|
|
11 * ------------------------------------------------------------------
|
|
12
|
|
13
|
|
14 nam CCIODefs
|
|
15 ttl CCIO Driver Definitions
|
|
16
|
|
17 pag
|
|
18
|
|
19 org V.SCF
|
|
20 V.ScrnA rmb 2 (2) screen start address in system memory
|
|
21 V.ScrnE rmb 2 (2) address of end of screen
|
|
22 V.CrsrA rmb 1 (2) cursor address
|
|
23 V.CrsAL rmb 1 cursor address low
|
|
24 V.CChar rmb 1 value of character under cursor
|
|
25 V.Mode rmb 1 mode: 0=256x192 x2, 1=128x192 x4
|
|
26 V.NGChr rmb 1 number of additional characters to get
|
|
27 V.RTAdd rmb 2 (2) return address after getting characters
|
|
28 V.NChar rmb 1 character to process
|
|
29 V.NChr2 rmb 1 and the next one
|
|
30 rmb 1
|
|
31 V.Chr1 rmb 1 same as under cursor character
|
|
32 V.CColr rmb 1 cursor color
|
|
33 V.Col rmb 1 number of columns for this screen
|
|
34 V.Row rmb 1 number of rows
|
|
35 V.Alpha rmb 1 0 when in alpha mode
|
|
36 V.PIA1 rmb 1 PIA1Base value
|
|
37 V.Rdy rmb 1 device ready (see SS.DStat 0=not ready)
|
|
38 V.CFlg1 rmb 1 VDG display code values
|
|
39 V.SBAdd rmb 2 (2) address of block screen is in
|
|
40 V.GBuff rmb 2 allocation for graphics buffers (block#)
|
|
41 V.AGBuf rmb 4 (2) additional graphics buffer
|
|
42 V.FFMem rmb 2 Flood fill alloc'ed mem
|
|
43 V.FFSPt rmb 2 Flood fill current stack pointer
|
|
44 V.FFSTp rmb 1 Flood fill stack top
|
|
45 V.FF6 rmb 1 flood fill flag
|
|
46 V.FFFlag rmb 1 ??
|
|
47 V.MTabl rmb 2 (2) address of mask table for pixels in byte
|
|
48 V.PixBt rmb 1 bit mask for modes (0=$07, 1=$03 )#pixels/byte
|
|
49 V.GCrsX rmb 1 graphics cursor X value
|
|
50 V.GCrsY rmb 1 graphics cursor Y
|
|
51 V.Msk1 rmb 1 mask byte 1
|
|
52 V.Msk2 rmb 1 mask byte 2 (00,55,AA,FF)
|
|
53 V.MCol rmb 1 color? (C003,8001)
|
|
54 V.4A rmb 1
|
|
55 V.PMask rmb 1 pixel mask for colors (i.e. $55, $CC etc)
|
|
56 V.4C rmb 1
|
|
57 V.4D rmb 1
|
|
58 V.4E rmb 1
|
|
59 V.4F rmb 1
|
|
60 V.Caps rmb 1 caps lock info: $00=lower $FF=upper
|
|
61 V.ClkCnt rmb 1 clock count ??
|
|
62 V.WrChr rmb 1 character to write
|
|
63 V.CurCo rmb 1 current CO-module in use
|
|
64 * start of CO80-specific static memory
|
|
65 V.54 rmb 1
|
|
66 V.55 rmb 1
|
|
67 V.56 rmb 1
|
|
68 V.57 rmb 1
|
|
69 V.C80X rmb 1 CO80 X position
|
|
70 V.C80Y rmb 1 CO80 Y position
|
|
71 V.5A rmb 1
|
|
72 * end of CO80-specific static memory
|
|
73 V.DspVct rmb 2 vector to display screen
|
|
74 V.CnvVct rmb 2 vector to X/Y to address conversion
|
|
75 V.LKeyCd rmb 1 last key code
|
|
76 V.2Key1 rmb 1 2nd Key 1
|
|
77 V.2Key2 rmb 1 2nd Key 2
|
|
78 V.2Key3 rmb 1 2nd Key 3
|
|
79 V.Key1 rmb 1 Key 1
|
|
80 V.Key2 rmb 1 Key 2
|
|
81 V.Key3 rmb 1 Key 3
|
|
82 V.ShftDn rmb 1 SHIFT/CTRL state
|
|
83 V.CtrlDn rmb 1 CTRL key down
|
|
84 V.KeyFlg rmb 1 key flag
|
|
85 V.AltDwn rmb 1 ALT key down
|
|
86 V.KySns rmb 1 key sense flags
|
|
87 V.KySame rmb 1 key same as last flag
|
|
88 V.KySnsF rmb 1 key sense flag
|
|
89 V.Spcl rmb 1
|
|
90 V.KTblLC rmb 1 key table entry #
|
|
91 V.6F rmb 1 ???
|
|
92 V.COLoad rmb 1 CO-module loaded flags
|
|
93 V.CFlag rmb 1 true lowercase flag $10=true, $00=false
|
|
94 V.GRFOE rmb 2 GRFO entry point
|
|
95 V.CO32E rmb 2 CO32 entry point
|
|
96 V.CO80E rmb 2 CO80 entry point
|
|
97 V.IBufH rmb 1 input buffer head
|
|
98 V.IBufT rmb 1 input buffer tail
|
|
99 V.InBuf rmb 1 input buffer tail
|
|
100 rmb 250-.
|
|
101 V.Last equ .
|
|
102
|
|
103
|
|
104 *VD.FFMem rmb 2 (2) bottom of stack for flood fill
|
|
105 *VD.FFSPt rmb 2 (2) flood fill stack pointer
|
|
106 *VD.FFSTp rmb 2 (2) flood fill stack top pointer
|
|
107 *VD.FF6 rmb 1 flood fill flag
|
|
108 *VD.MCol2 rmb 1 color
|
|
109 *VD.FF1 rmb 1 data for flood fill
|
|
110 *VD.FF2 rmb 1 data for flood fill
|
|
111 *VD.FFMsk rmb 1 flood fill mask
|
|
112 *VD.FFFlg rmb 1 flood fill flag
|
|
113 *VD.Palet rmb 16 (16) current palette values
|
|
114 *VD.PlFlg rmb 1 initialized to $08 by L00DB, and then unused!
|
|
115
|
|
116 ENDC
|
|
117
|