Mercurial > hg > Members > kono > nitros9-code
annotate level1/coco/modules/makefile @ 2383:b399116a3b5f
Now we have a /N descriptor... and the code in scdwn.asm to handle it.
author | boisy |
---|---|
date | Sat, 23 Jan 2010 22:37:16 +0000 |
parents | ffda7df4caaf |
children | 95a64ea1c621 |
rev | line source |
---|---|
2037 | 1 PORT = coco |
2035 | 2 include $(NITROS9DIR)/rules.mak |
3 | |
2049 | 4 vpath %.asm $(LEVEL1)/modules |
5 | |
6 AFLAGS += -I$(LEVEL1)/modules | |
2035 | 7 |
8 CLOCKELIM = -aRTCElim=1 | |
9 CLOCKDISTO2 = -aRTCDsto2=1 | |
10 CLOCKDISTO4 = -aRTCDsto4=1 | |
11 CLOCKBNB = -aRTCBB=1 | |
12 CLOCKSMART = -aRTCSmart=1 -aMPIFlag=1 | |
13 CLOCKHARRIS = -aRTCHarrs=1 | |
14 CLOCKCLOUD9 = -aRTCCloud9=1 | |
15 CLOCKSOFT = -aRTCSoft=1 | |
16 CLOCKMESSEMU = -aRTCMessEmu=1 | |
17 CLOCKJVEMU = -aRTCJVEmu=1 | |
18 | |
19 DEPENDS = ./makefile | |
20 TPB = $(3RDPARTY)/booters | |
21 | |
22 BOOTERS = boot_1773_6ms boot_1773_30ms \ | |
2182 | 23 boot_burke boot_rampak boot_wd1002 boot_dw3 boot_dw3_coco1 |
2035 | 24 BOOTTRACK = rel $(BOOTERS) |
2186 | 25 KERNEL = krn krnp2 wbug |
2035 | 26 SYSMODS = ioman init sysgo_dd sysgo_h0 |
27 CLOCKS = clock_60hz clock_50hz \ | |
28 clock2_elim clock2_disto2 clock2_disto4 clock2_bnb \ | |
29 clock2_smart clock2_harris clock2_cloud9 clock2_soft \ | |
2180 | 30 clock2_messemu clock2_jvemu clock2_dw3 |
2035 | 31 |
32 RBF = rbf.mn \ | |
2182 | 33 rbdw3.dr dw3.sb dw3_coco1.sb \ |
2035 | 34 rb1773.dr rb1773_scii_ff74.dr rb1773_scii_ff58.dr \ |
35 ddd0_35s.dd d0_35s.dd d1_35s.dd d2_35s.dd d3_35s.dd \ | |
36 ddd0_40d.dd d0_40d.dd d1_40d.dd d2_40d.dd \ | |
2180 | 37 ddd0_80d.dd d0_80d.dd d1_80d.dd d2_80d.dd \ |
38 ddx0.dd x0.dd x1.dd x2.dd x3.dd | |
2035 | 39 |
40 SCF = scf.mn \ | |
2180 | 41 sc6551.dr vrn.dr scbbp.dr scbbt.dr scdwp.dr sspak.dr vtio.dr \ |
2035 | 42 covdg.io cohr.io \ |
2180 | 43 nil.dd p_scbbp.dd p_scdwp.dd pipe.dd ssp.dd \ |
2161
a80f533398ff
Renamed p_bbp.asm to p_scbbp.asm, t1_bbt.asm to t1_scbbt.asm and term_bbt.asm to term_scbbt.asm and adjusted makefiles accordingly
boisy
parents:
2049
diff
changeset
|
44 term_scbbt.dt term_sc6551.dt t1_scbbt.dd t2_sc6551.dd t3_sc6551.dd \ |
2242 | 45 term32.dt term51.dt \ |
2383
b399116a3b5f
Now we have a /N descriptor... and the code in scdwn.asm to handle it.
boisy
parents:
2366
diff
changeset
|
46 scdwn.dr term_scdwn.dt n_scdwn.dd n1_scdwn.dd n2_scdwn.dd \ |
2324 | 47 n3_scdwn.dd n4_scdwn.dd n5_scdwn.dd n6_scdwn.dd n7_scdwn.dd \ |
48 n8_scdwn.dd n9_scdwn.dd n10_scdwn.dd n11_scdwn.dd n12_scdwn.dd \ | |
49 n13_scdwn.dd n14_scdwn.dd | |
2035 | 50 |
51 PIPE = pipeman.mn \ | |
52 piper.dr \ | |
53 pipe.dd | |
54 | |
55 ALLOBJS = $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RBF) $(SCF) $(PIPE) | |
56 | |
57 all: $(ALLOBJS) | |
58 | |
59 # Special cases | |
60 | |
2182 | 61 # DriveWire 3 |
62 boot_dw3_coco1: boot_dw3.asm | |
63 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aBAUD38400=1 | |
64 | |
65 dw3_coco1.sb: dw3.asm | |
66 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aBAUD38400=1 | |
67 | |
2035 | 68 # Kernel |
69 krn krnp2: | |
70 $(CD) kernel; make $@ | |
71 $(CP) kernel/$@ . | |
72 | |
73 boot_1773_6ms: boot_1773.asm | |
74 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 -aSTEP=0 | |
75 | |
76 boot_1773_30ms: boot_1773.asm | |
77 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 -aSTEP=3 | |
78 | |
79 rb1773_scii_ff74.dr: rb1773.asm | |
80 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSCII=1 | |
81 | |
82 rb1773_scii_ff58.dr: rb1773.asm | |
83 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSCII=1 -aSCIIALT=1 | |
84 | |
85 # Clocks | |
86 clock_60hz: clock.asm | |
87 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=60 | |
88 | |
89 clock_50hz: clock.asm | |
90 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=50 | |
91 | |
92 clock2_bnb: clock2_ds1315.asm | |
93 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aBNB=1 | |
94 | |
95 clock2_cloud9: clock2_ds1315.asm | |
96 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aCLOUD9=1 | |
97 | |
98 # Floppy descriptors | |
99 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ | |
100 -aInterlv=3 -aSAS=8 -aDensity=1 | |
101 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ | |
102 -aInterlv=3 -aSAS=8 -aDensity=1 | |
103 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ | |
104 -aInterlv=3 -aSAS=8 -aDensity=1 -aD35 | |
105 | |
106 ddd0_35s.dd: rb1773desc.asm | |
107 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 -aDD=1 | |
108 | |
109 d0_35s.dd: rb1773desc.asm | |
110 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 | |
111 | |
112 d1_35s.dd: rb1773desc.asm | |
113 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=1 | |
114 | |
115 d2_35s.dd: rb1773desc.asm | |
116 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=2 | |
117 | |
118 d3_35s.dd: rb1773desc.asm | |
119 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=3 | |
120 | |
121 ddd0_40d.dd: rb1773desc.asm | |
122 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 -aDD=1 | |
123 | |
124 d0_40d.dd: rb1773desc.asm | |
125 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 | |
126 | |
127 d1_40d.dd: rb1773desc.asm | |
128 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=1 | |
129 | |
130 d2_40d.dd: rb1773desc.asm | |
131 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=2 | |
132 | |
133 ddd0_80d.dd: rb1773desc.asm | |
134 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 -aDD=1 | |
135 | |
136 d0_80d.dd: rb1773desc.asm | |
137 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 | |
138 | |
139 d1_80d.dd: rb1773desc.asm | |
140 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=1 | |
141 | |
142 d2_80d.dd: rb1773desc.asm | |
143 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2 | |
144 | |
2258 | 145 # DriveWire 3 SCF descriptors |
2324 | 146 term_scdwn.dt: scdwndesc.asm |
147 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=0 | |
2258 | 148 |
2383
b399116a3b5f
Now we have a /N descriptor... and the code in scdwn.asm to handle it.
boisy
parents:
2366
diff
changeset
|
149 n_scdwn.dd: scdwndesc.asm |
b399116a3b5f
Now we have a /N descriptor... and the code in scdwn.asm to handle it.
boisy
parents:
2366
diff
changeset
|
150 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=255 |
b399116a3b5f
Now we have a /N descriptor... and the code in scdwn.asm to handle it.
boisy
parents:
2366
diff
changeset
|
151 |
2324 | 152 n1_scdwn.dd: scdwndesc.asm |
153 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=1 | |
2258 | 154 |
2324 | 155 n2_scdwn.dd: scdwndesc.asm |
156 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=2 | |
2258 | 157 |
2324 | 158 n3_scdwn.dd: scdwndesc.asm |
159 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=3 | |
2258 | 160 |
2324 | 161 n4_scdwn.dd: scdwndesc.asm |
162 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=4 | |
2258 | 163 |
2324 | 164 n5_scdwn.dd: scdwndesc.asm |
165 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=5 | |
2258 | 166 |
2324 | 167 n6_scdwn.dd: scdwndesc.asm |
168 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=6 | |
2296 | 169 |
2324 | 170 n7_scdwn.dd: scdwndesc.asm |
171 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=7 | |
2296 | 172 |
2324 | 173 n8_scdwn.dd: scdwndesc.asm |
2341 | 174 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=8 |
2296 | 175 |
2324 | 176 n9_scdwn.dd: scdwndesc.asm |
2341 | 177 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=9 |
2296 | 178 |
2324 | 179 n10_scdwn.dd: scdwndesc.asm |
2341 | 180 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=10 |
2296 | 181 |
2324 | 182 n11_scdwn.dd: scdwndesc.asm |
2341 | 183 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=11 |
2296 | 184 |
2324 | 185 n12_scdwn.dd: scdwndesc.asm |
2341 | 186 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=12 |
2296 | 187 |
2324 | 188 n13_scdwn.dd: scdwndesc.asm |
2341 | 189 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=13 |
2296 | 190 |
2324 | 191 n14_scdwn.dd: scdwndesc.asm |
2341 | 192 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=14 |
2258 | 193 |
194 # DriveWire 3 RBF descriptors | |
2180 | 195 ddx0.dd: dwdesc.asm |
196 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1 -aDNum=0 | |
197 | |
198 x0.dd: dwdesc.asm | |
199 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 | |
200 | |
201 x1.dd: dwdesc.asm | |
202 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=1 | |
203 | |
204 x2.dd: dwdesc.asm | |
205 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=2 | |
206 | |
207 x3.dd: dwdesc.asm | |
208 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=3 | |
209 | |
2035 | 210 rel: rel.asm |
211 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0 | |
212 | |
213 sysgo_dd: sysgo.asm | |
214 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDD=1 | |
215 | |
216 sysgo_h0: sysgo.asm | |
217 $(AS) $(AFLAGS) $(ASOUT)$@ $< | |
218 | |
219 clean: | |
220 $(CD) kernel; make $@ | |
221 $(RM) $(ALLOBJS) | |
222 | |
223 showobjs: | |
224 @$(ECHO) $(ALLOBJS) | |
225 | |
226 showboottrack: | |
227 @$(ECHO) $(BOOTTRACK) | |
228 | |
229 showkernel: | |
230 @$(ECHO) $(KERNEL) | |
231 | |
232 showsysmods: | |
233 @$(ECHO) $(SYSMODS) | |
234 | |
235 showclocks: | |
236 @$(ECHO) $(CLOCKS) | |
237 | |
238 showrbf: | |
239 @$(ECHO) $(RBF) | |
240 | |
241 showscf: | |
242 @$(ECHO) $(SCF) | |
243 | |
244 showpipe: | |
245 @$(ECHO) $(PIPE) | |
246 | |
247 identify: | |
248 $(IDENT_SHORT) $(ALLOBJS) | |
249 | |
250 |