annotate level1/modules/term_vdg.asm @ 2691:678c6848dc12 lwtools-port

Fixed coco2/coco2b makefiles to depend on coco1 makefiles
author Boisy Pitre <boisy.pitre@nuance.com>
date Thu, 19 Jul 2012 13:54:05 -0500
parents 6e40b043d3e0
children 999159b0e7c0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2690
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
1 ********************************************************************
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
2 * Term - VTIO VDG Device Descriptor
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
3 *
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
4 * $Id$
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
5 *
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
6 * Edt/Rev YYYY/MM/DD Modified by
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
7 * Comment
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
8 * ------------------------------------------------------------------
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
9
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
10 nam Term
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
11 ttl VTIO VDG Device Descriptor
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
12
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
13 ifp1
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
14 use defsfile
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
15 use cocovtio.d
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
16 endc
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
17
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
18 tylg set Devic+Objct
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
19 atrv set ReEnt+rev
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
20 rev set $00
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
21
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
22 * Window descriptor definitions
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
23 szx set 32 number of columns for display
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
24 szy set 16 number for rows for display
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
25 IFGT Level-1
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
26 wnum set 0 window number
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
27 sty set 1 window type
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
28 cpx set 0 x cursor position
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
29 cpy set 0 y cursor position
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
30 prn1 set Black. foreground color
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
31 prn2 set Green. background color
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
32 prn3 set Black. border color
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
33 ENDC
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
34
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
35 mod eom,name,tylg,atrv,mgrnam,drvnam
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
36
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
37 fcb UPDAT. mode byte
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
38 fcb HW.Page extended controller address
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
39 fdb A.TermV physical controller address
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
40 fcb initsize-*-1 initilization table size
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
41 fcb DT.SCF device type:0=scf,1=rbf,2=pipe,3=scf
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
42 fcb $00 case:0=up&lower,1=upper only
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
43 fcb $01 backspace:0=bsp,1=bsp then sp & bsp
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
44 fcb $00 delete:0=bsp over line,1=return
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
45 fcb $01 echo:0=no echo
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
46 fcb $01 auto line feed:0=off
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
47 fcb $00 end of line null count
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
48 fcb $01 pause:0=no end of page pause
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
49 fcb szy lines per page
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
50 fcb C$BSP backspace character
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
51 fcb C$DEL delete line character
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
52 fcb C$CR end of record character
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
53 fcb C$EOF end of file character
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
54 fcb C$RARR reprint line character
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
55 fcb C$SHRARR duplicate last line character
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
56 fcb C$PAUS pause character
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
57 fcb C$INTR interrupt character
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
58 fcb C$QUIT quit character
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
59 fcb C$BSP backspace echo character
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
60 fcb C$BELL line overflow character (bell)
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
61 IFGT Level-1
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
62 fcb $01 init value for dev ctl reg
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
63 ELSE
2691
678c6848dc12 Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2690
diff changeset
64 IFEQ coco2b-1
678c6848dc12 Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2690
diff changeset
65 fcb ModCoVDG+1 init value for dev ctl reg
678c6848dc12 Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2690
diff changeset
66 ELSE
2690
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
67 fcb ModCoVDG init value for dev ctl reg
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
68 ENDC
2691
678c6848dc12 Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2690
diff changeset
69 ENDC
2690
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
70 fcb $00 baud rate
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
71 fdb name copy of descriptor name address
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
72 fcb $00 acia xon char
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
73 fcb $00 acia xoff char
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
74 fcb szx (szx) number of columns for display
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
75 fcb szy (szy) number of rows for display
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
76 IFGT Level-1
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
77 fcb wnum window number
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
78 fcb $01 data in rest of descriptor valid
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
79 fcb sty (sty) window type
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
80 fcb cpx (cpx) x cursor position
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
81 fcb cpy (cpy) y cursor position
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
82 fcb prn1 (prn1) foreground color
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
83 fcb prn2 (prn2) background color
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
84 fcb prn3 (prn3) border color
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
85 ENDC
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
86 initsize equ *
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
87
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
88 name fcs /Term/
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
89 mgrnam fcs /SCF/
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
90 drvnam fcs /VTIO/
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
91
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
92 emod
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
93 eom equ *
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
94 end
6e40b043d3e0 Removed coco port, added coco1 and coco2 ports.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff changeset
95