annotate level2/modules/term_vdg.asm @ 1262:67e11bfc9cd4

More 6309 optimizations
author boisy
date Mon, 18 Aug 2003 22:54:07 +0000
parents 02a8ba2b9092
children d13864ef3317
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
508
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 434
diff changeset
1 ********************************************************************
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 434
diff changeset
2 * Term - OS-9 Level 2 VDG descriptor
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 434
diff changeset
3 *
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 434
diff changeset
4 * $Id$
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 434
diff changeset
5 *
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 434
diff changeset
6 * Ed. Comments Who YY/MM/DD
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 434
diff changeset
7 * ------------------------------------------------------------------
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 434
diff changeset
8
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
9 nam Term
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10 ttl OS-9 Level 2 VDG descriptor
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12 * Disassembled 98/08/23 22:38:05 by Disasm v1.6 (C) 1988 by RML
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14 ifp1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 use defsfile
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16 endc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 tylg set Devic+Objct
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19 atrv set ReEnt+rev
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 rev set $01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22 * Window descriptor definitions
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23 szx set 32 number of columns for display
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24 szy set 16 number for rows for display
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25 wnum set 0 window number
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26 sty set 1 window type
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27 cpx set 0 x cursor position
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 cpy set 0 y cursor position
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 prn1 set Black. foreground color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 prn2 set Green. background color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 prn3 set Black. border color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 mod eom,name,tylg,atrv,mgrnam,drvnam
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 fcb READ.+WRITE. mode byte
385
31f6751feac5 Added symbolics
boisy
parents: 372
diff changeset
36 fcb HW.Page extended controller address
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 fdb A.TermV physical controller address
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 fcb initsize-*-1 initilization table size
385
31f6751feac5 Added symbolics
boisy
parents: 372
diff changeset
39 fcb DT.SCF device type:0=scf,1=rbf,2=pipe,3=scf
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 fcb $00 case:0=up&lower,1=upper only
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 fcb $01 backspace:0=bsp,1=bsp then sp & bsp
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 fcb $00 delete:0=bsp over line,1=return
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 fcb $01 echo:0=no echo
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 fcb $01 auto line feed:0=off
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 fcb $00 end of line null count
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 fcb $01 pause:0=no end of page pause
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 fcb 16 lines per page
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 fcb C$BSP backspace character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 fcb C$DEL delete line character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
50 fcb C$CR end of record character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51 fcb C$EOF end of file character
434
ccbef8e5ffbc Changed dup and rep chars to take advantage of enhanced SCF line editing
boisy
parents: 385
diff changeset
52 fcb C$RARR reprint line character
ccbef8e5ffbc Changed dup and rep chars to take advantage of enhanced SCF line editing
boisy
parents: 385
diff changeset
53 fcb C$SHRARR duplicate last line character
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
54 fcb C$PAUS pause character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55 fcb C$INTR interrupt character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56 fcb C$QUIT quit character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 fcb C$BSP backspace echo character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 fcb C$BELL line overflow character (bell)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 fcb $01 init value for dev ctl reg
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60 fcb $00 baud rate
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 fdb name copy of descriptor name address
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 fcb $00 acia xon char
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63 fcb $00 acia xoff char
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
64 fcb szx (szx) number of columns for display
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
65 fcb szy (szy) number of rows for display
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66 fcb wnum window number
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67 fcb $01 data in rest of descriptor valid
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68 fcb sty (sty) window type
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
69 fcb cpx (cpx) x cursor position
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
70 fcb cpy (cpy) y cursor position
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
71 fcb prn1 (prn1) foreground color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
72 fcb prn2 (prn2) background color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
73 fcb prn3 (prn3) border color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
74 initsize equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
75
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
76 name fcs /Term/
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
77 mgrnam fcs /SCF/
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
78 drvnam fcs /CC3IO/
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
79
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
80 emod
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
81 eom equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
82 end
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
83