Mercurial > hg > Members > kono > nitros9-code
annotate level2/modules/makefile @ 1508:34f1e3e66aef
Fixed comment
author | boisy |
---|---|
date | Wed, 14 Jan 2004 05:33:19 +0000 |
parents | d6ad827b8f59 |
children | b9a87d97494d |
rev | line source |
---|---|
1363 | 1 include ../../rules.mak |
1167 | 2 |
1369 | 3 vpath %.asm krnl:$(6809L1)/modules |
1186 | 4 |
700
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
5 CLOCKELIM = -aRTCElim=1 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
6 CLOCKDISTO2 = -aRTCElim=0 -aRTCDsto2=1 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
7 CLOCKDISTO4 = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=1 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
8 CLOCKBNB = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=1 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
9 CLOCKSMART = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=1 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=1 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
10 CLOCKHARRIS = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=1 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
11 CLOCKTC3 = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=1 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
12 CLOCKSOFT = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=1 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
13 |
1363 | 14 DEPENDS = ./makefile |
46 | 15 TPB = ../../3rdparty/booters |
0 | 16 |
1214 | 17 BOOTERS = boot_1773_6ms boot_1773_30ms \ |
18 boot_burke boot_idelba boot_rampak boot_wd1002 | |
1370 | 19 BOOTTRACK = rel_32 rel_40 rel_80 $(BOOTERS) kernel |
20 KERNEL = kernelp2 kernelp3_perr kernelp4_regdump | |
1315 | 21 SYSMODS = ioman init sysgo_h0 sysgo_dd |
1265 | 22 CLOCKS = clock_60hz clock_50hz \ |
23 clock2_elim clock2_disto2 clock2_disto4 clock2_bnb \ | |
24 clock2_smart clock2_harris clock2_tc3 clock2_soft | |
1186 | 25 |
26 RBF = rbf.mn \ | |
1477 | 27 cc3disk.dr rammer.dr \ |
1186 | 28 d0_35s.dd d1_35s.dd d2_35s.dd d3_35s.dd \ |
0 | 29 d0_40d.dd d1_40d.dd d2_40d.dd d0_80d.dd \ |
30 d1_80d.dd d2_80d.dd ddd0_35s.dd ddd0_40d.dd \ | |
31 ddd0_80d.dd r0_8k.dd r0_96k.dd r0_128k.dd r0_192k.dd \ | |
1477 | 32 ddr0_8k.dd ddr0_96k.dd ddr0_128k.dd ddr0_192k.dd md.dd |
33 | |
1186 | 34 |
35 SCF = scf.mn \ | |
1489 | 36 cc3io.dr vrn.dr printer.dr sio.dr sspak.dr sc6551.dr \ |
1186 | 37 windint.io vdgint.io vdgint_small.io \ |
1391 | 38 keydrv_cc3.sb snddrv_cc3.sb \ |
1254 | 39 joydrv_joy.sb joydrv_6551L.sb joydrv_6552L.sb \ |
40 joydrv_6551M.sb joydrv_6552M.sb \ | |
1472
95c71c2a441f
tx_yacia files moved to L-1, m1.asm and m2.asm removed
boisy
parents:
1391
diff
changeset
|
41 nil.dd p.dd \ |
1489 | 42 t1.dd t2_sc6551.dd t3_sc6551.dd \ |
1186 | 43 ftdd.dd vi.dd ssp.dd term_t1.dd \ |
44 term_vdg.dt term_win40.dt term_win80.dt w.dw w1.dw w2.dw \ | |
0 | 45 w3.dw w4.dw w5.dw w6.dw w7.dw v1.dw v2.dw v3.dw v4.dw v5.dw \ |
46 v6.dw v7.dw | |
47 | |
1186 | 48 PIPE = pipeman.mn pipeman_named.mn \ |
49 piper.dr \ | |
50 pipe.dd | |
51 | |
0 | 52 # |
53 # The following macros represent a collection of modules for various | |
54 # kernel tracks and bootfile configurations. | |
55 # | |
1370 | 56 KERNEL_1773 = rel_32 boot_1773 kernel |
57 KERNEL_RAMPAK = rel_32 $(TPB)/boot_rampak kernel | |
58 KERNEL_KENTON = rel_32 $(TPB)/boot_kenton kernel | |
59 KERNEL_IDE = rel_32 $(TPB)/boot_ide kernel | |
0 | 60 |
1186 | 61 ALLOBJS = $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RBF) $(SCF) $(PIPE) |
0 | 62 |
63 all: $(ALLOBJS) | |
64 | |
1253 | 65 # Kernel |
1370 | 66 kernel kernelp2: |
67 $(CD) krnl; make $@ | |
68 $(CP) krnl/$@ . | |
1253 | 69 |
1186 | 70 # Special cases |
1237 | 71 rel_32: rel.asm |
72 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=32 | |
73 | |
74 rel_40: rel.asm | |
75 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=40 | |
76 | |
77 rel_80: rel.asm | |
78 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=80 | |
79 | |
1214 | 80 boot_1773_6ms: boot_1773.asm |
81 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSTEP=0 | |
82 | |
83 boot_1773_30ms: boot_1773.asm | |
84 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSTEP=3 | |
85 | |
1315 | 86 sysgo_dd: sysgo.asm |
1227
70923b54cc47
cc3go_dd and cc3go_h0 are now part of the distribution, replacing cc3go.
boisy
parents:
1214
diff
changeset
|
87 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1 |
70923b54cc47
cc3go_dd and cc3go_h0 are now part of the distribution, replacing cc3go.
boisy
parents:
1214
diff
changeset
|
88 |
1315 | 89 sysgo_h0: sysgo.asm |
1227
70923b54cc47
cc3go_dd and cc3go_h0 are now part of the distribution, replacing cc3go.
boisy
parents:
1214
diff
changeset
|
90 $(AS) $< $(ASOUT)$@ $(AFLAGS) |
70923b54cc47
cc3go_dd and cc3go_h0 are now part of the distribution, replacing cc3go.
boisy
parents:
1214
diff
changeset
|
91 |
1186 | 92 # Floppy descriptors |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
93 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ |
957 | 94 -aInterlv=3 -aSAS=8 -aDensity=1 |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
95 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
957 | 96 -aInterlv=3 -aSAS=8 -aDensity=1 |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
97 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
957 | 98 -aInterlv=3 -aSAS=8 -aDensity=3 |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
99 |
1139 | 100 ddd0_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
101 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 -aDD=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
102 |
1139 | 103 d0_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
104 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
105 |
1139 | 106 d1_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
107 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
108 |
1139 | 109 d2_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
110 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=2 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
111 |
1139 | 112 d3_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
113 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=3 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
114 |
1139 | 115 ddd0_40d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
116 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 -aDD=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
117 |
1139 | 118 d0_40d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
119 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
120 |
1139 | 121 d1_40d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
122 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
123 |
1139 | 124 d2_40d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
125 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=2 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
126 |
1139 | 127 ddd0_80d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
128 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 -aDD=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
129 |
1139 | 130 d0_80d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
131 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
132 |
1139 | 133 d1_80d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
134 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
135 |
1139 | 136 d2_80d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
137 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
138 |
412 | 139 # RAM Disk descriptors |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
140 r0_8k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
141 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=8 |
412 | 142 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
143 ddr0_8k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
144 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=8 -aDD=1 |
412 | 145 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
146 r0_96k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
147 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=96 |
412 | 148 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
149 ddr0_96k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
150 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=96 -aDD=1 |
412 | 151 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
152 r0_128k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
153 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=128 |
412 | 154 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
155 ddr0_128k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
156 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=128 -aDD=1 |
412 | 157 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
158 r0_192k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
159 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192 |
412 | 160 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
161 ddr0_192k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
162 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192 -aDD=1 |
412 | 163 |
756 | 164 # VDGInt Modules |
165 vdgint.io: vdgint.asm | |
166 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aCOCO2=1 | |
167 | |
168 vdgint_small.io: vdgint.asm | |
169 $(AS) $(AFLAGS) $(ASOUT)$@ $< | |
170 | |
171 # Clocks | |
1265 | 172 clock_60hz: clock.asm |
173 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=60 | |
174 | |
175 clock_50hz: clock.asm | |
1312 | 176 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=50 |
700
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
177 |
1265 | 178 clock2_elim: clock2.asm |
179 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKELIM) | |
180 | |
181 clock2_disto2: clock2.asm | |
182 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKDISTO2) | |
183 | |
184 clock2_disto4: clock2.asm | |
185 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKDISTO4) | |
186 | |
187 clock2_bnb: clock2.asm | |
188 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKBNB) | |
189 | |
190 clock2_smart: clock2.asm | |
191 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKSMART) | |
192 | |
193 clock2_harris: clock2.asm | |
194 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKHARRIS) | |
195 | |
196 clock2_tc3: clock2.asm | |
197 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKTC3) | |
198 | |
199 clock2_soft: clock2.asm | |
200 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKSOFT) | |
201 | |
0 | 202 clean: |
1370 | 203 $(CD) krnl; make $@ |
0 | 204 $(RM) $(ALLOBJS) |
205 | |
341 | 206 showobjs: |
207 @$(ECHO) $(ALLOBJS) | |
208 | |
1186 | 209 showboottrack: |
210 @$(ECHO) $(BOOTTRACK) | |
211 | |
212 showkernel: | |
213 @$(ECHO) $(KERNEL) | |
214 | |
215 showsysmods: | |
216 @$(ECHO) $(SYSMODS) | |
217 | |
218 showclocks: | |
219 @$(ECHO) $(CLOCKS) | |
220 | |
221 showrbf: | |
222 @$(ECHO) $(RBF) | |
223 | |
224 showscf: | |
225 @$(ECHO) $(SCF) | |
226 | |
227 showpipe: | |
228 @$(ECHO) $(PIPE) | |
341 | 229 |
100 | 230 identify: |
231 $(IDENT_SHORT) $(ALLOBJS) |