Mercurial > hg > Members > kono > nitros9-code
annotate level1/modules/makefile @ 1474:cfd326948cbc
Modified to accomodate new sio.asm
author | boisy |
---|---|
date | Mon, 15 Dec 2003 15:10:42 +0000 |
parents | 7196ac520479 |
children | df6f90e3e8c8 |
rev | line source |
---|---|
1363 | 1 include ../../rules.mak |
0 | 2 |
1313 | 3 CLOCKELIM = -aRTCElim=1 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
4 CLOCKDISTO2 = -aRTCElim=0 -aRTCDsto2=1 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 | |
5 CLOCKDISTO4 = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=1 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 | |
6 CLOCKBNB = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=1 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 | |
7 CLOCKSMART = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=1 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=1 | |
8 CLOCKHARRIS = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=1 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 | |
9 CLOCKTC3 = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=1 -aRTCSoft=0 -aMPIFlag=0 | |
10 CLOCKSOFT = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=1 -aMPIFlag=0 | |
11 | |
1363 | 12 DEPENDS = ./makefile |
355 | 13 TPB = $(3RDPARTY)/booters |
0 | 14 |
1213
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
15 BOOTERS = boot_1773_6ms boot_1773_30ms \ |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
16 boot_burke boot_idelba boot_rampak boot_wd1002 |
1299 | 17 BOOTTRACK = rel $(BOOTERS) |
1368 | 18 KERNEL = kernel kernelp2 |
1228 | 19 SYSMODS = ioman init sysgo_dd sysgo_h0 |
1313 | 20 CLOCKS = clock_60hz clock_50hz \ |
21 clock2_elim clock2_disto2 clock2_disto4 clock2_bnb \ | |
22 clock2_smart clock2_harris clock2_tc3 clock2_soft | |
1186 | 23 |
24 RBF = rbf.mn \ | |
25 ccdisk.dr cchdisk.dr \ | |
26 ddd0_35s.dd d0_35s.dd d1_35s.dd d2_35s.dd d3_35s.dd \ | |
293
404d2a69646f
Added more help files for additional verbose descriptors, removed
boisy
parents:
291
diff
changeset
|
27 ddd0_40d.dd d0_40d.dd d1_40d.dd d2_40d.dd \ |
404d2a69646f
Added more help files for additional verbose descriptors, removed
boisy
parents:
291
diff
changeset
|
28 ddd0_80d.dd d0_80d.dd d1_80d.dd d2_80d.dd \ |
1186 | 29 h0_15.dd h1_15.dd h0_35.dd h1_35.dd |
30 | |
31 SCF = scf.mn \ | |
1474 | 32 sacia.dr dacia.dr nildrv.dr printer.dr sio.dr sspak.dr ccio.dr \ |
1186 | 33 co32.io co80.io grfo.io \ |
1470 | 34 nil.dd p.dd pipe.dd ssp.dd \ |
35 term_t1.dd t1.dd t2_sacia.dd t3_sacia.dd t2_dacia.dd t3_dacia.dd \ | |
36 term32.dd term80.dd | |
1186 | 37 |
38 PIPE = pipeman.mn \ | |
39 piper.dr \ | |
40 pipe.dd | |
41 | |
42 ALLOBJS = $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RBF) $(SCF) $(PIPE) | |
0 | 43 |
1324 | 44 all: $(ALLOBJS) |
0 | 45 |
1186 | 46 # Special cases |
47 | |
1453 | 48 # Kernel |
49 kernel kernelp2: | |
50 $(CD) krnl; make $@ | |
51 $(CP) krnl/$@ . | |
52 | |
1213
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
53 boot_1773_6ms: boot_1773.asm |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
54 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 -aSTEP=0 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
55 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
56 boot_1773_30ms: boot_1773.asm |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
57 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 -aSTEP=3 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
58 |
1470 | 59 # Drivers |
60 sacia.dr: sacia.asm | |
61 $(AS) -aA6551=1 -aA6552=0 -aMPI.Slot=03 $(AFLAGS) $< $(ASOUT)$@ | |
62 | |
63 dacia.dr: sacia.asm | |
64 $(AS) -aA6551=0 -aA6552=1 -aMPI.Slot=03 $(AFLAGS) $< $(ASOUT)$@ | |
65 | |
1313 | 66 # Clocks |
67 clock_60hz: clock.asm | |
68 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=60 | |
69 | |
70 clock_50hz: clock.asm | |
71 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=50 | |
72 | |
73 clock2_elim: clock2.asm | |
74 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKELIM) | |
75 | |
76 clock2_disto2: clock2.asm | |
77 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKDISTO2) | |
78 | |
79 clock2_disto4: clock2.asm | |
80 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKDISTO4) | |
81 | |
82 clock2_bnb: clock2.asm | |
83 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKBNB) | |
84 | |
85 clock2_smart: clock2.asm | |
86 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKSMART) | |
87 | |
88 clock2_harris: clock2.asm | |
89 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKHARRIS) | |
90 | |
91 clock2_tc3: clock2.asm | |
92 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKTC3) | |
93 | |
94 clock2_soft: clock2.asm | |
95 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKSOFT) | |
96 | |
97 | |
1186 | 98 # Floppy descriptors |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
99 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ |
958 | 100 -aInterlv=3 -aSAS=8 -aDensity=1 |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
101 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
958 | 102 -aInterlv=3 -aSAS=8 -aDensity=1 |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
103 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
958 | 104 -aInterlv=3 -aSAS=8 -aDensity=3 |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
105 |
1138 | 106 ddd0_35s.dd: ccdiskdesc.asm |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
107 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 -aDD=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
108 |
1138 | 109 d0_35s.dd: ccdiskdesc.asm |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
110 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
111 |
1138 | 112 d1_35s.dd: ccdiskdesc.asm |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
113 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
114 |
1138 | 115 d2_35s.dd: ccdiskdesc.asm |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
116 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=2 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
117 |
1138 | 118 d3_35s.dd: ccdiskdesc.asm |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
119 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=3 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
120 |
1138 | 121 ddd0_40d.dd: ccdiskdesc.asm |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
122 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 -aDD=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
123 |
1138 | 124 d0_40d.dd: ccdiskdesc.asm |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
125 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
126 |
1138 | 127 d1_40d.dd: ccdiskdesc.asm |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
128 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
129 |
1138 | 130 d2_40d.dd: ccdiskdesc.asm |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
131 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=2 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
132 |
1138 | 133 ddd0_80d.dd: ccdiskdesc.asm |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
134 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 -aDD=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
135 |
1138 | 136 d0_80d.dd: ccdiskdesc.asm |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
137 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
138 |
1138 | 139 d1_80d.dd: ccdiskdesc.asm |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
140 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=1 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
141 |
1138 | 142 d2_80d.dd: ccdiskdesc.asm |
415
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
143 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2 |
79e595f4497b
All CCDisk device descriptors are now made from dx.asm
boisy
parents:
361
diff
changeset
|
144 |
1299 | 145 rel: rel.asm |
236 | 146 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0 |
235
3fa31ecd389a
Modified oscode to allow conditional assembly for Dragon 64
boisy
parents:
231
diff
changeset
|
147 |
1228 | 148 sysgo_dd: sysgo.asm |
149 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDD=1 | |
150 | |
151 sysgo_h0: sysgo.asm | |
152 $(AS) $(AFLAGS) $(ASOUT)$@ $< | |
275 | 153 |
1186 | 154 # Clocks |
1213
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
155 clock_elim: clock.asm |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
156 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aRTCElim=1 -aTPS=60 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
157 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
158 clock_disto2: clock.asm |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
159 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aRTCDsto2=1 -aTPS=60 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
160 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
161 clock_disto4: clock.asm |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
162 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aRTCDsto4=1 -aTPS=60 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
163 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
164 clock_bnb: clock.asm |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
165 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aRTCBB=1 -aTPS=60 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
166 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
167 clock_smart: clock.asm |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
168 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aRTCSmart=1 -aTPS=60 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
169 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
170 clock_harris: clock.asm |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
171 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aRTCHarrs=1 -aTPS=60 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
172 |
506 | 173 clock_tc3: clock.asm |
174 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aRTCTC3=1 -aTPS=60 | |
175 | |
1213
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
176 clock_soft: clock.asm |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
177 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aTPS=60 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
178 |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
179 clock_soft_50hz: clock.asm |
4e235f213651
Lots of changes: bootscripts and bootlists added, sources massaged...
boisy
parents:
1186
diff
changeset
|
180 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aTPS=50 |
506 | 181 |
0 | 182 clean: |
1454 | 183 $(CD) krnl; make $@ |
0 | 184 $(RM) $(ALLOBJS) |
185 | |
1186 | 186 showobjs: |
187 @$(ECHO) $(ALLOBJS) | |
188 | |
189 showboottrack: | |
190 @$(ECHO) $(BOOTTRACK) | |
191 | |
192 showkernel: | |
193 @$(ECHO) $(KERNEL) | |
194 | |
195 showsysmods: | |
196 @$(ECHO) $(SYSMODS) | |
197 | |
198 showclocks: | |
199 @$(ECHO) $(CLOCKS) | |
200 | |
201 showrbf: | |
202 @$(ECHO) $(RBF) | |
203 | |
204 showscf: | |
205 @$(ECHO) $(SCF) | |
206 | |
207 showpipe: | |
208 @$(ECHO) $(PIPE) | |
209 | |
95 | 210 identify: |
211 $(IDENT_SHORT) $(ALLOBJS) | |
107 | 212 |
323 | 213 |