Mercurial > hg > Members > kono > nitros9-code
annotate level2/modules/v1.asm @ 3274:d80acb6d104b
os9gen: Fix bitmap check/update where boot sector is non-zero
And on builds where the boot track is zero, most likely for
Dragon, don't check or update the bitmap because the boot
track should be reserved already.
Ideally all this should be a run-time checks of the disk
parameters and not depend on the build target. Later.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 07 Mar 2020 21:32:30 +0100 |
parents | b8c7b7fbf3c9 |
children |
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 | 6 * Edt/Rev YYYY/MM/DD Modified by |
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 | 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 | 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 32 number of columns for display | |
26 szy set 16 number for rows for display | |
27 wnum set 1 window number | |
28 sty set 1 window type | |
29 cpx set 0 x cursor position | |
30 cpy set 0 y cursor position | |
31 prn1 set Black. foreground color | |
32 prn2 set Green. background color | |
33 prn3 set Black. border color | |
34 | |
35 mod eom,name,tylg,atrv,mgrnam,drvnam | |
36 | |
37 fcb READ.+WRITE. mode byte | |
385 | 38 fcb HW.Page extended controller address |
0 | 39 fdb A.V1 physical controller address |
40 fcb initsize-*-1 initilization table size | |
385 | 41 fcb DT.SCF device type:0=scf,1=rbf,2=pipe,3=scf |
0 | 42 fcb $00 case:0=up&lower,1=upper only |
43 fcb $01 backspace:0=bsp,1=bsp then sp & bsp | |
44 fcb $00 delete:0=bsp over line,1=return | |
45 fcb $01 echo:0=no echo | |
46 fcb $01 auto line feed:0=off | |
47 fcb $00 end of line null count | |
48 fcb $01 pause:0=no end of page pause | |
49 fcb 16 lines per page | |
50 fcb C$BSP backspace character | |
51 fcb C$DEL delete line character | |
52 fcb C$CR end of record character | |
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 | 56 fcb C$PAUS pause character |
57 fcb C$INTR interrupt character | |
58 fcb C$QUIT quit character | |
59 fcb C$BSP backspace echo character | |
60 fcb C$BELL line overflow character (bell) | |
61 fcb $01 init value for dev ctl reg | |
62 fcb $00 baud rate | |
63 fdb name copy of descriptor name address | |
64 fcb $00 acia xon char | |
65 fcb $00 acia xoff char | |
66 fcb szx (szx) number of columns for display | |
67 fcb szy (szy) number of rows for display | |
68 fcb wnum window number | |
69 fcb $01 data in rest of descriptor valid | |
70 fcb sty (sty) window type | |
71 fcb cpx (cpx) x cursor position | |
72 fcb cpy (cpy) y cursor position | |
73 fcb prn1 (prn1) foreground color | |
74 fcb prn2 (prn2) background color | |
75 fcb prn3 (prn3) border color | |
76 initsize equ * | |
77 | |
78 name fcc /V/ | |
79 fcb 176+wnum | |
80 mgrnam fcs /SCF/ | |
1933 | 81 drvnam fcs /VTIO/ |
0 | 82 |
83 emod | |
84 eom equ * | |
85 end | |
86 |