Mercurial > hg > Members > kono > nitros9-code
annotate level2/modules/makefile @ 1139:d28bdaf5f857
Renamed dx.asm to cc3diskdesc.asm
cc3go now reflects release date for 3.1.1
author | boisy |
---|---|
date | Fri, 18 Apr 2003 16:30:26 +0000 |
parents | c847e6ee341d |
children | a3d0ac951684 |
rev | line source |
---|---|
0 | 1 include ../../Makefile.rules |
2 | |
700
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
3 CLOCKELIM = -aRTCElim=1 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
4 CLOCKDISTO2 = -aRTCElim=0 -aRTCDsto2=1 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
5 CLOCKDISTO4 = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=1 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
6 CLOCKBNB = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=1 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
7 CLOCKSMART = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=1 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=1 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
8 CLOCKHARRIS = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=1 -aRTCTc3=0 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
9 CLOCKTC3 = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=1 -aRTCSoft=0 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
10 CLOCKSOFT = -aRTCElim=0 -aRTCDsto2=0 -aRTCDsto4=0 -aRTCBB=0 -aRTCSmart=0 -aRTCHarrs=0 -aRTCTc3=0 -aRTCSoft=1 -aMPIFlag=0 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
11 |
0 | 12 DEPENDS = ./Makefile |
46 | 13 TPB = ../../3rdparty/booters |
0 | 14 |
46 | 15 BOOTERS = boot_1773 |
342
56297204e8da
Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents:
341
diff
changeset
|
16 OS9P1 = os9p1 |
56297204e8da
Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents:
341
diff
changeset
|
17 OS9P2 = os9p2 |
56297204e8da
Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents:
341
diff
changeset
|
18 REL = rel |
747 | 19 SYSMODS = ioman init cc3go os9p3_perr os9p4_regdump |
700
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
20 CLOCKS = clock_elim clock_disto2 clock_disto4 clock_bnb \ |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
21 clock_smart clock_harris clock_tc3 clock_soft |
0 | 22 FMGRS = scf.mn rbf.mn pipeman.mn pipeman_named.mn |
23 DRIVERS = cc3disk.dr cc3hdisk.dr cc3io.dr modpak.dr \ | |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
24 vrn.dr piper.dr printer.dr sio.dr rammer.dr sspak.dr \ |
344 | 25 sacia.dr dacia.dr |
756 | 26 IOSUBS = windint.io vdgint.io vdgint_small.io \ |
27 keydrv joydrv_joy \ | |
0 | 28 joydrv_6551L joydrv_6552L joydrv_6551M joydrv_6552M snddrv |
29 DESCS = d0_35s.dd d1_35s.dd d2_35s.dd d3_35s.dd \ | |
30 d0_40d.dd d1_40d.dd d2_40d.dd d0_80d.dd \ | |
31 d1_80d.dd d2_80d.dd ddd0_35s.dd ddd0_40d.dd \ | |
32 ddd0_80d.dd r0_8k.dd r0_96k.dd r0_128k.dd r0_192k.dd \ | |
33 ddr0_8k.dd ddr0_96k.dd ddr0_128k.dd ddr0_192k.dd \ | |
344 | 34 m1.dd m2.dd nil.dd p.dd pipe.dd t1.dd t2_sacia.dd \ |
0 | 35 t3_sacia.dd t2_dacia.dd t3_dacia.dd \ |
36 h0_10.dd h1_10.dd h0_15.dd h1_15.dd h0_35.dd h1_35.dd \ | |
344 | 37 ftdd.dd vi.dd ssp.dd term_t1.dd |
0 | 38 WINDESCS = term_vdg.dt term_win40.dt term_win80.dt w.dw w1.dw w2.dw \ |
39 w3.dw w4.dw w5.dw w6.dw w7.dw v1.dw v2.dw v3.dw v4.dw v5.dw \ | |
40 v6.dw v7.dw | |
41 | |
42 # | |
43 # The following macros represent a collection of modules for various | |
44 # kernel tracks and bootfile configurations. | |
45 # | |
46 KERNEL_1773 = rel boot_1773 os9p1 | |
46 | 47 KERNEL_RAMPAK = rel $(TPB)/boot_rampak os9p1 |
48 KERNEL_KENTON = rel $(TPB)/boot_kenton os9p1 | |
49 KERNEL_IDE = rel $(TPB)/boot_ide os9p1 | |
0 | 50 |
1086 | 51 ALLOBJS = $(BOOTERS) $(OS9P1) $(OS9P2) $(REL) $(SYSMODS) $(CLOCKS) $(FMGRS) \ |
432
03c6934e5d62
Window descriptors set up for enhanced SCF command line edition for duplicate
boisy
parents:
412
diff
changeset
|
52 $(DRIVERS) $(IOSUBS) $(DESCS) $(WINDESCS) |
0 | 53 |
54 all: $(ALLOBJS) | |
55 | |
56 # Special cases here | |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
57 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ |
957 | 58 -aInterlv=3 -aSAS=8 -aDensity=1 |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
59 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
957 | 60 -aInterlv=3 -aSAS=8 -aDensity=1 |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
61 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
957 | 62 -aInterlv=3 -aSAS=8 -aDensity=3 |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
63 |
1069 | 64 # Special cases |
65 cc3hdisk.dr: ../../level1/MODULES/cchdisk.asm | |
66 $(AS) $< $(ASOUT)$@ $(AFLAGS) | |
67 | |
412 | 68 # Floppy descriptors |
1139 | 69 ddd0_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
70 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 -aDD=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
71 |
1139 | 72 d0_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
73 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=0 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
74 |
1139 | 75 d1_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
76 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
77 |
1139 | 78 d2_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
79 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=2 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
80 |
1139 | 81 d3_35s.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
82 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(SSDD35) -aDNum=3 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
83 |
1139 | 84 ddd0_40d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
85 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 -aDD=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
86 |
1139 | 87 d0_40d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
88 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=0 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
89 |
1139 | 90 d1_40d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
91 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
92 |
1139 | 93 d2_40d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
94 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD40) -aDNum=2 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
95 |
1139 | 96 ddd0_80d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
97 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 -aDD=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
98 |
1139 | 99 d0_80d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
100 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=0 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
101 |
1139 | 102 d1_80d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
103 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=1 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
104 |
1139 | 105 d2_80d.dd: cc3diskdesc.asm |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
106 $(AS) $< $(ASOUT)$@ $(AFLAGS) $(DSDD80) -aDNum=2 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
107 |
412 | 108 # RAM Disk descriptors |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
109 r0_8k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
110 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=8 |
412 | 111 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
112 ddr0_8k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
113 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=8 -aDD=1 |
412 | 114 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
115 r0_96k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
116 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=96 |
412 | 117 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
118 ddr0_96k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
119 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=96 -aDD=1 |
412 | 120 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
121 r0_128k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
122 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=128 |
412 | 123 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
124 ddr0_128k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
125 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=128 -aDD=1 |
412 | 126 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
127 r0_192k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
128 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192 |
412 | 129 |
732
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
130 ddr0_192k.dd: r0.asm |
339845ea3507
Backported rammer.asm from NitrOS-9 to OS-9 Level Two
boisy
parents:
700
diff
changeset
|
131 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aRAMSize=192 -aDD=1 |
412 | 132 |
0 | 133 sacia.dr: xacia.asm |
134 $(AS) -aA6551=1 -aA6552=0 -aMPI.Slot=00 $(AFLAGS) $< $(ASOUT)$@ | |
135 | |
136 dacia.dr: xacia.asm | |
137 $(AS) -aA6551=0 -aA6552=1 -aMPI.Slot=00 $(AFLAGS) $< $(ASOUT)$@ | |
138 | |
756 | 139 # VDGInt Modules |
140 vdgint.io: vdgint.asm | |
141 $(AS) $(AFLAGS) $(ASOUT)$@ $< -aCOCO2=1 | |
142 | |
143 vdgint_small.io: vdgint.asm | |
144 $(AS) $(AFLAGS) $(ASOUT)$@ $< | |
145 | |
146 # Clocks | |
700
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
147 clock_elim: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
148 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKELIM) |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
149 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
150 clock_disto2: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
151 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKDISTO2) |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
152 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
153 clock_disto4: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
154 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKDISTO4) |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
155 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
156 clock_bnb: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
157 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKBNB) |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
158 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
159 clock_smart: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
160 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKSMART) |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
161 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
162 clock_harris: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
163 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKHARRIS) |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
164 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
165 clock_tc3: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
166 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKTC3) |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
167 |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
168 clock_soft: clock.asm |
bd1333ef2844
Modified for new clock rules (integrated clock from NitrOS-9)
boisy
parents:
508
diff
changeset
|
169 $(AS) $(AFLAGS) $(ASOUT)$@ $< $(CLOCKSOFT) |
508
02a8ba2b9092
Added headers to most source files, added clock2_bb.asm
boisy
parents:
432
diff
changeset
|
170 |
0 | 171 clean: |
172 $(RM) $(ALLOBJS) | |
173 | |
341 | 174 showobjs: |
175 @$(ECHO) $(ALLOBJS) | |
176 | |
177 showcopyobjs: | |
342
56297204e8da
Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents:
341
diff
changeset
|
178 @$(ECHO) $(OS9P2) $(SYSMODS) $(CLOCKS) $(FMGRS) \ |
341 | 179 $(DRIVERS) $(IOSUBS) $(DESCS) $(WINDESCS) \ |
180 | |
100 | 181 identify: |
182 $(IDENT_SHORT) $(ALLOBJS) |