annotate level3/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 1addfd8c9d5f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2349
f506d1905781 Added Level 3
boisy
parents:
diff changeset
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: 2355
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: 2355
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: 2355
diff changeset
4 endif
2349
f506d1905781 Added Level 3
boisy
parents:
diff changeset
5 include $(NITROS9DIR)/rules.mak
f506d1905781 Added Level 3
boisy
parents:
diff changeset
6
2355
e58e995068aa Updated
boisy
parents: 2349
diff changeset
7 vpath %.asm kernel:$(LEVEL2)/modules/kernel:$(LEVEL3)/modules:$(LEVEL2)/modules:$(LEVEL1)/modules
2349
f506d1905781 Added Level 3
boisy
parents:
diff changeset
8
f506d1905781 Added Level 3
boisy
parents:
diff changeset
9 AFLAGS += -I$(LEVEL1)/modules
f506d1905781 Added Level 3
boisy
parents:
diff changeset
10
f506d1905781 Added Level 3
boisy
parents:
diff changeset
11 CLOCKELIM = -aRTCElim=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
12 CLOCKDISTO2 = -aRTCDsto2=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
13 CLOCKDISTO4 = -aRTCDsto4=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
14 CLOCKBNB = -aRTCBB=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
15 CLOCKSMART = -aRTCSmart=1 -aMPIFlag=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
16 CLOCKHARRIS = -aRTCHarrs=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
17 CLOCKCLOUD9 = -aRTCCloud9=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
18 CLOCKSOFT = -aRTCSoft=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
19 CLOCKMESSEMU = -aRTCMessEmu=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
20 CLOCKJVEMU = -aRTCJVEmu=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
21
f506d1905781 Added Level 3
boisy
parents:
diff changeset
22 DEPENDS = ./makefile
f506d1905781 Added Level 3
boisy
parents:
diff changeset
23 TPB = ../../3rdparty/booters
f506d1905781 Added Level 3
boisy
parents:
diff changeset
24
f506d1905781 Added Level 3
boisy
parents:
diff changeset
25 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
26 boot_burke boot_rampak boot_wd1002 boot_dw
2349
f506d1905781 Added Level 3
boisy
parents:
diff changeset
27 BOOTTRACK = rel_32 rel_40 rel_80 rel_32_50hz rel_40_50hz rel_80_50hz $(BOOTERS) krn
f506d1905781 Added Level 3
boisy
parents:
diff changeset
28 KERNEL = krnp2 krnp3_perr krnp4_regdump
2355
e58e995068aa Updated
boisy
parents: 2349
diff changeset
29 SYSMODS = ioman init sysgo_h0 sysgo_dd nitro end
2349
f506d1905781 Added Level 3
boisy
parents:
diff changeset
30 CLOCKS = clock_60hz clock_50hz \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
31 clock2_elim clock2_disto2 clock2_disto4 clock2_bnb \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
32 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
33 clock2_jvemu clock2_messemu clock2_dw
2349
f506d1905781 Added Level 3
boisy
parents:
diff changeset
34
f506d1905781 Added Level 3
boisy
parents:
diff changeset
35 RBF = rbf.mn \
2868
cfa46960b6bd makefiles: Rename DW3 to DW all over
Tormod Volden <debian.tormod@gmail.com>
parents: 2758
diff changeset
36 rbdw.dr dwio.sb \
2349
f506d1905781 Added Level 3
boisy
parents:
diff changeset
37 rb1773.dr rb1773_scii_ff74.dr rb1773_scii_ff58.dr \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
38 d0_35s.dd d1_35s.dd d2_35s.dd d3_35s.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
39 d0_40d.dd d1_40d.dd d2_40d.dd d0_80d.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
40 d1_80d.dd d2_80d.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
41 ddd0_35s.dd ddd0_40d.dd ddd0_80d.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
42 rammer.dr r0_8k.dd r0_96k.dd r0_128k.dd r0_192k.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
43 ddr0_8k.dd ddr0_96k.dd ddr0_128k.dd ddr0_192k.dd md.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
44 ddx0.dd x0.dd x1.dd x2.dd x3.dd
f506d1905781 Added Level 3
boisy
parents:
diff changeset
45
f506d1905781 Added Level 3
boisy
parents:
diff changeset
46
f506d1905781 Added Level 3
boisy
parents:
diff changeset
47 SCF = scf.mn \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
48 vtio.dr vrn.dr scbbp.dr scbbt.dr scdwp.dr sspak.dr sc6551.dr \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
49 cowin.io cogrf.io covdg.io covdg_small.io \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
50 keydrv_cc3.sb snddrv_cc3.sb \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
51 joydrv_joy.sb joydrv_6551L.sb joydrv_6552L.sb \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
52 joydrv_6551M.sb joydrv_6552M.sb \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
53 nil.dd p_scbbp.dd p_scdwp.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
54 t1_scbbt.dd t2_sc6551.dd t3_sc6551.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
55 ftdd.dd vi.dd ssp.dd term_scbbt.dt term_sc6551.dt \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
56 term_vdg.dt term_win40.dt term_win80.dt w.dw w1.dw w2.dw \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
57 w3.dw w4.dw w5.dw w6.dw w7.dw \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
58 w8.dw w9.dw w10.dw w11.dw w12.dw w13.dw w14.dw w15.dw \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
59 v1.dw v2.dw v3.dw v4.dw v5.dw \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
60 v6.dw v7.dw \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
61 scdwn.dr term_scdwn.dt n0_scdwn.dd n1_scdwn.dd n2_scdwn.dd n3_scdwn.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
62 n4_scdwn.dd n5_scdwn.dd n6_scdwn.dd n7_scdwn.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
63 n8_scdwn.dd n9_scdwn.dd n10_scdwn.dd n11_scdwn.dd \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
64 n12_scdwn.dd n13_scdwn.dd n14_scdwn.dd
f506d1905781 Added Level 3
boisy
parents:
diff changeset
65
f506d1905781 Added Level 3
boisy
parents:
diff changeset
66 PIPE = pipeman.mn pipeman_named.mn \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
67 piper.dr \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
68 pipe.dd
f506d1905781 Added Level 3
boisy
parents:
diff changeset
69
f506d1905781 Added Level 3
boisy
parents:
diff changeset
70 #
f506d1905781 Added Level 3
boisy
parents:
diff changeset
71 # The following macros represent a collection of modules for various
f506d1905781 Added Level 3
boisy
parents:
diff changeset
72 # kernel tracks and bootfile configurations.
f506d1905781 Added Level 3
boisy
parents:
diff changeset
73 #
f506d1905781 Added Level 3
boisy
parents:
diff changeset
74 KERNEL_1773 = rel_32 boot_1773 krn
f506d1905781 Added Level 3
boisy
parents:
diff changeset
75 KERNEL_RAMPAK = rel_32 $(TPB)/boot_rampak krn
f506d1905781 Added Level 3
boisy
parents:
diff changeset
76 KERNEL_KENTON = rel_32 $(TPB)/boot_kenton krn
f506d1905781 Added Level 3
boisy
parents:
diff changeset
77 KERNEL_IDE = rel_32 $(TPB)/boot_ide krn
f506d1905781 Added Level 3
boisy
parents:
diff changeset
78
f506d1905781 Added Level 3
boisy
parents:
diff changeset
79 ALLOBJS = $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RBF) $(SCF) $(PIPE)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
80
f506d1905781 Added Level 3
boisy
parents:
diff changeset
81 all: $(ALLOBJS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
82
f506d1905781 Added Level 3
boisy
parents:
diff changeset
83 # Kernel
f506d1905781 Added Level 3
boisy
parents:
diff changeset
84 krn krnp2:
f506d1905781 Added Level 3
boisy
parents:
diff changeset
85 $(CD) kernel; make $@
2869
cfa6222348f7 makefiles: Separate OS9COPY and CP macros
Tormod Volden <debian.tormod@gmail.com>
parents: 2868
diff changeset
86 $(OS9COPY) kernel/$@ .
2349
f506d1905781 Added Level 3
boisy
parents:
diff changeset
87
f506d1905781 Added Level 3
boisy
parents:
diff changeset
88 # Special cases
f506d1905781 Added Level 3
boisy
parents:
diff changeset
89 cogrf.io: cowin.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
90 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aCoGrf=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
91
f506d1905781 Added Level 3
boisy
parents:
diff changeset
92 rb1773_scii_ff74.dr: rb1773.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
93 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSCII=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
94
f506d1905781 Added Level 3
boisy
parents:
diff changeset
95 rb1773_scii_ff58.dr: rb1773.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
96 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSCII=1 -aSCIIALT=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
97
f506d1905781 Added Level 3
boisy
parents:
diff changeset
98 rel_32: rel.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
99 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=32
f506d1905781 Added Level 3
boisy
parents:
diff changeset
100
f506d1905781 Added Level 3
boisy
parents:
diff changeset
101 rel_40: rel.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
102 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=40
f506d1905781 Added Level 3
boisy
parents:
diff changeset
103
f506d1905781 Added Level 3
boisy
parents:
diff changeset
104 rel_80: rel.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
105 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=80
f506d1905781 Added Level 3
boisy
parents:
diff changeset
106
f506d1905781 Added Level 3
boisy
parents:
diff changeset
107 rel_32_50hz: rel.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
108 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=32 -aTkPerSec=50
f506d1905781 Added Level 3
boisy
parents:
diff changeset
109
f506d1905781 Added Level 3
boisy
parents:
diff changeset
110 rel_40_50hz: rel.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
111 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=40 -aTkPerSec=50
f506d1905781 Added Level 3
boisy
parents:
diff changeset
112
f506d1905781 Added Level 3
boisy
parents:
diff changeset
113 rel_80_50hz: rel.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
114 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=80 -aTkPerSec=50
f506d1905781 Added Level 3
boisy
parents:
diff changeset
115
f506d1905781 Added Level 3
boisy
parents:
diff changeset
116 boot_1773_6ms: boot_1773.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
117 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSTEP=0
f506d1905781 Added Level 3
boisy
parents:
diff changeset
118
f506d1905781 Added Level 3
boisy
parents:
diff changeset
119 boot_1773_30ms: boot_1773.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
120 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSTEP=3
f506d1905781 Added Level 3
boisy
parents:
diff changeset
121
f506d1905781 Added Level 3
boisy
parents:
diff changeset
122 sysgo_dd: sysgo.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
123 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
124
f506d1905781 Added Level 3
boisy
parents:
diff changeset
125 sysgo_h0: sysgo.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
126 $(AS) $< $(ASOUT)$@ $(AFLAGS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
127
f506d1905781 Added Level 3
boisy
parents:
diff changeset
128 # Floppy descriptors
f506d1905781 Added Level 3
boisy
parents:
diff changeset
129 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
130 -aInterlv=3 -aSAS=8 -aDensity=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
131 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
132 -aInterlv=3 -aSAS=8 -aDensity=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
133 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \
f506d1905781 Added Level 3
boisy
parents:
diff changeset
134 -aInterlv=3 -aSAS=8 -aDensity=1 -aD35
f506d1905781 Added Level 3
boisy
parents:
diff changeset
135
f506d1905781 Added Level 3
boisy
parents:
diff changeset
136 ddd0_35s.dd: rb1773desc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
137 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 -aDD=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
138
f506d1905781 Added Level 3
boisy
parents:
diff changeset
139 d0_35s.dd: rb1773desc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
140 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0
f506d1905781 Added Level 3
boisy
parents:
diff changeset
141
f506d1905781 Added Level 3
boisy
parents:
diff changeset
142 d1_35s.dd: rb1773desc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
143 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
144
f506d1905781 Added Level 3
boisy
parents:
diff changeset
145 d2_35s.dd: rb1773desc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
146 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=2
f506d1905781 Added Level 3
boisy
parents:
diff changeset
147
f506d1905781 Added Level 3
boisy
parents:
diff changeset
148 d3_35s.dd: rb1773desc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
149 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=3
f506d1905781 Added Level 3
boisy
parents:
diff changeset
150
f506d1905781 Added Level 3
boisy
parents:
diff changeset
151 ddd0_40d.dd: rb1773desc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
152 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 -aDD=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
153
f506d1905781 Added Level 3
boisy
parents:
diff changeset
154 d0_40d.dd: rb1773desc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
155 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0
f506d1905781 Added Level 3
boisy
parents:
diff changeset
156
f506d1905781 Added Level 3
boisy
parents:
diff changeset
157 d1_40d.dd: rb1773desc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
158 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
159
f506d1905781 Added Level 3
boisy
parents:
diff changeset
160 d2_40d.dd: rb1773desc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
161 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=2
f506d1905781 Added Level 3
boisy
parents:
diff changeset
162
f506d1905781 Added Level 3
boisy
parents:
diff changeset
163 ddd0_80d.dd: rb1773desc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
164 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 -aDD=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
165
f506d1905781 Added Level 3
boisy
parents:
diff changeset
166 d0_80d.dd: rb1773desc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
167 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0
f506d1905781 Added Level 3
boisy
parents:
diff changeset
168
f506d1905781 Added Level 3
boisy
parents:
diff changeset
169 d1_80d.dd: rb1773desc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
170 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
171
f506d1905781 Added Level 3
boisy
parents:
diff changeset
172 d2_80d.dd: rb1773desc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
173 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2
f506d1905781 Added Level 3
boisy
parents:
diff changeset
174
f506d1905781 Added Level 3
boisy
parents:
diff changeset
175 # RAM Disk descriptors
f506d1905781 Added Level 3
boisy
parents:
diff changeset
176 r0_8k.dd: r0.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
177 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=8
f506d1905781 Added Level 3
boisy
parents:
diff changeset
178
f506d1905781 Added Level 3
boisy
parents:
diff changeset
179 ddr0_8k.dd: r0.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
180 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=8 -aDD=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
181
f506d1905781 Added Level 3
boisy
parents:
diff changeset
182 r0_96k.dd: r0.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
183 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=96
f506d1905781 Added Level 3
boisy
parents:
diff changeset
184
f506d1905781 Added Level 3
boisy
parents:
diff changeset
185 ddr0_96k.dd: r0.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
186 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=96 -aDD=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
187
f506d1905781 Added Level 3
boisy
parents:
diff changeset
188 r0_128k.dd: r0.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
189 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=128
f506d1905781 Added Level 3
boisy
parents:
diff changeset
190
f506d1905781 Added Level 3
boisy
parents:
diff changeset
191 ddr0_128k.dd: r0.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
192 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=128 -aDD=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
193
f506d1905781 Added Level 3
boisy
parents:
diff changeset
194 r0_192k.dd: r0.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
195 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192
f506d1905781 Added Level 3
boisy
parents:
diff changeset
196
f506d1905781 Added Level 3
boisy
parents:
diff changeset
197 ddr0_192k.dd: r0.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
198 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192 -aDD=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
199
f506d1905781 Added Level 3
boisy
parents:
diff changeset
200 # DriveWire 3 SCF descriptors
f506d1905781 Added Level 3
boisy
parents:
diff changeset
201 term_scdwn.dt: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
202 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aTERM=1 -aAddr=0
f506d1905781 Added Level 3
boisy
parents:
diff changeset
203
f506d1905781 Added Level 3
boisy
parents:
diff changeset
204 n0_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
205 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=0
f506d1905781 Added Level 3
boisy
parents:
diff changeset
206
f506d1905781 Added Level 3
boisy
parents:
diff changeset
207 n1_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
208 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
209
f506d1905781 Added Level 3
boisy
parents:
diff changeset
210 n2_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
211 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=2
f506d1905781 Added Level 3
boisy
parents:
diff changeset
212
f506d1905781 Added Level 3
boisy
parents:
diff changeset
213 n3_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
214 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=3
f506d1905781 Added Level 3
boisy
parents:
diff changeset
215
f506d1905781 Added Level 3
boisy
parents:
diff changeset
216 n4_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
217 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=4
f506d1905781 Added Level 3
boisy
parents:
diff changeset
218
f506d1905781 Added Level 3
boisy
parents:
diff changeset
219 n5_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
220 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=5
f506d1905781 Added Level 3
boisy
parents:
diff changeset
221
f506d1905781 Added Level 3
boisy
parents:
diff changeset
222 n6_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
223 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=6
f506d1905781 Added Level 3
boisy
parents:
diff changeset
224
f506d1905781 Added Level 3
boisy
parents:
diff changeset
225 n7_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
226 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=7
f506d1905781 Added Level 3
boisy
parents:
diff changeset
227
f506d1905781 Added Level 3
boisy
parents:
diff changeset
228 n8_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
229 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=8
f506d1905781 Added Level 3
boisy
parents:
diff changeset
230
f506d1905781 Added Level 3
boisy
parents:
diff changeset
231 n9_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
232 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=9
f506d1905781 Added Level 3
boisy
parents:
diff changeset
233
f506d1905781 Added Level 3
boisy
parents:
diff changeset
234 n10_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
235 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=10
f506d1905781 Added Level 3
boisy
parents:
diff changeset
236
f506d1905781 Added Level 3
boisy
parents:
diff changeset
237 n11_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
238 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=11
f506d1905781 Added Level 3
boisy
parents:
diff changeset
239
f506d1905781 Added Level 3
boisy
parents:
diff changeset
240 n12_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
241 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=12
f506d1905781 Added Level 3
boisy
parents:
diff changeset
242
f506d1905781 Added Level 3
boisy
parents:
diff changeset
243 n13_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
244 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=13
f506d1905781 Added Level 3
boisy
parents:
diff changeset
245
f506d1905781 Added Level 3
boisy
parents:
diff changeset
246 n14_scdwn.dd: scdwndesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
247 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aAddr=14
f506d1905781 Added Level 3
boisy
parents:
diff changeset
248
f506d1905781 Added Level 3
boisy
parents:
diff changeset
249 # DriveWire 3 RBF descriptors
f506d1905781 Added Level 3
boisy
parents:
diff changeset
250 ddx0.dd: dwdesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
251 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1 -aDNum=0
f506d1905781 Added Level 3
boisy
parents:
diff changeset
252
f506d1905781 Added Level 3
boisy
parents:
diff changeset
253 x0.dd: dwdesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
254 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=0
f506d1905781 Added Level 3
boisy
parents:
diff changeset
255
f506d1905781 Added Level 3
boisy
parents:
diff changeset
256 x1.dd: dwdesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
257 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
258
f506d1905781 Added Level 3
boisy
parents:
diff changeset
259 x2.dd: dwdesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
260 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=2
f506d1905781 Added Level 3
boisy
parents:
diff changeset
261
f506d1905781 Added Level 3
boisy
parents:
diff changeset
262 x3.dd: dwdesc.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
263 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDNum=3
f506d1905781 Added Level 3
boisy
parents:
diff changeset
264
f506d1905781 Added Level 3
boisy
parents:
diff changeset
265 # VDGInt Modules
f506d1905781 Added Level 3
boisy
parents:
diff changeset
266 covdg.io: covdg.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
267 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aCOCO2=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
268
f506d1905781 Added Level 3
boisy
parents:
diff changeset
269 covdg_small.io: covdg.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
270 $(AS) $(AFLAGS) $(ASOUT)$@ $<
f506d1905781 Added Level 3
boisy
parents:
diff changeset
271
f506d1905781 Added Level 3
boisy
parents:
diff changeset
272 # Clocks
f506d1905781 Added Level 3
boisy
parents:
diff changeset
273 clock_60hz: clock.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
274 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=60
f506d1905781 Added Level 3
boisy
parents:
diff changeset
275
f506d1905781 Added Level 3
boisy
parents:
diff changeset
276 clock_50hz: clock.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
277 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=50
f506d1905781 Added Level 3
boisy
parents:
diff changeset
278
f506d1905781 Added Level 3
boisy
parents:
diff changeset
279 clock2_cloud9: clock2_ds1315.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
280 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aCLOUD9=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
281
f506d1905781 Added Level 3
boisy
parents:
diff changeset
282 clock2_bnb: clock2_ds1315.asm
f506d1905781 Added Level 3
boisy
parents:
diff changeset
283 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aBNB=1
f506d1905781 Added Level 3
boisy
parents:
diff changeset
284
f506d1905781 Added Level 3
boisy
parents:
diff changeset
285 clean:
f506d1905781 Added Level 3
boisy
parents:
diff changeset
286 $(CD) kernel; make $@
f506d1905781 Added Level 3
boisy
parents:
diff changeset
287 $(RM) $(ALLOBJS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
288
f506d1905781 Added Level 3
boisy
parents:
diff changeset
289 showobjs:
f506d1905781 Added Level 3
boisy
parents:
diff changeset
290 @$(ECHO) $(ALLOBJS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
291
f506d1905781 Added Level 3
boisy
parents:
diff changeset
292 showboottrack:
f506d1905781 Added Level 3
boisy
parents:
diff changeset
293 @$(ECHO) $(BOOTTRACK)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
294
f506d1905781 Added Level 3
boisy
parents:
diff changeset
295 showkernel:
f506d1905781 Added Level 3
boisy
parents:
diff changeset
296 @$(ECHO) $(KERNEL)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
297
f506d1905781 Added Level 3
boisy
parents:
diff changeset
298 showsysmods:
f506d1905781 Added Level 3
boisy
parents:
diff changeset
299 @$(ECHO) $(SYSMODS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
300
f506d1905781 Added Level 3
boisy
parents:
diff changeset
301 showclocks:
f506d1905781 Added Level 3
boisy
parents:
diff changeset
302 @$(ECHO) $(CLOCKS)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
303
f506d1905781 Added Level 3
boisy
parents:
diff changeset
304 showrbf:
f506d1905781 Added Level 3
boisy
parents:
diff changeset
305 @$(ECHO) $(RBF)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
306
f506d1905781 Added Level 3
boisy
parents:
diff changeset
307 showscf:
f506d1905781 Added Level 3
boisy
parents:
diff changeset
308 @$(ECHO) $(SCF)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
309
f506d1905781 Added Level 3
boisy
parents:
diff changeset
310 showpipe:
f506d1905781 Added Level 3
boisy
parents:
diff changeset
311 @$(ECHO) $(PIPE)
f506d1905781 Added Level 3
boisy
parents:
diff changeset
312
f506d1905781 Added Level 3
boisy
parents:
diff changeset
313 identify:
f506d1905781 Added Level 3
boisy
parents:
diff changeset
314 $(IDENT_SHORT) $(ALLOBJS)