annotate level2/modules/w1.asm @ 372:b3bfa479f8d0

scfdefs is now included from level2v3/defsfile and all references to it in sources have been removed
author boisy
date Fri, 23 Aug 2002 19:14:07 +0000
parents 6641a883d6b0
children 9ed77eeace37
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 nam W1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2 ttl OS-9 Level 2 Window descriptor
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
4 * Disassembled 98/08/23 22:38:05 by Disasm v1.6 (C) 1988 by RML
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
6 ifp1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
7 use defsfile
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8 endc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
9
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10 tylg set Devic+Objct
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11 atrv set ReEnt+rev
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12 rev set $01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14 * Window descriptor definitions
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 szx set 27 number of columns for display
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16 szy set 11 number for rows for display
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 wnum set 1 window number
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 sty set 1 window type
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19 cpx set 0 x cursor position
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 cpy set 0 y cursor position
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 prn1 set Black. foreground color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22 prn2 set White. background color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23 prn3 set Red. border color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25 mod eom,name,tylg,atrv,mgrnam,drvnam
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27 fcb READ.+WRITE. mode byte
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 fcb $07 extended controller address
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 fdb A.W1 physical controller address
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 fcb initsize-*-1 initilization table size
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 fcb $00 device type:0=scf,1=rbf,2=pipe,3=scf
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 fcb $00 case:0=up&lower,1=upper only
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 fcb $01 backspace:0=bsp,1=bsp then sp & bsp
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 fcb $00 delete:0=bsp over line,1=return
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 fcb $01 echo:0=no echo
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 fcb $01 auto line feed:0=off
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 fcb $00 end of line null count
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 fcb $00 pause:0=no end of page pause
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 fcb 24 lines per page
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 fcb C$BSP backspace character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 fcb C$DEL delete line character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 fcb C$CR end of record character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 fcb C$EOF end of file character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 fcb C$RPRT reprint line character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 fcb C$RPET duplicate last line character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 fcb C$PAUS pause character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 fcb C$INTR interrupt character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 fcb C$QUIT quit character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 fcb C$BSP backspace echo character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
50 fcb C$BELL line overflow character (bell)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51 fcb $80 init value for dev ctl reg
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52 fcb $00 baud rate
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53 fdb name copy of descriptor name address
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
54 fcb $00 acia xon char
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55 fcb $00 acia xoff char
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56 initsize equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 fcb szx (szx) number of columns for display
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 fcb szy (szy) number of rows for display
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 fcb wnum window number
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60 fcb $01 data in rest of descriptor valid
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 fcb sty (sty) window type
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 fcb cpx (cpx) x cursor position
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63 fcb cpy (cpy) y cursor position
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
64 fcb prn1 (prn1) foreground color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
65 fcb prn2 (prn2) background color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66 fcb prn3 (prn3) border color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68 name fcc /W/
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
69 fcb 176+wnum
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
70 mgrnam fcs /SCF/
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
71 drvnam fcs /CC3IO/
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
72
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
73 emod
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
74 eom equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
75 end
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
76