Mercurial > hg > Members > kono > nitros9-code
annotate level2/modules/makefile @ 1391:d422cdc01f21
Removed keydrv_at
author | boisy |
---|---|
date | Tue, 30 Sep 2003 12:44:07 +0000 |
parents | c97cb6d7250f |
children | 95c71c2a441f |
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 \ | |
27 cc3disk.dr cc3hdisk.dr rammer.dr \ | |
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 \ | |
1227
70923b54cc47
cc3go_dd and cc3go_h0 are now part of the distribution, replacing cc3go.
boisy
parents:
1214
diff
changeset
|
32 ddr0_8k.dd ddr0_96k.dd ddr0_128k.dd ddr0_192k.dd md.dd \ |
1186 | 33 h0_10.dd h1_10.dd h0_15.dd h1_15.dd h0_35.dd h1_35.dd |
34 | |
35 SCF = scf.mn \ | |
1210
c04e954c87c6
Fixed MPI.Slot=00 problem in Makefile for sacia/dacia
boisy
parents:
1208
diff
changeset
|
36 cc3io.dr modpak.dr vrn.dr printer.dr sio.dr sspak.dr sacia.dr dacia.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 \ | |
1186 | 41 m1.dd m2.dd nil.dd p.dd t1.dd t2_sacia.dd \ |
0 | 42 t3_sacia.dd t2_dacia.dd t3_dacia.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 | |
1363 | 86 cc3hdisk.dr: $(6809L1)/modules/cchdisk.asm |
1186 | 87 $(AS) $< $(ASOUT)$@ $(AFLAGS) |
88 | |
1315 | 89 sysgo_dd: 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) -aDD=1 |
70923b54cc47
cc3go_dd and cc3go_h0 are now part of the distribution, replacing cc3go.
boisy
parents:
1214
diff
changeset
|
91 |
1315 | 92 sysgo_h0: sysgo.asm |
1227
70923b54cc47
cc3go_dd and cc3go_h0 are now part of the distribution, replacing cc3go.
boisy
parents:
1214
diff
changeset
|
93 $(AS) $< $(ASOUT)$@ $(AFLAGS) |
70923b54cc47
cc3go_dd and cc3go_h0 are now part of the distribution, replacing cc3go.
boisy
parents:
1214
diff
changeset
|
94 |
1186 | 95 # Floppy descriptors |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
96 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ |
957 | 97 -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
|
98 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
957 | 99 -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
|
100 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
957 | 101 -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
|
102 |
1139 | 103 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
|
104 $(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
|
105 |
1139 | 106 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
|
107 $(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
|
108 |
1139 | 109 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
|
110 $(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
|
111 |
1139 | 112 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
|
113 $(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
|
114 |
1139 | 115 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
|
116 $(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
|
117 |
1139 | 118 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
|
119 $(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
|
120 |
1139 | 121 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
|
122 $(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
|
123 |
1139 | 124 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
|
125 $(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
|
126 |
1139 | 127 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
|
128 $(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
|
129 |
1139 | 130 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
|
131 $(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
|
132 |
1139 | 133 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
|
134 $(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
|
135 |
1139 | 136 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
|
137 $(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
|
138 |
1139 | 139 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
|
140 $(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
|
141 |
412 | 142 # RAM Disk descriptors |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
143 r0_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 |
412 | 145 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
146 ddr0_8k.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=8 -aDD=1 |
412 | 148 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
149 r0_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 |
412 | 151 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
152 ddr0_96k.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=96 -aDD=1 |
412 | 154 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
155 r0_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 |
412 | 157 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
158 ddr0_128k.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=128 -aDD=1 |
412 | 160 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
161 r0_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 |
412 | 163 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
164 ddr0_192k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
165 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192 -aDD=1 |
412 | 166 |
1372 | 167 sacia.dr: sacia.asm |
1210
c04e954c87c6
Fixed MPI.Slot=00 problem in Makefile for sacia/dacia
boisy
parents:
1208
diff
changeset
|
168 $(AS) -aA6551=1 -aA6552=0 -aMPI.Slot=03 $(AFLAGS) $< $(ASOUT)$@ |
0 | 169 |
1372 | 170 dacia.dr: sacia.asm |
1210
c04e954c87c6
Fixed MPI.Slot=00 problem in Makefile for sacia/dacia
boisy
parents:
1208
diff
changeset
|
171 $(AS) -aA6551=0 -aA6552=1 -aMPI.Slot=03 $(AFLAGS) $< $(ASOUT)$@ |
0 | 172 |
756 | 173 # VDGInt Modules |
174 vdgint.io: vdgint.asm | |
175 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aCOCO2=1 | |
176 | |
177 vdgint_small.io: vdgint.asm | |
178 $(AS) $(AFLAGS) $(ASOUT)$@ $< | |
179 | |
180 # Clocks | |
1265 | 181 clock_60hz: clock.asm |
182 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=60 | |
183 | |
184 clock_50hz: clock.asm | |
1312 | 185 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=50 |
700
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
186 |
1265 | 187 clock2_elim: clock2.asm |
188 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKELIM) | |
189 | |
190 clock2_disto2: clock2.asm | |
191 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKDISTO2) | |
192 | |
193 clock2_disto4: clock2.asm | |
194 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKDISTO4) | |
195 | |
196 clock2_bnb: clock2.asm | |
197 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKBNB) | |
198 | |
199 clock2_smart: clock2.asm | |
200 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKSMART) | |
201 | |
202 clock2_harris: clock2.asm | |
203 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKHARRIS) | |
204 | |
205 clock2_tc3: clock2.asm | |
206 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKTC3) | |
207 | |
208 clock2_soft: clock2.asm | |
209 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKSOFT) | |
210 | |
0 | 211 clean: |
1370 | 212 $(CD) krnl; make $@ |
0 | 213 $(RM) $(ALLOBJS) |
214 | |
341 | 215 showobjs: |
216 @$(ECHO) $(ALLOBJS) | |
217 | |
1186 | 218 showboottrack: |
219 @$(ECHO) $(BOOTTRACK) | |
220 | |
221 showkernel: | |
222 @$(ECHO) $(KERNEL) | |
223 | |
224 showsysmods: | |
225 @$(ECHO) $(SYSMODS) | |
226 | |
227 showclocks: | |
228 @$(ECHO) $(CLOCKS) | |
229 | |
230 showrbf: | |
231 @$(ECHO) $(RBF) | |
232 | |
233 showscf: | |
234 @$(ECHO) $(SCF) | |
235 | |
236 showpipe: | |
237 @$(ECHO) $(PIPE) | |
341 | 238 |
100 | 239 identify: |
240 $(IDENT_SHORT) $(ALLOBJS) |