Mercurial > hg > Members > kono > nitros9-code
annotate level2/coco3/modules/makefile @ 2869:cfa6222348f7
makefiles: Separate OS9COPY and CP macros
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sun, 24 Nov 2013 11:18:28 +0100 |
parents | cfa46960b6bd |
children | 3231faca9642 |
rev | line source |
---|---|
2048 | 1 PORT = coco3 |
2758
e4a0f58a5f9b
Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents:
2730
diff
changeset
|
2 ifndef NITROS9DIR |
e4a0f58a5f9b
Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents:
2730
diff
changeset
|
3 NITROS9DIR = $(HOME)/nitros9 |
e4a0f58a5f9b
Found that people who do not have the envirornment variable NITROS9DIR set before building the project get a error missing file "/rules.mak". Found this is caused do to the fact that the code to set this envirornment variable is in the rules.mak which can't get loaded.
drencor-xeen
parents:
2730
diff
changeset
|
4 endif |
2048 | 5 include $(NITROS9DIR)/rules.mak |
6 | |
2050 | 7 vpath %.asm kernel:$(LEVEL2)/modules:$(LEVEL1)/modules |
8 | |
9 AFLAGS += -I$(LEVEL1)/modules | |
2048 | 10 |
11 CLOCKELIM = -aRTCElim=1 | |
12 CLOCKDISTO2 = -aRTCDsto2=1 | |
13 CLOCKDISTO4 = -aRTCDsto4=1 | |
14 CLOCKBNB = -aRTCBB=1 | |
15 CLOCKSMART = -aRTCSmart=1 -aMPIFlag=1 | |
16 CLOCKHARRIS = -aRTCHarrs=1 | |
17 CLOCKCLOUD9 = -aRTCCloud9=1 | |
18 CLOCKSOFT = -aRTCSoft=1 | |
19 CLOCKMESSEMU = -aRTCMessEmu=1 | |
20 CLOCKJVEMU = -aRTCJVEmu=1 | |
2590 | 21 TC3FLAGS = $(AFLAGS) -aTC3=1 $(FLAGS) |
22 IDEFLAGS = $(AFLAGS) -aIDE=1 $(FLAGS) | |
2048 | 23 |
24 DEPENDS = ./makefile | |
2590 | 25 TPB = $(3RDPARTY)/booters |
2048 | 26 |
27 BOOTERS = boot_1773_6ms boot_1773_30ms \ | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
28 boot_burke boot_rampak boot_wd1002 boot_dw boot_dw_becker \ |
2609
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2590
diff
changeset
|
29 boot_tc3 boot_ide boot_rom |
2048 | 30 BOOTTRACK = rel_32 rel_40 rel_80 rel_32_50hz rel_40_50hz rel_80_50hz $(BOOTERS) krn |
31 KERNEL = krnp2 krnp3_perr krnp4_regdump | |
2609
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2590
diff
changeset
|
32 SYSMODS = ioman init sysgo_h0 sysgo_dd sysgo_rom rominfo vectors |
2048 | 33 CLOCKS = clock_60hz clock_50hz \ |
34 clock2_elim clock2_disto2 clock2_disto4 clock2_bnb \ | |
35 clock2_smart clock2_harris clock2_cloud9 clock2_soft \ | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
36 clock2_jvemu clock2_messemu clock2_dw clock2_dw_becker |
2048 | 37 |
38 RBF = rbf.mn \ | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
39 rbdw.dr dwio.sb dwio_becker.sb \ |
2048 | 40 rb1773.dr rb1773_scii_ff74.dr rb1773_scii_ff58.dr \ |
41 d0_35s.dd d1_35s.dd d2_35s.dd d3_35s.dd \ | |
42 d0_40d.dd d1_40d.dd d2_40d.dd d0_80d.dd \ | |
43 d1_80d.dd d2_80d.dd \ | |
44 ddd0_35s.dd ddd0_40d.dd ddd0_80d.dd \ | |
45 rammer.dr r0_8k.dd r0_96k.dd r0_128k.dd r0_192k.dd \ | |
2180 | 46 ddr0_8k.dd ddr0_96k.dd ddr0_128k.dd ddr0_192k.dd md.dd \ |
2590 | 47 ddx0.dd x0.dd x1.dd x2.dd x3.dd \ |
48 rbsuper.dr lltc3.dr llide.dr \ | |
49 ddi0_ide.dd i0_ide.dd i1_ide.dd ih_ide.dd \ | |
50 dds0_tc3.dd s0_tc3.dd s1_tc3.dd s2_tc3.dd s3_tc3.dd s4_tc3.dd \ | |
51 s5_tc3.dd s6_tc3.dd sh_tc3.dd | |
2048 | 52 |
53 SCF = scf.mn \ | |
2180 | 54 vtio.dr vrn.dr scbbp.dr scbbt.dr scdwp.dr sspak.dr sc6551.dr \ |
2048 | 55 cowin.io cogrf.io covdg.io covdg_small.io \ |
56 keydrv_cc3.sb snddrv_cc3.sb \ | |
57 joydrv_joy.sb joydrv_6551L.sb joydrv_6552L.sb \ | |
58 joydrv_6551M.sb joydrv_6552M.sb \ | |
2180 | 59 nil.dd p_scbbp.dd p_scdwp.dd \ |
2162
755b1b8ea019
Updated for new t1, p and term names for bit banger driver
boisy
parents:
2142
diff
changeset
|
60 t1_scbbt.dd t2_sc6551.dd t3_sc6551.dd \ |
755b1b8ea019
Updated for new t1, p and term names for bit banger driver
boisy
parents:
2142
diff
changeset
|
61 ftdd.dd vi.dd ssp.dd term_scbbt.dt term_sc6551.dt \ |
2048 | 62 term_vdg.dt term_win40.dt term_win80.dt w.dw w1.dw w2.dw \ |
2142 | 63 w3.dw w4.dw w5.dw w6.dw w7.dw \ |
64 w8.dw w9.dw w10.dw w11.dw w12.dw w13.dw w14.dw w15.dw \ | |
65 v1.dw v2.dw v3.dw v4.dw v5.dw \ | |
2242 | 66 v6.dw v7.dw \ |
2383
b399116a3b5f
Now we have a /N descriptor... and the code in scdwn.asm to handle it.
boisy
parents:
2367
diff
changeset
|
67 scdwn.dr term_scdwn.dt n_scdwn.dd \ |
b399116a3b5f
Now we have a /N descriptor... and the code in scdwn.asm to handle it.
boisy
parents:
2367
diff
changeset
|
68 n1_scdwn.dd n2_scdwn.dd n3_scdwn.dd \ |
2324 | 69 n4_scdwn.dd n5_scdwn.dd n6_scdwn.dd n7_scdwn.dd \ |
70 n8_scdwn.dd n9_scdwn.dd n10_scdwn.dd n11_scdwn.dd \ | |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
71 n12_scdwn.dd n13_scdwn.dd midi_scdwn.dd \ |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
72 term_z_scdwn.dd \ |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
73 z1_scdwn.dd z2_scdwn.dd z3_scdwn.dd z4_scdwn.dd z5_scdwn.dd \ |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
74 z6_scdwn.dd z7_scdwn.dd |
2048 | 75 |
76 PIPE = pipeman.mn pipeman_named.mn \ | |
77 piper.dr \ | |
78 pipe.dd | |
79 | |
2468 | 80 RFM = rfm.mn rfmdrv.dr ddy0.dd y0.dd y1.dd y2.dd y3.dd |
81 | |
2048 | 82 # |
83 # The following macros represent a collection of modules for various | |
84 # kernel tracks and bootfile configurations. | |
85 # | |
86 KERNEL_1773 = rel_32 boot_1773 krn | |
87 KERNEL_RAMPAK = rel_32 $(TPB)/boot_rampak krn | |
88 KERNEL_KENTON = rel_32 $(TPB)/boot_kenton krn | |
89 KERNEL_IDE = rel_32 $(TPB)/boot_ide krn | |
90 | |
2468 | 91 ALLOBJS = $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RBF) $(SCF) $(PIPE) $(RFM) |
2048 | 92 |
93 all: $(ALLOBJS) | |
94 | |
95 # Kernel | |
2615
530759e9f289
Added ccbkrn from Brett Gordon (level 2 only for now)
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
96 ccbkrn krn krnp2: |
2048 | 97 $(CD) kernel; make $@ |
2869
cfa6222348f7
makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents:
2868
diff
changeset
|
98 $(OS9COPY) kernel/$@ . |
2048 | 99 |
100 # Special cases | |
2590 | 101 # TC^3 SCSI Booter |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
102 # Here, ITDNS sets the scsi bus address of the boot drive, where |
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
103 # ITDNS = 1 = %00000001 |
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
104 # ITDNS = 2 = %00000010 |
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
105 # ITDNS = 3 = %00000100 etc |
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
106 # This is 4th byte from end of module |
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
107 # Controller hardware addr is usually $FF74 6th-5th byte from end of module |
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
108 # MPI = 1 = set MPI slot # from SDMPI in CtrlSlot if 1, Set $FF if zero |
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
109 |
2590 | 110 boot_tc3: boot_scsi.asm |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
111 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) -aITDNS=0 -aMPI=1 -aITDRV=1 |
2590 | 112 |
113 # SuperIDE/Glenside IDE Booter | |
114 boot_ide: boot_ide.asm | |
115 $(AS) $(ASOUT)$@ $< $(IDEFLAGS) | |
116 | |
117 # DriveWire 3 Becker Booter | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
118 boot_dw_becker: boot_dw.asm |
2547 | 119 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aBECKER=1 |
120 | |
2590 | 121 # DriveWire 3 Becker Submodule |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
122 dwio_becker.sb: dw.asm |
2547 | 123 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aBECKER=1 |
124 | |
2590 | 125 # CoGrf/CoVDG Modules |
2048 | 126 cogrf.io: cowin.asm |
2323 | 127 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aCoGrf=1 |
2048 | 128 |
2590 | 129 covdg.io: covdg.asm |
130 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aCOCO2=1 | |
131 | |
132 covdg_small.io: covdg.asm | |
133 $(AS) $(AFLAGS) $(ASOUT)$@ $< | |
134 | |
135 # Disto SC-II Drivers | |
2048 | 136 rb1773_scii_ff74.dr: rb1773.asm |
137 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSCII=1 | |
138 | |
139 rb1773_scii_ff58.dr: rb1773.asm | |
140 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSCII=1 -aSCIIALT=1 | |
141 | |
2590 | 142 # REL Modules |
2048 | 143 rel_32: rel.asm |
144 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=32 | |
145 | |
146 rel_40: rel.asm | |
147 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=40 | |
148 | |
149 rel_80: rel.asm | |
150 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=80 | |
151 | |
152 rel_32_50hz: rel.asm | |
153 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=32 -aTkPerSec=50 | |
154 | |
155 rel_40_50hz: rel.asm | |
156 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=40 -aTkPerSec=50 | |
157 | |
158 rel_80_50hz: rel.asm | |
159 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=80 -aTkPerSec=50 | |
160 | |
2590 | 161 # Floppy Booters |
2048 | 162 boot_1773_6ms: boot_1773.asm |
163 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSTEP=0 | |
164 | |
165 boot_1773_30ms: boot_1773.asm | |
166 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSTEP=3 | |
167 | |
2590 | 168 # SysGo Modules |
2048 | 169 sysgo_dd: sysgo.asm |
170 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1 | |
171 | |
172 sysgo_h0: sysgo.asm | |
173 $(AS) $< $(ASOUT)$@ $(AFLAGS) | |
174 | |
2609
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2590
diff
changeset
|
175 sysgo_rom: sysgo.asm |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2590
diff
changeset
|
176 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aROM=1 |
9dd4f422aac7
Added NitrOS-9 ROM Kit from Cloud-9
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2590
diff
changeset
|
177 |
2590 | 178 # TC^3 SCSI Driver |
179 lltc3.dr: llscsi.asm | |
180 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) | |
181 | |
182 # IDE Driver | |
183 llide.dr: llide.asm | |
184 $(AS) $(ASOUT)$@ $< $(IDEFLAGS) | |
185 | |
2048 | 186 # Floppy descriptors |
187 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ | |
188 -aInterlv=3 -aSAS=8 -aDensity=1 | |
189 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ | |
190 -aInterlv=3 -aSAS=8 -aDensity=1 | |
191 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ | |
192 -aInterlv=3 -aSAS=8 -aDensity=1 -aD35 | |
193 | |
194 ddd0_35s.dd: rb1773desc.asm | |
195 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 -aDD=1 | |
196 | |
197 d0_35s.dd: rb1773desc.asm | |
198 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 | |
199 | |
200 d1_35s.dd: rb1773desc.asm | |
201 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=1 | |
202 | |
203 d2_35s.dd: rb1773desc.asm | |
204 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=2 | |
205 | |
206 d3_35s.dd: rb1773desc.asm | |
207 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=3 | |
208 | |
209 ddd0_40d.dd: rb1773desc.asm | |
210 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 -aDD=1 | |
211 | |
212 d0_40d.dd: rb1773desc.asm | |
213 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 | |
214 | |
215 d1_40d.dd: rb1773desc.asm | |
216 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=1 | |
217 | |
218 d2_40d.dd: rb1773desc.asm | |
219 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=2 | |
220 | |
221 ddd0_80d.dd: rb1773desc.asm | |
222 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 -aDD=1 | |
223 | |
224 d0_80d.dd: rb1773desc.asm | |
225 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 | |
226 | |
227 d1_80d.dd: rb1773desc.asm | |
228 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=1 | |
229 | |
230 d2_80d.dd: rb1773desc.asm | |
231 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2 | |
232 | |
233 # RAM Disk descriptors | |
234 r0_8k.dd: r0.asm | |
235 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=8 | |
236 | |
237 ddr0_8k.dd: r0.asm | |
238 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=8 -aDD=1 | |
239 | |
240 r0_96k.dd: r0.asm | |
241 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=96 | |
242 | |
243 ddr0_96k.dd: r0.asm | |
244 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=96 -aDD=1 | |
245 | |
246 r0_128k.dd: r0.asm | |
247 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=128 | |
248 | |
249 ddr0_128k.dd: r0.asm | |
250 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=128 -aDD=1 | |
251 | |
252 r0_192k.dd: r0.asm | |
253 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192 | |
254 | |
255 ddr0_192k.dd: r0.asm | |
256 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192 -aDD=1 | |
257 | |
2258 | 258 # DriveWire 3 SCF descriptors |
2324 | 259 term_scdwn.dt: scdwndesc.asm |
260 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=0 | |
2258 | 261 |
2383
b399116a3b5f
Now we have a /N descriptor... and the code in scdwn.asm to handle it.
boisy
parents:
2367
diff
changeset
|
262 n_scdwn.dd: scdwndesc.asm |
b399116a3b5f
Now we have a /N descriptor... and the code in scdwn.asm to handle it.
boisy
parents:
2367
diff
changeset
|
263 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=255 |
b399116a3b5f
Now we have a /N descriptor... and the code in scdwn.asm to handle it.
boisy
parents:
2367
diff
changeset
|
264 |
2324 | 265 n1_scdwn.dd: scdwndesc.asm |
266 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=1 | |
2258 | 267 |
2324 | 268 n2_scdwn.dd: scdwndesc.asm |
269 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=2 | |
2258 | 270 |
2324 | 271 n3_scdwn.dd: scdwndesc.asm |
272 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=3 | |
2258 | 273 |
2324 | 274 n4_scdwn.dd: scdwndesc.asm |
275 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=4 | |
2258 | 276 |
2324 | 277 n5_scdwn.dd: scdwndesc.asm |
278 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=5 | |
2258 | 279 |
2324 | 280 n6_scdwn.dd: scdwndesc.asm |
281 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=6 | |
2293 | 282 |
2324 | 283 n7_scdwn.dd: scdwndesc.asm |
284 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=7 | |
2293 | 285 |
2324 | 286 n8_scdwn.dd: scdwndesc.asm |
2341 | 287 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=8 |
2293 | 288 |
2324 | 289 n9_scdwn.dd: scdwndesc.asm |
2341 | 290 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=9 |
2293 | 291 |
2324 | 292 n10_scdwn.dd: scdwndesc.asm |
2341 | 293 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=10 |
2293 | 294 |
2324 | 295 n11_scdwn.dd: scdwndesc.asm |
2341 | 296 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=11 |
2293 | 297 |
2324 | 298 n12_scdwn.dd: scdwndesc.asm |
2341 | 299 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=12 |
2293 | 300 |
2324 | 301 n13_scdwn.dd: scdwndesc.asm |
2341 | 302 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=13 |
2293 | 303 |
2544 | 304 midi_scdwn.dd: scdwndesc.asm |
2341 | 305 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=14 |
2258 | 306 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
307 term_z_scdwn.dd: scdwndesc.asm |
2662 | 308 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=16 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
309 |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
310 z1_scdwn.dd: scdwndesc.asm |
2662 | 311 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=17 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
312 |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
313 z2_scdwn.dd: scdwndesc.asm |
2662 | 314 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=18 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
315 |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
316 z3_scdwn.dd: scdwndesc.asm |
2662 | 317 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=19 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
318 |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
319 z4_scdwn.dd: scdwndesc.asm |
2662 | 320 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=20 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
321 |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
322 z5_scdwn.dd: scdwndesc.asm |
2662 | 323 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=21 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
324 |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
325 z6_scdwn.dd: scdwndesc.asm |
2662 | 326 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=22 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
327 |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
328 z7_scdwn.dd: scdwndesc.asm |
2662 | 329 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=23 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2615
diff
changeset
|
330 |
2258 | 331 # DriveWire 3 RBF descriptors |
2180 | 332 ddx0.dd: dwdesc.asm |
333 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1 -aDNum=0 | |
334 | |
335 x0.dd: dwdesc.asm | |
336 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 | |
337 | |
338 x1.dd: dwdesc.asm | |
339 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=1 | |
340 | |
341 x2.dd: dwdesc.asm | |
342 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=2 | |
343 | |
344 x3.dd: dwdesc.asm | |
345 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=3 | |
346 | |
2590 | 347 # TC^3 SCSI Descriptors |
348 dds0_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
349 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID0) -aDD=1 -aDnum=0 -aITDRV=0 |
2590 | 350 |
351 s0_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
352 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID0) $(SCSI_HD) -aDnum=0 -aITDRV=0 |
2590 | 353 |
354 s1_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
355 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID1) $(SCSI_HD) -aDnum=1 -aITDRV=1 |
2590 | 356 |
357 s2_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
358 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID2) $(SCSI_HD) -aDnum=2 -aITDRV=2 |
2590 | 359 |
360 s3_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
361 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID3) $(SCSI_HD) -aDnum=3 -aITDRV=3 |
2590 | 362 |
363 s4_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
364 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID4) $(SCSI_HD) -aDnum=4 -aITDRV=4 |
2590 | 365 |
366 s5_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
367 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID5) $(SCSI_HD) -aDnum=5 -aITDRV=5 |
2590 | 368 |
369 s6_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
370 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID6) $(SCSI_HD) -aDnum=6 -aITDRV=6 |
2590 | 371 |
372 sh_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
373 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(HDBDOS) $(SSDD35) -aHDBDOS=1 -aHB=1 -aDnum=7 -aITDRV=0 |
2590 | 374 |
375 # IDE Descriptors | |
376 ddi0_ide.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
377 $(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(MASTER) -aDnum=0 -aDD=1 -aITDRV=0 |
2590 | 378 |
379 i0_ide.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
380 $(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(MASTER) -aDnum=0 -aITDRV=0 |
2590 | 381 |
382 i1_ide.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
383 $(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(SLAVE) -aDnum=1 -aITDRV=1 |
2590 | 384 |
385 ih_ide.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2662
diff
changeset
|
386 $(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(SSDD35) -aHDBDOS=1 -aHD=1 -aDnum=0 -aITDRV=0 |
2590 | 387 |
2468 | 388 # RFM descriptors |
389 ddy0.dd: rfmdesc.asm | |
390 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1 -aDNum=0 | |
391 | |
392 y0.dd: rfmdesc.asm | |
393 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 | |
394 | |
395 y1.dd: rfmdesc.asm | |
396 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=1 | |
397 | |
398 y2.dd: rfmdesc.asm | |
399 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=2 | |
400 | |
401 y3.dd: rfmdesc.asm | |
402 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=3 | |
403 | |
2048 | 404 # Clocks |
405 clock_60hz: clock.asm | |
406 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=60 | |
407 | |
408 clock_50hz: clock.asm | |
409 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=50 | |
410 | |
411 clock2_cloud9: clock2_ds1315.asm | |
412 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aCLOUD9=1 | |
413 | |
414 clock2_bnb: clock2_ds1315.asm | |
415 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aBNB=1 | |
416 | |
2868
cfa46960b6bd
makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
417 clock2_dw_becker: clock2_dw.asm |
2547 | 418 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aBECKER=1 |
419 | |
2048 | 420 clean: |
421 $(CD) kernel; make $@ | |
422 $(RM) $(ALLOBJS) | |
423 | |
424 showobjs: | |
425 @$(ECHO) $(ALLOBJS) | |
426 | |
427 showboottrack: | |
428 @$(ECHO) $(BOOTTRACK) | |
429 | |
430 showkernel: | |
431 @$(ECHO) $(KERNEL) | |
432 | |
433 showsysmods: | |
434 @$(ECHO) $(SYSMODS) | |
435 | |
436 showclocks: | |
437 @$(ECHO) $(CLOCKS) | |
438 | |
439 showrbf: | |
440 @$(ECHO) $(RBF) | |
441 | |
442 showscf: | |
443 @$(ECHO) $(SCF) | |
444 | |
445 showpipe: | |
446 @$(ECHO) $(PIPE) | |
447 | |
448 identify: | |
449 $(IDENT_SHORT) $(ALLOBJS) |