annotate level2/coco3/modules/makefile @ 2162:755b1b8ea019

Updated for new t1, p and term names for bit banger driver
author boisy
date Tue, 20 May 2008 01:55:50 +0000
parents 68a76a1ed440
children 660cc987e18d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2048
boisy
parents:
diff changeset
1 PORT = coco3
boisy
parents:
diff changeset
2 include $(NITROS9DIR)/rules.mak
boisy
parents:
diff changeset
3
2050
d63587190d9b For porting
boisy
parents: 2048
diff changeset
4 vpath %.asm kernel:$(LEVEL2)/modules:$(LEVEL1)/modules
d63587190d9b For porting
boisy
parents: 2048
diff changeset
5
d63587190d9b For porting
boisy
parents: 2048
diff changeset
6 AFLAGS += -I$(LEVEL1)/modules
2048
boisy
parents:
diff changeset
7
boisy
parents:
diff changeset
8 CLOCKELIM = -aRTCElim=1
boisy
parents:
diff changeset
9 CLOCKDISTO2 = -aRTCDsto2=1
boisy
parents:
diff changeset
10 CLOCKDISTO4 = -aRTCDsto4=1
boisy
parents:
diff changeset
11 CLOCKBNB = -aRTCBB=1
boisy
parents:
diff changeset
12 CLOCKSMART = -aRTCSmart=1 -aMPIFlag=1
boisy
parents:
diff changeset
13 CLOCKHARRIS = -aRTCHarrs=1
boisy
parents:
diff changeset
14 CLOCKCLOUD9 = -aRTCCloud9=1
boisy
parents:
diff changeset
15 CLOCKSOFT = -aRTCSoft=1
boisy
parents:
diff changeset
16 CLOCKMESSEMU = -aRTCMessEmu=1
boisy
parents:
diff changeset
17 CLOCKJVEMU = -aRTCJVEmu=1
boisy
parents:
diff changeset
18
boisy
parents:
diff changeset
19 DEPENDS = ./makefile
boisy
parents:
diff changeset
20 TPB = ../../3rdparty/booters
boisy
parents:
diff changeset
21
boisy
parents:
diff changeset
22 BOOTERS = boot_1773_6ms boot_1773_30ms \
boisy
parents:
diff changeset
23 boot_burke boot_rampak boot_wd1002
boisy
parents:
diff changeset
24 BOOTTRACK = rel_32 rel_40 rel_80 rel_32_50hz rel_40_50hz rel_80_50hz $(BOOTERS) krn
boisy
parents:
diff changeset
25 KERNEL = krnp2 krnp3_perr krnp4_regdump
boisy
parents:
diff changeset
26 SYSMODS = ioman init sysgo_h0 sysgo_dd
boisy
parents:
diff changeset
27 CLOCKS = clock_60hz clock_50hz \
boisy
parents:
diff changeset
28 clock2_elim clock2_disto2 clock2_disto4 clock2_bnb \
boisy
parents:
diff changeset
29 clock2_smart clock2_harris clock2_cloud9 clock2_soft \
boisy
parents:
diff changeset
30 clock2_jvemu clock2_messemu
boisy
parents:
diff changeset
31
boisy
parents:
diff changeset
32 RBF = rbf.mn \
boisy
parents:
diff changeset
33 rb1773.dr rb1773_scii_ff74.dr rb1773_scii_ff58.dr \
boisy
parents:
diff changeset
34 d0_35s.dd d1_35s.dd d2_35s.dd d3_35s.dd \
boisy
parents:
diff changeset
35 d0_40d.dd d1_40d.dd d2_40d.dd d0_80d.dd \
boisy
parents:
diff changeset
36 d1_80d.dd d2_80d.dd \
boisy
parents:
diff changeset
37 ddd0_35s.dd ddd0_40d.dd ddd0_80d.dd \
boisy
parents:
diff changeset
38 rammer.dr r0_8k.dd r0_96k.dd r0_128k.dd r0_192k.dd \
boisy
parents:
diff changeset
39 ddr0_8k.dd ddr0_96k.dd ddr0_128k.dd ddr0_192k.dd md.dd
boisy
parents:
diff changeset
40
boisy
parents:
diff changeset
41
boisy
parents:
diff changeset
42 SCF = scf.mn \
boisy
parents:
diff changeset
43 vtio.dr vrn.dr scbbp.dr scbbt.dr sspak.dr sc6551.dr \
boisy
parents:
diff changeset
44 cowin.io cogrf.io covdg.io covdg_small.io \
boisy
parents:
diff changeset
45 keydrv_cc3.sb snddrv_cc3.sb \
boisy
parents:
diff changeset
46 joydrv_joy.sb joydrv_6551L.sb joydrv_6552L.sb \
boisy
parents:
diff changeset
47 joydrv_6551M.sb joydrv_6552M.sb \
2162
755b1b8ea019 Updated for new t1, p and term names for bit banger driver
boisy
parents: 2142
diff changeset
48 nil.dd p_scbbp.dd \
755b1b8ea019 Updated for new t1, p and term names for bit banger driver
boisy
parents: 2142
diff changeset
49 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
50 ftdd.dd vi.dd ssp.dd term_scbbt.dt term_sc6551.dt \
2048
boisy
parents:
diff changeset
51 term_vdg.dt term_win40.dt term_win80.dt w.dw w1.dw w2.dw \
2142
68a76a1ed440 Added W8-W15, updated standard.bl for SuperBoard
boisy
parents: 2050
diff changeset
52 w3.dw w4.dw w5.dw w6.dw w7.dw \
68a76a1ed440 Added W8-W15, updated standard.bl for SuperBoard
boisy
parents: 2050
diff changeset
53 w8.dw w9.dw w10.dw w11.dw w12.dw w13.dw w14.dw w15.dw \
68a76a1ed440 Added W8-W15, updated standard.bl for SuperBoard
boisy
parents: 2050
diff changeset
54 v1.dw v2.dw v3.dw v4.dw v5.dw \
2048
boisy
parents:
diff changeset
55 v6.dw v7.dw
boisy
parents:
diff changeset
56
boisy
parents:
diff changeset
57 PIPE = pipeman.mn pipeman_named.mn \
boisy
parents:
diff changeset
58 piper.dr \
boisy
parents:
diff changeset
59 pipe.dd
boisy
parents:
diff changeset
60
boisy
parents:
diff changeset
61 #
boisy
parents:
diff changeset
62 # The following macros represent a collection of modules for various
boisy
parents:
diff changeset
63 # kernel tracks and bootfile configurations.
boisy
parents:
diff changeset
64 #
boisy
parents:
diff changeset
65 KERNEL_1773 = rel_32 boot_1773 krn
boisy
parents:
diff changeset
66 KERNEL_RAMPAK = rel_32 $(TPB)/boot_rampak krn
boisy
parents:
diff changeset
67 KERNEL_KENTON = rel_32 $(TPB)/boot_kenton krn
boisy
parents:
diff changeset
68 KERNEL_IDE = rel_32 $(TPB)/boot_ide krn
boisy
parents:
diff changeset
69
boisy
parents:
diff changeset
70 ALLOBJS = $(BOOTTRACK) $(KERNEL) $(SYSMODS) $(CLOCKS) $(RBF) $(SCF) $(PIPE)
boisy
parents:
diff changeset
71
boisy
parents:
diff changeset
72 all: $(ALLOBJS)
boisy
parents:
diff changeset
73
boisy
parents:
diff changeset
74 # Kernel
boisy
parents:
diff changeset
75 krn krnp2:
boisy
parents:
diff changeset
76 $(CD) kernel; make $@
boisy
parents:
diff changeset
77 $(CP) kernel/$@ .
boisy
parents:
diff changeset
78
boisy
parents:
diff changeset
79 # Special cases
boisy
parents:
diff changeset
80 cogrf.io: cowin.asm
boisy
parents:
diff changeset
81 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aGrfInt=1
boisy
parents:
diff changeset
82
boisy
parents:
diff changeset
83 rb1773_scii_ff74.dr: rb1773.asm
boisy
parents:
diff changeset
84 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSCII=1
boisy
parents:
diff changeset
85
boisy
parents:
diff changeset
86 rb1773_scii_ff58.dr: rb1773.asm
boisy
parents:
diff changeset
87 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSCII=1 -aSCIIALT=1
boisy
parents:
diff changeset
88
boisy
parents:
diff changeset
89 rel_32: rel.asm
boisy
parents:
diff changeset
90 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=32
boisy
parents:
diff changeset
91
boisy
parents:
diff changeset
92 rel_40: rel.asm
boisy
parents:
diff changeset
93 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=40
boisy
parents:
diff changeset
94
boisy
parents:
diff changeset
95 rel_80: rel.asm
boisy
parents:
diff changeset
96 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=80
boisy
parents:
diff changeset
97
boisy
parents:
diff changeset
98 rel_32_50hz: rel.asm
boisy
parents:
diff changeset
99 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=32 -aTkPerSec=50
boisy
parents:
diff changeset
100
boisy
parents:
diff changeset
101 rel_40_50hz: rel.asm
boisy
parents:
diff changeset
102 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=40 -aTkPerSec=50
boisy
parents:
diff changeset
103
boisy
parents:
diff changeset
104 rel_80_50hz: rel.asm
boisy
parents:
diff changeset
105 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aWidth=80 -aTkPerSec=50
boisy
parents:
diff changeset
106
boisy
parents:
diff changeset
107 boot_1773_6ms: boot_1773.asm
boisy
parents:
diff changeset
108 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSTEP=0
boisy
parents:
diff changeset
109
boisy
parents:
diff changeset
110 boot_1773_30ms: boot_1773.asm
boisy
parents:
diff changeset
111 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSTEP=3
boisy
parents:
diff changeset
112
boisy
parents:
diff changeset
113 sysgo_dd: sysgo.asm
boisy
parents:
diff changeset
114 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aDD=1
boisy
parents:
diff changeset
115
boisy
parents:
diff changeset
116 sysgo_h0: sysgo.asm
boisy
parents:
diff changeset
117 $(AS) $< $(ASOUT)$@ $(AFLAGS)
boisy
parents:
diff changeset
118
boisy
parents:
diff changeset
119 # Floppy descriptors
boisy
parents:
diff changeset
120 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \
boisy
parents:
diff changeset
121 -aInterlv=3 -aSAS=8 -aDensity=1
boisy
parents:
diff changeset
122 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \
boisy
parents:
diff changeset
123 -aInterlv=3 -aSAS=8 -aDensity=1
boisy
parents:
diff changeset
124 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \
boisy
parents:
diff changeset
125 -aInterlv=3 -aSAS=8 -aDensity=1 -aD35
boisy
parents:
diff changeset
126
boisy
parents:
diff changeset
127 ddd0_35s.dd: rb1773desc.asm
boisy
parents:
diff changeset
128 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 -aDD=1
boisy
parents:
diff changeset
129
boisy
parents:
diff changeset
130 d0_35s.dd: rb1773desc.asm
boisy
parents:
diff changeset
131 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0
boisy
parents:
diff changeset
132
boisy
parents:
diff changeset
133 d1_35s.dd: rb1773desc.asm
boisy
parents:
diff changeset
134 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=1
boisy
parents:
diff changeset
135
boisy
parents:
diff changeset
136 d2_35s.dd: rb1773desc.asm
boisy
parents:
diff changeset
137 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=2
boisy
parents:
diff changeset
138
boisy
parents:
diff changeset
139 d3_35s.dd: rb1773desc.asm
boisy
parents:
diff changeset
140 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=3
boisy
parents:
diff changeset
141
boisy
parents:
diff changeset
142 ddd0_40d.dd: rb1773desc.asm
boisy
parents:
diff changeset
143 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 -aDD=1
boisy
parents:
diff changeset
144
boisy
parents:
diff changeset
145 d0_40d.dd: rb1773desc.asm
boisy
parents:
diff changeset
146 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0
boisy
parents:
diff changeset
147
boisy
parents:
diff changeset
148 d1_40d.dd: rb1773desc.asm
boisy
parents:
diff changeset
149 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=1
boisy
parents:
diff changeset
150
boisy
parents:
diff changeset
151 d2_40d.dd: rb1773desc.asm
boisy
parents:
diff changeset
152 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=2
boisy
parents:
diff changeset
153
boisy
parents:
diff changeset
154 ddd0_80d.dd: rb1773desc.asm
boisy
parents:
diff changeset
155 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 -aDD=1
boisy
parents:
diff changeset
156
boisy
parents:
diff changeset
157 d0_80d.dd: rb1773desc.asm
boisy
parents:
diff changeset
158 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0
boisy
parents:
diff changeset
159
boisy
parents:
diff changeset
160 d1_80d.dd: rb1773desc.asm
boisy
parents:
diff changeset
161 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=1
boisy
parents:
diff changeset
162
boisy
parents:
diff changeset
163 d2_80d.dd: rb1773desc.asm
boisy
parents:
diff changeset
164 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2
boisy
parents:
diff changeset
165
boisy
parents:
diff changeset
166 # RAM Disk descriptors
boisy
parents:
diff changeset
167 r0_8k.dd: r0.asm
boisy
parents:
diff changeset
168 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=8
boisy
parents:
diff changeset
169
boisy
parents:
diff changeset
170 ddr0_8k.dd: r0.asm
boisy
parents:
diff changeset
171 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=8 -aDD=1
boisy
parents:
diff changeset
172
boisy
parents:
diff changeset
173 r0_96k.dd: r0.asm
boisy
parents:
diff changeset
174 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=96
boisy
parents:
diff changeset
175
boisy
parents:
diff changeset
176 ddr0_96k.dd: r0.asm
boisy
parents:
diff changeset
177 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=96 -aDD=1
boisy
parents:
diff changeset
178
boisy
parents:
diff changeset
179 r0_128k.dd: r0.asm
boisy
parents:
diff changeset
180 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=128
boisy
parents:
diff changeset
181
boisy
parents:
diff changeset
182 ddr0_128k.dd: r0.asm
boisy
parents:
diff changeset
183 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=128 -aDD=1
boisy
parents:
diff changeset
184
boisy
parents:
diff changeset
185 r0_192k.dd: r0.asm
boisy
parents:
diff changeset
186 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192
boisy
parents:
diff changeset
187
boisy
parents:
diff changeset
188 ddr0_192k.dd: r0.asm
boisy
parents:
diff changeset
189 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192 -aDD=1
boisy
parents:
diff changeset
190
boisy
parents:
diff changeset
191 # VDGInt Modules
boisy
parents:
diff changeset
192 covdg.io: covdg.asm
boisy
parents:
diff changeset
193 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aCOCO2=1
boisy
parents:
diff changeset
194
boisy
parents:
diff changeset
195 covdg_small.io: covdg.asm
boisy
parents:
diff changeset
196 $(AS) $(AFLAGS) $(ASOUT)$@ $<
boisy
parents:
diff changeset
197
boisy
parents:
diff changeset
198 # Clocks
boisy
parents:
diff changeset
199 clock_60hz: clock.asm
boisy
parents:
diff changeset
200 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=60
boisy
parents:
diff changeset
201
boisy
parents:
diff changeset
202 clock_50hz: clock.asm
boisy
parents:
diff changeset
203 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aPwrLnFrq=50
boisy
parents:
diff changeset
204
boisy
parents:
diff changeset
205 clock2_cloud9: clock2_ds1315.asm
boisy
parents:
diff changeset
206 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aCLOUD9=1
boisy
parents:
diff changeset
207
boisy
parents:
diff changeset
208 clock2_bnb: clock2_ds1315.asm
boisy
parents:
diff changeset
209 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aBNB=1
boisy
parents:
diff changeset
210
boisy
parents:
diff changeset
211 clean:
boisy
parents:
diff changeset
212 $(CD) kernel; make $@
boisy
parents:
diff changeset
213 $(RM) $(ALLOBJS)
boisy
parents:
diff changeset
214
boisy
parents:
diff changeset
215 showobjs:
boisy
parents:
diff changeset
216 @$(ECHO) $(ALLOBJS)
boisy
parents:
diff changeset
217
boisy
parents:
diff changeset
218 showboottrack:
boisy
parents:
diff changeset
219 @$(ECHO) $(BOOTTRACK)
boisy
parents:
diff changeset
220
boisy
parents:
diff changeset
221 showkernel:
boisy
parents:
diff changeset
222 @$(ECHO) $(KERNEL)
boisy
parents:
diff changeset
223
boisy
parents:
diff changeset
224 showsysmods:
boisy
parents:
diff changeset
225 @$(ECHO) $(SYSMODS)
boisy
parents:
diff changeset
226
boisy
parents:
diff changeset
227 showclocks:
boisy
parents:
diff changeset
228 @$(ECHO) $(CLOCKS)
boisy
parents:
diff changeset
229
boisy
parents:
diff changeset
230 showrbf:
boisy
parents:
diff changeset
231 @$(ECHO) $(RBF)
boisy
parents:
diff changeset
232
boisy
parents:
diff changeset
233 showscf:
boisy
parents:
diff changeset
234 @$(ECHO) $(SCF)
boisy
parents:
diff changeset
235
boisy
parents:
diff changeset
236 showpipe:
boisy
parents:
diff changeset
237 @$(ECHO) $(PIPE)
boisy
parents:
diff changeset
238
boisy
parents:
diff changeset
239 identify:
boisy
parents:
diff changeset
240 $(IDENT_SHORT) $(ALLOBJS)