annotate defs/cciodefs @ 1593:d87e5e9b4f1b

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