annotate level2/modules/v1.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 b8c7b7fbf3c9
children
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: 435
diff changeset
1 ********************************************************************
1424
32f1dae476b7 Fixed references in source from OS-9 to NitrOS-9 where appropriate
boisy
parents: 1348
diff changeset
2 * V1 - VDG descriptor
508
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 435
diff changeset
3 *
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 435
diff changeset
4 * $Id$
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 435
diff changeset
5 *
1348
8e804211cb25 Fixed sources to have new style change logs at top
boisy
parents: 1289
diff changeset
6 * Edt/Rev YYYY/MM/DD Modified by
8e804211cb25 Fixed sources to have new style change logs at top
boisy
parents: 1289
diff changeset
7 * Comment
508
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 435
diff changeset
8 * ------------------------------------------------------------------
02a8ba2b9092 Added headers to most source files, added clock2_bb.asm
boisy
parents: 435
diff changeset
9
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10 nam V1
1424
32f1dae476b7 Fixed references in source from OS-9 to NitrOS-9 where appropriate
boisy
parents: 1348
diff changeset
11 ttl VDG descriptor
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13 * Disassembled 98/08/23 22:38:05 by Disasm v1.6 (C) 1988 by RML
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 ifp1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16 use defsfile
2624
b8c7b7fbf3c9 Major changes:
Boisy Pitre <boisy.pitre@nuance.com>
parents: 1933
diff changeset
17 use cocovtio.d
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 endc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 tylg set Devic+Objct
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 atrv set ReEnt+rev
1289
d13864ef3317 Changed to rev 0
boisy
parents: 508
diff changeset
22 rev set $00
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24 * Window descriptor definitions
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25 szx set 32 number of columns for display
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26 szy set 16 number for rows for display
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27 wnum set 1 window number
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 sty set 1 window type
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 cpx set 0 x cursor position
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 cpy set 0 y cursor position
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 prn1 set Black. foreground color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 prn2 set Green. background color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 prn3 set Black. border color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 mod eom,name,tylg,atrv,mgrnam,drvnam
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 fcb READ.+WRITE. mode byte
385
31f6751feac5 Added symbolics
boisy
parents: 372
diff changeset
38 fcb HW.Page extended controller address
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 fdb A.V1 physical controller address
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 fcb initsize-*-1 initilization table size
385
31f6751feac5 Added symbolics
boisy
parents: 372
diff changeset
41 fcb DT.SCF device type:0=scf,1=rbf,2=pipe,3=scf
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 fcb $00 case:0=up&lower,1=upper only
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 fcb $01 backspace:0=bsp,1=bsp then sp & bsp
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 fcb $00 delete:0=bsp over line,1=return
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 fcb $01 echo:0=no echo
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 fcb $01 auto line feed:0=off
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 fcb $00 end of line null count
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 fcb $01 pause:0=no end of page pause
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 fcb 16 lines per page
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
50 fcb C$BSP backspace character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51 fcb C$DEL delete line character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52 fcb C$CR end of record character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53 fcb C$EOF end of file character
435
fba2700d6aac Changed dup and rep chars to match SCF line editing features
boisy
parents: 385
diff changeset
54 fcb C$RARR reprint line character
fba2700d6aac Changed dup and rep chars to match SCF line editing features
boisy
parents: 385
diff changeset
55 fcb C$SHRARR duplicate last line character
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56 fcb C$PAUS pause character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 fcb C$INTR interrupt character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 fcb C$QUIT quit character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 fcb C$BSP backspace echo character
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60 fcb C$BELL line overflow character (bell)
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 fcb $01 init value for dev ctl reg
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 fcb $00 baud rate
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63 fdb name copy of descriptor name address
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
64 fcb $00 acia xon char
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
65 fcb $00 acia xoff char
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66 fcb szx (szx) number of columns for display
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67 fcb szy (szy) number of rows for display
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68 fcb wnum window number
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
69 fcb $01 data in rest of descriptor valid
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
70 fcb sty (sty) window type
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
71 fcb cpx (cpx) x cursor position
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
72 fcb cpy (cpy) y cursor position
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
73 fcb prn1 (prn1) foreground color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
74 fcb prn2 (prn2) background color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
75 fcb prn3 (prn3) border color
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
76 initsize equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
77
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
78 name fcc /V/
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
79 fcb 176+wnum
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
80 mgrnam fcs /SCF/
1933
1e312b144f4d Major changes:
boisy
parents: 1424
diff changeset
81 drvnam fcs /VTIO/
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
82
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
83 emod
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
84 eom equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
85 end
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
86