Mercurial > hg > Members > kono > nitros9-code
annotate level2/modules/w3.asm @ 2165:01d37afeb71e
Fixed flaw in making window descriptors
author | boisy |
---|---|
date | Thu, 22 May 2008 03:42:16 +0000 |
parents | 1e312b144f4d |
children | b8c7b7fbf3c9 |
rev | line source |
---|---|
508
02a8ba2b9092
Added headers to most source files, added clock2_bb.asm
boisy
parents:
432
diff
changeset
|
1 ******************************************************************** |
1424
32f1dae476b7
Fixed references in source from OS-9 to NitrOS-9 where appropriate
boisy
parents:
1348
diff
changeset
|
2 * W3 - Window descriptor |
508
02a8ba2b9092
Added headers to most source files, added clock2_bb.asm
boisy
parents:
432
diff
changeset
|
3 * |
02a8ba2b9092
Added headers to most source files, added clock2_bb.asm
boisy
parents:
432
diff
changeset
|
4 * $Id$ |
02a8ba2b9092
Added headers to most source files, added clock2_bb.asm
boisy
parents:
432
diff
changeset
|
5 * |
1348 | 6 * Edt/Rev YYYY/MM/DD Modified by |
7 * Comment | |
508
02a8ba2b9092
Added headers to most source files, added clock2_bb.asm
boisy
parents:
432
diff
changeset
|
8 * ------------------------------------------------------------------ |
02a8ba2b9092
Added headers to most source files, added clock2_bb.asm
boisy
parents:
432
diff
changeset
|
9 |
0 | 10 nam W3 |
1424
32f1dae476b7
Fixed references in source from OS-9 to NitrOS-9 where appropriate
boisy
parents:
1348
diff
changeset
|
11 ttl Window descriptor |
0 | 12 |
13 * Disassembled 98/08/23 22:38:05 by Disasm v1.6 (C) 1988 by RML | |
14 | |
15 ifp1 | |
16 use defsfile | |
17 endc | |
18 | |
19 tylg set Devic+Objct | |
20 atrv set ReEnt+rev | |
1289 | 21 rev set $00 |
0 | 22 |
23 * Window descriptor definitions | |
24 szx set 40 number of columns for display | |
25 szy set 12 number for rows for display | |
26 sty set $FF window type | |
27 cpx set 0 x cursor position | |
28 cpy set 12 y cursor position | |
29 prn1 set Black. foreground color | |
30 prn2 set Cyan. background color | |
31 prn3 set Blue. border color | |
32 | |
33 mod eom,name,tylg,atrv,mgrnam,drvnam | |
34 | |
35 fcb READ.+WRITE. mode byte | |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
372
diff
changeset
|
36 fcb HW.Page extended controller address |
0 | 37 fdb A.W3 physical controller address |
38 fcb initsize-*-1 initilization table size | |
39 fcb $00 device type:0=scf,1=rbf,2=pipe,3=scf | |
40 fcb $00 case:0=up&lower,1=upper only | |
41 fcb $01 backspace:0=bsp,1=bsp then sp & bsp | |
42 fcb $00 delete:0=bsp over line,1=return | |
43 fcb $01 echo:0=no echo | |
44 fcb $01 auto line feed:0=off | |
45 fcb $00 end of line null count | |
46 fcb $00 pause:0=no end of page pause | |
47 fcb 24 lines per page | |
48 fcb C$BSP backspace character | |
49 fcb C$DEL delete line character | |
50 fcb C$CR end of record character | |
51 fcb C$EOF end of file character | |
432
03c6934e5d62
Window descriptors set up for enhanced SCF command line edition for duplicate
boisy
parents:
410
diff
changeset
|
52 fcb C$RARR reprint line character |
03c6934e5d62
Window descriptors set up for enhanced SCF command line edition for duplicate
boisy
parents:
410
diff
changeset
|
53 fcb C$SHRARR duplicate last line character |
0 | 54 fcb C$PAUS pause character |
55 fcb C$INTR interrupt character | |
56 fcb C$QUIT quit character | |
57 fcb C$BSP backspace echo character | |
58 fcb C$BELL line overflow character (bell) | |
59 fcb $80 init value for dev ctl reg | |
60 fcb $00 baud rate | |
61 fdb name copy of descriptor name address | |
62 fcb $00 acia xon char | |
63 fcb $00 acia xoff char | |
64 fcb szx (szx) number of columns for display | |
65 fcb szy (szy) number of rows for display | |
2165 | 66 fcb 3 window number |
0 | 67 fcb $01 data in rest of descriptor valid |
68 fcb sty (sty) window type | |
69 fcb cpx (cpx) x cursor position | |
70 fcb cpy (cpy) y cursor position | |
71 fcb prn1 (prn1) foreground color | |
72 fcb prn2 (prn2) background color | |
73 fcb prn3 (prn3) border color | |
622 | 74 initsize equ * |
0 | 75 |
2165 | 76 name fcs /W3/ |
0 | 77 mgrnam fcs /SCF/ |
1933 | 78 drvnam fcs /VTIO/ |
0 | 79 |
80 emod | |
81 eom equ * | |
82 end | |
83 |