Mercurial > hg > Members > kono > nitros9-code
annotate level1/coco/modules/makefile @ 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.
To fix this the code needed to set the envirornment variable that is in the rules.mak is now in the makefile(s) right before the include for the rules.mak file. This should fix the problem for those who do not have the NITROS9DIR envirornment variable preset.
author | drencor-xeen |
---|---|
date | Mon, 14 Jan 2013 14:37:46 -0600 |
parents | 05b7feef845a |
children | cfa46960b6bd |
rev | line source |
---|---|
2037 | 1 PORT = coco |
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:
2735
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:
2735
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:
2735
diff
changeset
|
4 endif |
2035 | 5 include $(NITROS9DIR)/rules.mak |
6 | |
2049 | 7 vpath %.asm $(LEVEL1)/modules |
8 | |
9 AFLAGS += -I$(LEVEL1)/modules | |
2035 | 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) | |
2035 | 23 |
24 DEPENDS = ./makefile | |
25 TPB = $(3RDPARTY)/booters | |
26 | |
27 BOOTERS = boot_1773_6ms boot_1773_30ms \ | |
2590 | 28 boot_burke boot_rampak boot_wd1002 boot_dw3 boot_dw3_coco1 \ |
2731
baa835d68db2
Changed rules.mak to remove "-l" option in the AFLAGS. This was done to supress the display of source to terminal screen while compiling project.
drencor-xeen
parents:
2730
diff
changeset
|
29 boot_tc3 boot_ide boot_rom boot_dw3_becker |
2035 | 30 BOOTTRACK = rel $(BOOTERS) |
2186 | 31 KERNEL = krn krnp2 wbug |
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_dd sysgo_h0 rominfo vectors |
2035 | 33 CLOCKS = clock_60hz clock_50hz \ |
34 clock2_elim clock2_disto2 clock2_disto4 clock2_bnb \ | |
35 clock2_smart clock2_harris clock2_cloud9 clock2_soft \ | |
2180 | 36 clock2_messemu clock2_jvemu clock2_dw3 |
2035 | 37 |
38 RBF = rbf.mn \ | |
2731
baa835d68db2
Changed rules.mak to remove "-l" option in the AFLAGS. This was done to supress the display of source to terminal screen while compiling project.
drencor-xeen
parents:
2730
diff
changeset
|
39 rbdw3.dr dw3.sb dw3_coco1.sb dw3_becker.sb \ |
2035 | 40 rb1773.dr rb1773_scii_ff74.dr rb1773_scii_ff58.dr \ |
41 ddd0_35s.dd d0_35s.dd d1_35s.dd d2_35s.dd d3_35s.dd \ | |
42 ddd0_40d.dd d0_40d.dd d1_40d.dd d2_40d.dd \ | |
2180 | 43 ddd0_80d.dd d0_80d.dd d1_80d.dd d2_80d.dd \ |
2590 | 44 ddx0.dd x0.dd x1.dd x2.dd x3.dd \ |
45 rbsuper.dr lltc3.dr llide.dr \ | |
2733
ebf319736e9c
Adjusted disk format for dw .dsk's, took a blank line out of regdmp to compact its display
gheskett
parents:
2730
diff
changeset
|
46 # lltc3.dr llide.dr \ |
2590 | 47 ddi0_ide.dd i0_ide.dd i1_ide.dd ih_ide.dd \ |
48 dds0_tc3.dd s0_tc3.dd s1_tc3.dd s2_tc3.dd s3_tc3.dd s4_tc3.dd \ | |
49 s5_tc3.dd s6_tc3.dd sh_tc3.dd | |
2035 | 50 |
51 SCF = scf.mn \ | |
2180 | 52 sc6551.dr vrn.dr scbbp.dr scbbt.dr scdwp.dr sspak.dr vtio.dr \ |
2035 | 53 covdg.io cohr.io \ |
2180 | 54 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
|
55 term_scbbt.dt term_sc6551.dt t1_scbbt.dd t2_sc6551.dd t3_sc6551.dd \ |
2242 | 56 term32.dt term51.dt \ |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
57 scdwn.dr term_scdwn.dt \ |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
58 n_scdwn.dd n1_scdwn.dd n2_scdwn.dd n3_scdwn.dd n4_scdwn.dd n5_scdwn.dd \ |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
59 n6_scdwn.dd n7_scdwn.dd n8_scdwn.dd n9_scdwn.dd n10_scdwn.dd \ |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
60 n11_scdwn.dd n12_scdwn.dd n13_scdwn.dd midi_scdwn.dd \ |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
61 term_z_scdwn.dd \ |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
62 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:
2609
diff
changeset
|
63 z6_scdwn.dd z7_scdwn.dd |
2035 | 64 |
65 PIPE = pipeman.mn \ | |
66 piper.dr \ | |
67 pipe.dd | |
68 | |
2468 | 69 RFM = rfm.mn rfmdrv.dr ddy0.dd y0.dd y1.dd y2.dd y3.dd |
70 | |
2462 | 71 ALLOBJS = $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RBF) $(SCF) $(PIPE) $(RFM) |
2035 | 72 |
73 all: $(ALLOBJS) | |
74 | |
2590 | 75 # Kernel |
76 krn krnp2: | |
77 $(CD) kernel; make $@ | |
78 $(CP) kernel/$@ . | |
79 | |
2035 | 80 # Special cases |
2590 | 81 # TC^3 SCSI Booter |
82 boot_tc3: boot_scsi.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2661
diff
changeset
|
83 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) -aMPI=1 -aDnum=0 -aITDRV=0 -aITDNS=0 |
2590 | 84 |
85 # SuperIDE/Glenside IDE Booter | |
86 boot_ide: boot_ide.asm | |
87 $(AS) $(ASOUT)$@ $< $(IDEFLAGS) | |
2035 | 88 |
2182 | 89 # DriveWire 3 |
90 boot_dw3_coco1: boot_dw3.asm | |
91 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aBAUD38400=1 | |
92 | |
2731
baa835d68db2
Changed rules.mak to remove "-l" option in the AFLAGS. This was done to supress the display of source to terminal screen while compiling project.
drencor-xeen
parents:
2730
diff
changeset
|
93 boot_dw3_becker: boot_dw3.asm |
baa835d68db2
Changed rules.mak to remove "-l" option in the AFLAGS. This was done to supress the display of source to terminal screen while compiling project.
drencor-xeen
parents:
2730
diff
changeset
|
94 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aBECKER=1 |
baa835d68db2
Changed rules.mak to remove "-l" option in the AFLAGS. This was done to supress the display of source to terminal screen while compiling project.
drencor-xeen
parents:
2730
diff
changeset
|
95 |
2182 | 96 dw3_coco1.sb: dw3.asm |
97 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aBAUD38400=1 | |
98 | |
2731
baa835d68db2
Changed rules.mak to remove "-l" option in the AFLAGS. This was done to supress the display of source to terminal screen while compiling project.
drencor-xeen
parents:
2730
diff
changeset
|
99 dw3_becker.sb: dw3.asm |
baa835d68db2
Changed rules.mak to remove "-l" option in the AFLAGS. This was done to supress the display of source to terminal screen while compiling project.
drencor-xeen
parents:
2730
diff
changeset
|
100 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aBECKER=1 |
baa835d68db2
Changed rules.mak to remove "-l" option in the AFLAGS. This was done to supress the display of source to terminal screen while compiling project.
drencor-xeen
parents:
2730
diff
changeset
|
101 |
2035 | 102 boot_1773_6ms: boot_1773.asm |
103 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 -aSTEP=0 | |
104 | |
105 boot_1773_30ms: boot_1773.asm | |
106 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 -aSTEP=3 | |
107 | |
108 rb1773_scii_ff74.dr: rb1773.asm | |
109 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSCII=1 | |
110 | |
111 rb1773_scii_ff58.dr: rb1773.asm | |
112 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSCII=1 -aSCIIALT=1 | |
113 | |
2590 | 114 # TC^3 SCSI Driver |
115 lltc3.dr: llscsi.asm | |
116 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) | |
2035 | 117 |
2590 | 118 # IDE Driver |
119 llide.dr: llide.asm | |
120 $(AS) $(ASOUT)$@ $< $(IDEFLAGS) | |
2035 | 121 |
122 # Floppy descriptors | |
123 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ | |
124 -aInterlv=3 -aSAS=8 -aDensity=1 | |
125 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ | |
126 -aInterlv=3 -aSAS=8 -aDensity=1 | |
127 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ | |
128 -aInterlv=3 -aSAS=8 -aDensity=1 -aD35 | |
129 | |
130 ddd0_35s.dd: rb1773desc.asm | |
131 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 -aDD=1 | |
132 | |
133 d0_35s.dd: rb1773desc.asm | |
134 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 | |
135 | |
136 d1_35s.dd: rb1773desc.asm | |
137 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=1 | |
138 | |
139 d2_35s.dd: rb1773desc.asm | |
140 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=2 | |
141 | |
142 d3_35s.dd: rb1773desc.asm | |
143 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=3 | |
144 | |
145 ddd0_40d.dd: rb1773desc.asm | |
146 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 -aDD=1 | |
147 | |
148 d0_40d.dd: rb1773desc.asm | |
149 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 | |
150 | |
151 d1_40d.dd: rb1773desc.asm | |
152 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=1 | |
153 | |
154 d2_40d.dd: rb1773desc.asm | |
155 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=2 | |
156 | |
157 ddd0_80d.dd: rb1773desc.asm | |
158 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 -aDD=1 | |
159 | |
160 d0_80d.dd: rb1773desc.asm | |
161 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 | |
162 | |
163 d1_80d.dd: rb1773desc.asm | |
164 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=1 | |
165 | |
166 d2_80d.dd: rb1773desc.asm | |
167 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2 | |
168 | |
2258 | 169 # DriveWire 3 SCF descriptors |
2324 | 170 term_scdwn.dt: scdwndesc.asm |
171 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=0 | |
2258 | 172 |
2383
b399116a3b5f
Now we have a /N descriptor... and the code in scdwn.asm to handle it.
boisy
parents:
2366
diff
changeset
|
173 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
|
174 $(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
|
175 |
2324 | 176 n1_scdwn.dd: scdwndesc.asm |
177 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=1 | |
2258 | 178 |
2324 | 179 n2_scdwn.dd: scdwndesc.asm |
180 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=2 | |
2258 | 181 |
2324 | 182 n3_scdwn.dd: scdwndesc.asm |
183 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=3 | |
2258 | 184 |
2324 | 185 n4_scdwn.dd: scdwndesc.asm |
186 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=4 | |
2258 | 187 |
2324 | 188 n5_scdwn.dd: scdwndesc.asm |
189 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=5 | |
2258 | 190 |
2324 | 191 n6_scdwn.dd: scdwndesc.asm |
192 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=6 | |
2296 | 193 |
2324 | 194 n7_scdwn.dd: scdwndesc.asm |
195 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=7 | |
2296 | 196 |
2324 | 197 n8_scdwn.dd: scdwndesc.asm |
2341 | 198 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=8 |
2296 | 199 |
2324 | 200 n9_scdwn.dd: scdwndesc.asm |
2341 | 201 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=9 |
2296 | 202 |
2324 | 203 n10_scdwn.dd: scdwndesc.asm |
2341 | 204 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=10 |
2296 | 205 |
2324 | 206 n11_scdwn.dd: scdwndesc.asm |
2341 | 207 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=11 |
2296 | 208 |
2324 | 209 n12_scdwn.dd: scdwndesc.asm |
2341 | 210 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=12 |
2296 | 211 |
2324 | 212 n13_scdwn.dd: scdwndesc.asm |
2341 | 213 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=13 |
2296 | 214 |
2543
86e18364d3de
change descriptor and makefiles for dw midi device
aaronwolfe
parents:
2468
diff
changeset
|
215 midi_scdwn.dd: scdwndesc.asm |
2341 | 216 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=14 |
2258 | 217 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
218 term_z_scdwn.dd: scdwndesc.asm |
2661
9e9ed6d6b4c2
Updated so that scdwn handles SS.Montr
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2659
diff
changeset
|
219 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=16 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
220 |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
221 z1_scdwn.dd: scdwndesc.asm |
2661
9e9ed6d6b4c2
Updated so that scdwn handles SS.Montr
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2659
diff
changeset
|
222 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=17 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
223 |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
224 z2_scdwn.dd: scdwndesc.asm |
2661
9e9ed6d6b4c2
Updated so that scdwn handles SS.Montr
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2659
diff
changeset
|
225 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=18 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
226 |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
227 z3_scdwn.dd: scdwndesc.asm |
2661
9e9ed6d6b4c2
Updated so that scdwn handles SS.Montr
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2659
diff
changeset
|
228 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=19 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
229 |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
230 z4_scdwn.dd: scdwndesc.asm |
2661
9e9ed6d6b4c2
Updated so that scdwn handles SS.Montr
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2659
diff
changeset
|
231 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=20 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
232 |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
233 z5_scdwn.dd: scdwndesc.asm |
2661
9e9ed6d6b4c2
Updated so that scdwn handles SS.Montr
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2659
diff
changeset
|
234 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=21 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
235 |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
236 z6_scdwn.dd: scdwndesc.asm |
2661
9e9ed6d6b4c2
Updated so that scdwn handles SS.Montr
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2659
diff
changeset
|
237 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=22 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
238 |
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
239 z7_scdwn.dd: scdwndesc.asm |
2661
9e9ed6d6b4c2
Updated so that scdwn handles SS.Montr
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2659
diff
changeset
|
240 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=23 |
2659
95c7e747c154
Added support for virtual window (/Zx) devices
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2609
diff
changeset
|
241 |
2258 | 242 # DriveWire 3 RBF descriptors |
2180 | 243 ddx0.dd: dwdesc.asm |
244 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1 -aDNum=0 | |
245 | |
246 x0.dd: dwdesc.asm | |
247 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 | |
248 | |
249 x1.dd: dwdesc.asm | |
250 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=1 | |
251 | |
252 x2.dd: dwdesc.asm | |
253 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=2 | |
254 | |
255 x3.dd: dwdesc.asm | |
256 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=3 | |
257 | |
2590 | 258 # TC^3 SCSI Descriptors |
259 dds0_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2661
diff
changeset
|
260 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID0) -aDD=1 -aDnum=0 -aITDRV=0 |
2590 | 261 |
262 s0_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2661
diff
changeset
|
263 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID0) $(SCSI_HD) -aDnum=0 -aITDRV=0 |
2590 | 264 |
265 s1_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2661
diff
changeset
|
266 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID1) $(SCSI_HD) -aDnum=1 -aITDRV=1 |
2590 | 267 |
268 s2_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2661
diff
changeset
|
269 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID2) $(SCSI_HD) -aDnum=2 -aITDRV=2 |
2590 | 270 |
271 s3_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2661
diff
changeset
|
272 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID3) $(SCSI_HD) -aDnum=3 -aITDRV=3 |
2590 | 273 |
274 s4_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2661
diff
changeset
|
275 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID4) $(SCSI_HD) -aDnum=4 -aITDRV=4 |
2590 | 276 |
277 s5_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2661
diff
changeset
|
278 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID5) $(SCSI_HD) -aDnum=5 -aITDRV=5 |
2590 | 279 |
280 s6_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2661
diff
changeset
|
281 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(ID6) $(SCSI_HD) -aDnum=6 -aITDRV=6 |
2590 | 282 |
283 sh_tc3.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2661
diff
changeset
|
284 $(AS) $(ASOUT)$@ $< $(TC3FLAGS) $(SSDD35) -aHDBDOS=1 -aHD=1 -a Dnum=7 -aITDRV=0 |
2590 | 285 |
286 # IDE Descriptors | |
287 ddi0_ide.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2661
diff
changeset
|
288 $(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(MASTER) -aDD=1 -aDnum=0 -aITDRV=0 |
2590 | 289 |
290 i0_ide.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2661
diff
changeset
|
291 $(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(MASTER) -aDnum=0 -aITDRV=0 |
2590 | 292 |
293 i1_ide.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2661
diff
changeset
|
294 $(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(SLAVE) -aDnum=1 -aITDRV=1 |
2590 | 295 |
296 ih_ide.dd: superdesc.asm | |
2730
6bd6e348665d
Working on cloned default branch, pulled 2012/11/03
gheskett@wdtv.com
parents:
2661
diff
changeset
|
297 $(AS) $(ASOUT)$@ $< $(IDEFLAGS) $(SSDD35) -aHD=1 -aHDBDOS=1 -aDnum=0 -aITDRV=0 |
2590 | 298 |
2468 | 299 # RFM descriptors |
300 ddy0.dd: rfmdesc.asm | |
301 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1 -aDNum=0 | |
302 | |
303 y0.dd: rfmdesc.asm | |
304 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0 | |
305 | |
306 y1.dd: rfmdesc.asm | |
307 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=1 | |
308 | |
309 y2.dd: rfmdesc.asm | |
310 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=2 | |
311 | |
312 y3.dd: rfmdesc.asm | |
313 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=3 | |
314 | |
2035 | 315 rel: rel.asm |
316 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDragon64=0 | |
317 | |
318 sysgo_dd: sysgo.asm | |
319 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aDD=1 | |
320 | |
321 sysgo_h0: sysgo.asm | |
322 $(AS) $(AFLAGS) $(ASOUT)$@ $< | |
323 | |
2590 | 324 # Clocks |
325 clock_60hz: clock.asm | |
326 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=60 | |
327 | |
328 clock_50hz: clock.asm | |
329 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=50 | |
330 | |
331 clock2_bnb: clock2_ds1315.asm | |
332 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aBNB=1 | |
333 | |
334 clock2_cloud9: clock2_ds1315.asm | |
335 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aCLOUD9=1 | |
336 | |
2035 | 337 clean: |
338 $(CD) kernel; make $@ | |
339 $(RM) $(ALLOBJS) | |
340 | |
341 showobjs: | |
342 @$(ECHO) $(ALLOBJS) | |
343 | |
344 showboottrack: | |
345 @$(ECHO) $(BOOTTRACK) | |
346 | |
347 showkernel: | |
348 @$(ECHO) $(KERNEL) | |
349 | |
350 showsysmods: | |
351 @$(ECHO) $(SYSMODS) | |
352 | |
353 showclocks: | |
354 @$(ECHO) $(CLOCKS) | |
355 | |
356 showrbf: | |
357 @$(ECHO) $(RBF) | |
358 | |
359 showscf: | |
360 @$(ECHO) $(SCF) | |
361 | |
362 showpipe: | |
363 @$(ECHO) $(PIPE) | |
364 | |
365 identify: | |
366 $(IDENT_SHORT) $(ALLOBJS) | |
367 | |
368 |