Mercurial > hg > Members > kono > nitros9-code
annotate level1/modules/init.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 | a418110ecb44 |
children |
rev | line source |
---|---|
0 | 1 ******************************************************************** |
1722 | 2 * Init - NitrOS-9 Configuration module |
0 | 3 * |
4 * $Id$ | |
5 * | |
1499 | 6 * Edt/Rev YYYY/MM/DD Modified by |
7 * Comment | |
0 | 8 * ------------------------------------------------------------------ |
1722 | 9 * 204 1998/10/12 Boisy G. Pitre |
10 * Original OS-9 L2 Tandy distribution. | |
11 * | |
12 * 205 1998/10/20 Boisy G. Pitre | |
13 * Added CC3IO and Clock sections. | |
14 * | |
15 * 205r2 1998/10/20 Boisy G. Pitre | |
16 * Removed clock information from here. | |
17 * | |
18 * 1 2003/01/08 Boisy G. Pitre | |
19 * Restarted edition number back to 1, removed CMDS/cc3go reference and | |
20 * just have cc3go so that in certain cases, cc3go can be in the bootfile, | |
21 * and so that ROMmed systems don't have to have a special init module. | |
1792 | 22 * |
1722 | 23 * 2003/11/05 Robert Gault |
24 * Corrected CC3IO info regards mouse. Changed from fcb to fdb low res/ right | |
25 * Corrected OS9Defs to match. | |
2104
40b483145984
Exclude text for Dragon Alpha, due to lack of boot space
afra
parents:
2062
diff
changeset
|
26 * |
40b483145984
Exclude text for Dragon Alpha, due to lack of boot space
afra
parents:
2062
diff
changeset
|
27 * 2006/07/06 P.Harvey-Smith. |
40b483145984
Exclude text for Dragon Alpha, due to lack of boot space
afra
parents:
2062
diff
changeset
|
28 * Conditionally excluded port messages on Dragon Alpha, due to insufficient |
40b483145984
Exclude text for Dragon Alpha, due to lack of boot space
afra
parents:
2062
diff
changeset
|
29 * space ! |
40b483145984
Exclude text for Dragon Alpha, due to lack of boot space
afra
parents:
2062
diff
changeset
|
30 * |
0 | 31 |
32 nam Init | |
1722 | 33 ttl NitrOS-9 Configuration module |
0 | 34 |
1722 | 35 ifp1 |
0 | 36 use defsfile |
2624 | 37 IFGT Level-1 |
38 use cocovtio.d | |
39 ENDC | |
1722 | 40 endc |
0 | 41 |
42 tylg set Systm+$00 | |
43 atrv set ReEnt+rev | |
1287 | 44 rev set $00 |
1722 | 45 edition set 1 |
0 | 46 |
3090
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
47 * |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
48 * Usually, the last two words here would be the module entry |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
49 * address and the dynamic data size requirement. Neither value is |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
50 * needed for this module so they are pressed into service to show |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
51 * MaxMem and PollCnt. For example: |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
52 * $0FE0,$0015 means |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
53 * MaxMem = $0FE000 |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
54 * PollCnt = $0015 |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
55 * |
1722 | 56 mod eom,name,tylg,atrv,$0FE0,$0015 |
57 | |
58 ***** USER MODIFIABLE DEFINITIONS HERE ***** | |
0 | 59 |
3090
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
60 * |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
61 * refer to |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
62 * "Configuration Module Entry Offsets" |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
63 * in os9.d |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
64 * |
0 | 65 start equ * |
3090
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
66 fcb $27 entries in device table |
306 | 67 fdb DefProg offset to program to fork |
68 fdb DefDev offset to default disk device | |
69 fdb DefCons offset to default console device | |
70 fdb DefBoot offset to boot module name | |
71 fcb $01 write protect flag (?) | |
72 fcb Level OS level | |
1805 | 73 fcb NOS9VER OS version |
74 fcb NOS9MAJ OS major revision | |
75 fcb NOS9MIN OS minor revision | |
2059 | 76 IFNE H6309 |
77 fcb Proc6309+CRCOff feature byte #1 | |
78 ELSE | |
1722 | 79 fcb CRCOff feature byte #1 |
2059 | 80 ENDC |
317
e6dcf1ac92b2
Modified ccio.asm for better comments, init.asm simplified
boisy
parents:
308
diff
changeset
|
81 fcb $00 feature byte #2 |
2059 | 82 fdb OSStr |
2061 | 83 fdb InstStr |
3090
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
84 fcb 0,0,0,0 reserved |
1722 | 85 |
86 IFGT Level-1 | |
87 * CC3IO section | |
88 fcb Monitor monitor type | |
89 fcb 0,1 mouse info, low res right mouse | |
90 fcb $1E key repeat start constant | |
91 fcb $03 key repeat delay constant | |
92 ENDC | |
0 | 93 |
94 name fcs "Init" | |
1722 | 95 fcb edition |
0 | 96 |
97 DefProg fcs "SysGo" | |
201 | 98 DefDev fcs "/DD" |
0 | 99 DefCons fcs "/Term" |
100 DefBoot fcs "Boot" | |
101 | |
2104
40b483145984
Exclude text for Dragon Alpha, due to lack of boot space
afra
parents:
2062
diff
changeset
|
102 * |
40b483145984
Exclude text for Dragon Alpha, due to lack of boot space
afra
parents:
2062
diff
changeset
|
103 * The DragonAlpha is so pushed for boot track space, that we have to exclude these |
40b483145984
Exclude text for Dragon Alpha, due to lack of boot space
afra
parents:
2062
diff
changeset
|
104 * messages ! |
40b483145984
Exclude text for Dragon Alpha, due to lack of boot space
afra
parents:
2062
diff
changeset
|
105 * |
40b483145984
Exclude text for Dragon Alpha, due to lack of boot space
afra
parents:
2062
diff
changeset
|
106 |
3090
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
107 IFEQ dalpha |
2059 | 108 OSStr equ * |
109 fcc "NitrOS-9/" | |
110 IFNE H6309 | |
111 fcc /6309 / | |
112 ELSE | |
113 fcc /6809 / | |
114 ENDC | |
115 fcc /Level / | |
116 fcb '0+Level | |
2062 | 117 fcc / V/ |
2059 | 118 fcb '0+NOS9VER |
2062 | 119 fcc /./ |
2059 | 120 fcb '0+NOS9MAJ |
2062 | 121 fcc /./ |
2059 | 122 fcb '0+NOS9MIN |
2061 | 123 fcb 0 |
2059 | 124 |
2061 | 125 InstStr equ * |
2691
678c6848dc12
Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
126 IFNE coco1 |
2059 | 127 fcc "Radio Shack Color Computer" |
128 ELSE | |
2821 | 129 IFNE deluxe |
2828 | 130 fcc "Deluxe Color Computer" |
2821 | 131 ELSE |
2691
678c6848dc12
Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
132 IFNE coco2 |
678c6848dc12
Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
133 fcc "Radio Shack Color Computer 2" |
678c6848dc12
Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
134 ELSE |
678c6848dc12
Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
135 IFNE coco2b |
678c6848dc12
Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
136 fcc "Tandy Color Computer 2" |
678c6848dc12
Fixed coco2/coco2b makefiles to depend on coco1 makefiles
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
137 ELSE |
2059 | 138 IFNE coco3 |
139 fcc "Tandy Color Computer 3" | |
140 ELSE | |
141 IFNE tano | |
142 fcc "Tano Dragon (US)" | |
143 ELSE | |
144 IFNE d64 | |
145 fcc "Dragon 64 (UK)" | |
146 ELSE | |
147 IFNE dalpha | |
148 fcc "Dragon Alpha" | |
149 ELSE | |
3288
a418110ecb44
Adding Dragon Plus builds with native 80 column and VRAM disk support
lfantoniosi
parents:
3182
diff
changeset
|
150 IFNE dplus |
a418110ecb44
Adding Dragon Plus builds with native 80 column and VRAM disk support
lfantoniosi
parents:
3182
diff
changeset
|
151 fcc "Dragon Plus" |
a418110ecb44
Adding Dragon Plus builds with native 80 column and VRAM disk support
lfantoniosi
parents:
3182
diff
changeset
|
152 ELSE |
2617
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2104
diff
changeset
|
153 IFNE atari |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2104
diff
changeset
|
154 fcc "Atari XL/XE" |
b1145d2cb659
Adding atari port folder and modifications to init and krn to accommodate
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2104
diff
changeset
|
155 ELSE |
3117
47cd23dcf55e
Incorporate mc09 in build, add support in l1 init/rel/boot_sdc
Neal Crook <foofoobedoo@gmail.com>
parents:
3090
diff
changeset
|
156 IFNE mc09 |
47cd23dcf55e
Incorporate mc09 in build, add support in l1 init/rel/boot_sdc
Neal Crook <foofoobedoo@gmail.com>
parents:
3090
diff
changeset
|
157 fcb $1B text in bright blue |
47cd23dcf55e
Incorporate mc09 in build, add support in l1 init/rel/boot_sdc
Neal Crook <foofoobedoo@gmail.com>
parents:
3090
diff
changeset
|
158 fcc "[94mMulticomp09" |
47cd23dcf55e
Incorporate mc09 in build, add support in l1 init/rel/boot_sdc
Neal Crook <foofoobedoo@gmail.com>
parents:
3090
diff
changeset
|
159 fcb $1B |
47cd23dcf55e
Incorporate mc09 in build, add support in l1 init/rel/boot_sdc
Neal Crook <foofoobedoo@gmail.com>
parents:
3090
diff
changeset
|
160 fcc "[0m" |
47cd23dcf55e
Incorporate mc09 in build, add support in l1 init/rel/boot_sdc
Neal Crook <foofoobedoo@gmail.com>
parents:
3090
diff
changeset
|
161 ELSE |
3143
c860ff48e09c
Add coco3fpga banner to init.asm
Bill Pierce <merlinious999@gmail.com>
parents:
3117
diff
changeset
|
162 IFNE coco3fpga |
c860ff48e09c
Add coco3fpga banner to init.asm
Bill Pierce <merlinious999@gmail.com>
parents:
3117
diff
changeset
|
163 fcc "Gary Becker's Coco3FPGA" |
c860ff48e09c
Add coco3fpga banner to init.asm
Bill Pierce <merlinious999@gmail.com>
parents:
3117
diff
changeset
|
164 ELSE |
3182
185c31229f22
Add level1 corsham port for the Corsham 6809 System
Boisy Pitre <coco@toughmac.com>
parents:
3143
diff
changeset
|
165 IFNE corsham |
185c31229f22
Add level1 corsham port for the Corsham 6809 System
Boisy Pitre <coco@toughmac.com>
parents:
3143
diff
changeset
|
166 fcc "Corsham 6809" |
185c31229f22
Add level1 corsham port for the Corsham 6809 System
Boisy Pitre <coco@toughmac.com>
parents:
3143
diff
changeset
|
167 ELSE |
2059 | 168 fcc "Unknown Machine" |
3182
185c31229f22
Add level1 corsham port for the Corsham 6809 System
Boisy Pitre <coco@toughmac.com>
parents:
3143
diff
changeset
|
169 ENDC match IFNE corsham |
3143
c860ff48e09c
Add coco3fpga banner to init.asm
Bill Pierce <merlinious999@gmail.com>
parents:
3117
diff
changeset
|
170 ENDC match IFNE coco3fpga |
3117
47cd23dcf55e
Incorporate mc09 in build, add support in l1 init/rel/boot_sdc
Neal Crook <foofoobedoo@gmail.com>
parents:
3090
diff
changeset
|
171 ENDC match IFNE mc09 |
3090
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
172 ENDC match IFNE atari |
3288
a418110ecb44
Adding Dragon Plus builds with native 80 column and VRAM disk support
lfantoniosi
parents:
3182
diff
changeset
|
173 ENDC match IFNE dplus |
3090
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
174 ENDC match IFNE dalpha |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
175 ENDC match IFNE d64 |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
176 ENDC match IFNE tano |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
177 ENDC match IFNE coco3 |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
178 ENDC match IFNE coco2b |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
179 ENDC match IFNE coco2 |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
180 ENDC match IFNE delux |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
181 ENDC match IFNE coco1 |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
182 fcb 0 null-terminate the name string |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
183 ELSE |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
184 * DragonAlpha |
2619
d888412d8118
o Fixed assembler issue in init.asm
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2617
diff
changeset
|
185 OSStr equ * |
2104
40b483145984
Exclude text for Dragon Alpha, due to lack of boot space
afra
parents:
2062
diff
changeset
|
186 InstStr equ * |
3090
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
187 fcb 0 null-length string |
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
188 ENDC match IFEQ dalpha |
2059 | 189 |
3090
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
190 emod |
0 | 191 eom equ * |
3090
3ccef1f7f44b
Describe the non-standard format of the module header. Cross-reference os9.d
Neal Crook <foofoobedoo@gmail.com>
parents:
2828
diff
changeset
|
192 end |