Mercurial > hg > Members > kono > nitros9-code
annotate level2/modules/term_win80.asm @ 3295:6b7a7b233925 default tip
makefile: Allow PORTS with level1/2 mix
https://sourceforge.net/p/nitros9/feature-requests/10/
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Tue, 19 Apr 2022 18:12:17 +0200 |
parents | 2071c1c4b6c8 |
children |
rev | line source |
---|---|
508
02a8ba2b9092
Added headers to most source files, added clock2_bb.asm
boisy
parents:
434
diff
changeset
|
1 ******************************************************************** |
1424
32f1dae476b7
Fixed references in source from OS-9 to NitrOS-9 where appropriate
boisy
parents:
1348
diff
changeset
|
2 * Term - Window descriptor |
508
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 * |
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:
434
diff
changeset
|
8 * ------------------------------------------------------------------ |
02a8ba2b9092
Added headers to most source files, added clock2_bb.asm
boisy
parents:
434
diff
changeset
|
9 |
0 | 10 nam Term |
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 | |
2624 | 17 use cocovtio.d |
0 | 18 endc |
19 | |
20 tylg set Devic+Objct | |
21 atrv set ReEnt+rev | |
1289 | 22 rev set $00 |
0 | 23 |
24 * Window descriptor definitions | |
25 szx set 80 number of columns for display | |
26 szy set 24 number for rows for display | |
27 wnum set 0 window number | |
28 sty set 2 window type | |
29 cpx set 0 x cursor position | |
30 cpy set 0 y cursor position | |
3138
2071c1c4b6c8
New ALTCOLOR flag for window descriptors 1-7 & term_win40/80
Bill Pierce <merlinious999@gmail.com>
parents:
2624
diff
changeset
|
31 IFNE ALTCOLOR |
2071c1c4b6c8
New ALTCOLOR flag for window descriptors 1-7 & term_win40/80
Bill Pierce <merlinious999@gmail.com>
parents:
2624
diff
changeset
|
32 prn1 set Black. foreground color |
2071c1c4b6c8
New ALTCOLOR flag for window descriptors 1-7 & term_win40/80
Bill Pierce <merlinious999@gmail.com>
parents:
2624
diff
changeset
|
33 prn2 set White. background color |
2071c1c4b6c8
New ALTCOLOR flag for window descriptors 1-7 & term_win40/80
Bill Pierce <merlinious999@gmail.com>
parents:
2624
diff
changeset
|
34 prn3 set White. border color |
2071c1c4b6c8
New ALTCOLOR flag for window descriptors 1-7 & term_win40/80
Bill Pierce <merlinious999@gmail.com>
parents:
2624
diff
changeset
|
35 ELSE |
0 | 36 prn1 set Black. foreground color |
37 prn2 set Green. background color | |
38 prn3 set Green. border color | |
3138
2071c1c4b6c8
New ALTCOLOR flag for window descriptors 1-7 & term_win40/80
Bill Pierce <merlinious999@gmail.com>
parents:
2624
diff
changeset
|
39 ENDC |
0 | 40 |
41 mod eom,name,tylg,atrv,mgrnam,drvnam | |
42 | |
1497 | 43 fcb UPDAT. mode byte |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
372
diff
changeset
|
44 fcb HW.Page extended controller address |
0 | 45 fdb A.TermW physical controller address |
46 fcb initsize-*-1 initilization table size | |
47 fcb $00 device type:0=scf,1=rbf,2=pipe,3=scf | |
48 fcb $00 case:0=up&lower,1=upper only | |
49 fcb $01 backspace:0=bsp,1=bsp then sp & bsp | |
50 fcb $00 delete:0=bsp over line,1=return | |
51 fcb $01 echo:0=no echo | |
52 fcb $01 auto line feed:0=off | |
53 fcb $00 end of line null count | |
54 fcb $00 pause:0=no end of page pause | |
55 fcb 24 lines per page | |
56 fcb C$BSP backspace character | |
57 fcb C$DEL delete line character | |
58 fcb C$CR end of record character | |
59 fcb C$EOF end of file character | |
434
ccbef8e5ffbc
Changed dup and rep chars to take advantage of enhanced SCF line editing
boisy
parents:
410
diff
changeset
|
60 fcb C$RARR reprint line character |
ccbef8e5ffbc
Changed dup and rep chars to take advantage of enhanced SCF line editing
boisy
parents:
410
diff
changeset
|
61 fcb C$SHRARR duplicate last line character |
0 | 62 fcb C$PAUS pause character |
63 fcb C$INTR interrupt character | |
64 fcb C$QUIT quit character | |
65 fcb C$BSP backspace echo character | |
66 fcb C$BELL line overflow character (bell) | |
67 fcb $80 init value for dev ctl reg | |
68 fcb $00 baud rate | |
69 fdb name copy of descriptor name address | |
70 fcb $00 acia xon char | |
71 fcb $00 acia xoff char | |
72 fcb szx (szx) number of columns for display | |
73 fcb szy (szy) number of rows for display | |
74 fcb wnum window number | |
75 fcb $01 data in rest of descriptor valid | |
76 fcb sty (sty) window type | |
77 fcb cpx (cpx) x cursor position | |
78 fcb cpy (cpy) y cursor position | |
79 fcb prn1 (prn1) foreground color | |
80 fcb prn2 (prn2) background color | |
81 fcb prn3 (prn3) border color | |
622 | 82 initsize equ * |
0 | 83 |
84 name fcs /Term/ | |
85 mgrnam fcs /SCF/ | |
1933 | 86 drvnam fcs /VTIO/ |
0 | 87 |
88 emod | |
89 eom equ * | |
90 end | |
91 |