annotate level3/coco3_6309/modules/makefile @ 2440:d5ba9175a498

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