Mercurial > hg > Members > kono > nitros9-code
annotate level2/modules/makefile @ 412:d5e182d35650
RAM Disk descriptors now made from rx.asm
author | boisy |
---|---|
date | Wed, 04 Sep 2002 17:41:19 +0000 |
parents | 9ed77eeace37 |
children | 03c6934e5d62 |
rev | line source |
---|---|
0 | 1 include ../../Makefile.rules |
2 | |
3 DEPENDS = ./Makefile | |
46 | 4 TPB = ../../3rdparty/booters |
0 | 5 |
46 | 6 BOOTERS = boot_1773 |
342
56297204e8da
Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents:
341
diff
changeset
|
7 OS9P1 = os9p1 |
56297204e8da
Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents:
341
diff
changeset
|
8 OS9P2 = os9p2 |
56297204e8da
Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents:
341
diff
changeset
|
9 REL = rel |
341 | 10 ROMMODS = rominfo rom_vectors cc3go_rom pakrom |
342
56297204e8da
Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents:
341
diff
changeset
|
11 SYSMODS = ioman init cc3go |
0 | 12 CLOCKS = clock clock2_soft clock2_disto clock2_146818 |
13 FMGRS = scf.mn rbf.mn pipeman.mn pipeman_named.mn | |
14 DRIVERS = cc3disk.dr cc3hdisk.dr cc3io.dr modpak.dr \ | |
344 | 15 vrn.dr piper.dr printer.dr sio.dr ram.dr sspak.dr \ |
16 sacia.dr dacia.dr | |
0 | 17 IOSUBS = windint.io vdgint.io keydrv joydrv_joy \ |
18 joydrv_6551L joydrv_6552L joydrv_6551M joydrv_6552M snddrv | |
19 DESCS = d0_35s.dd d1_35s.dd d2_35s.dd d3_35s.dd \ | |
20 d0_40d.dd d1_40d.dd d2_40d.dd d0_80d.dd \ | |
21 d1_80d.dd d2_80d.dd ddd0_35s.dd ddd0_40d.dd \ | |
22 ddd0_80d.dd r0_8k.dd r0_96k.dd r0_128k.dd r0_192k.dd \ | |
23 ddr0_8k.dd ddr0_96k.dd ddr0_128k.dd ddr0_192k.dd \ | |
344 | 24 m1.dd m2.dd nil.dd p.dd pipe.dd t1.dd t2_sacia.dd \ |
0 | 25 t3_sacia.dd t2_dacia.dd t3_dacia.dd \ |
26 h0_10.dd h1_10.dd h0_15.dd h1_15.dd h0_35.dd h1_35.dd \ | |
344 | 27 ftdd.dd vi.dd ssp.dd term_t1.dd |
0 | 28 WINDESCS = term_vdg.dt term_win40.dt term_win80.dt w.dw w1.dw w2.dw \ |
29 w3.dw w4.dw w5.dw w6.dw w7.dw v1.dw v2.dw v3.dw v4.dw v5.dw \ | |
30 v6.dw v7.dw | |
31 | |
32 # | |
33 # The following macros represent a collection of modules for various | |
34 # kernel tracks and bootfile configurations. | |
35 # | |
36 KERNEL_1773 = rel boot_1773 os9p1 | |
46 | 37 KERNEL_RAMPAK = rel $(TPB)/boot_rampak os9p1 |
38 KERNEL_KENTON = rel $(TPB)/boot_kenton os9p1 | |
39 KERNEL_ROM = rel $(TPB)/boot_rom os9p1 | |
40 KERNEL_IDE = rel $(TPB)/boot_ide os9p1 | |
0 | 41 # These kernels are intended to be ROMmed in a disk controller or program pak |
42 KERNEL_PAK_KENTON = pakrom $(KERNEL_KENTON) | |
43 | |
342
56297204e8da
Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents:
341
diff
changeset
|
44 ALLOBJS = $(BOOTERS) $(OS9P1) $(OS9P2) $(REL) $(ROMMODS) $(SYSMODS) $(CLOCKS) $(FMGRS) \ |
341 | 45 $(DRIVERS) $(IOSUBS) $(DESCS) $(WINDESCS) \ |
0 | 46 kernel_1773 kernel_rom kernel_kenton kernel_pak_kenton \ |
47 kernel_rampak kernel_ide | |
48 | |
49 all: $(ALLOBJS) | |
341 | 50 $(CHMOD) 755 $(ALLOBJS) |
51 | |
0 | 52 |
53 # Special cases here | |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
54 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
55 -aInterlv=3 -aSAS=8 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
56 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
57 -aInterlv=3 -aSAS=8 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
58 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
59 -aInterlv=3 -aSAS=8 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
60 |
412 | 61 # Floppy descriptors |
410
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
62 ddd0_35s.dd: dx.asm |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
63 $(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
|
64 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
65 d0_35s.dd: dx.asm |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
66 $(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
|
67 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
68 d1_35s.dd: dx.asm |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
69 $(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
|
70 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
71 d2_35s.dd: dx.asm |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
72 $(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
|
73 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
74 d3_35s.dd: dx.asm |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
75 $(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
|
76 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
77 ddd0_40d.dd: dx.asm |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
78 $(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
|
79 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
80 d0_40d.dd: dx.asm |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
81 $(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
|
82 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
83 d1_40d.dd: dx.asm |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
84 $(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
|
85 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
86 d2_40d.dd: dx.asm |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
87 $(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
|
88 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
89 ddd0_80d.dd: dx.asm |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
90 $(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
|
91 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
92 d0_80d.dd: dx.asm |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
93 $(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
|
94 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
95 d1_80d.dd: dx.asm |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
96 $(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
|
97 |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
98 d2_80d.dd: dx.asm |
9ed77eeace37
All floppy disk descriptor modules now made with dx.asm and different targets
boisy
parents:
384
diff
changeset
|
99 $(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
|
100 |
412 | 101 # RAM Disk descriptors |
102 r0_8k.dd: rx.asm | |
103 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=32 | |
104 | |
105 ddr0_8k.dd: rx.asm | |
106 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=32 -aDD=1 | |
107 | |
108 r0_96k.dd: rx.asm | |
109 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=384 | |
110 | |
111 ddr0_96k.dd: rx.asm | |
112 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=384 -aDD=1 | |
113 | |
114 r0_128k.dd: rx.asm | |
115 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=512 | |
116 | |
117 ddr0_128k.dd: rx.asm | |
118 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=512 -aDD=1 | |
119 | |
120 r0_192k.dd: rx.asm | |
121 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=768 | |
122 | |
123 ddr0_192k.dd: rx.asm | |
124 $(AS) $< $(ASOUT)$@ $(AFLAGS) -aSectors=768 -aDD=1 | |
125 | |
384
850b16b2aa76
cc3go_rom now folded into cc3go... Makefile modified to adjust
boisy
parents:
382
diff
changeset
|
126 cc3go_rom: cc3go.asm |
850b16b2aa76
cc3go_rom now folded into cc3go... Makefile modified to adjust
boisy
parents:
382
diff
changeset
|
127 $(AS) -aROM=1 $(AFLAGS) $< $(ASOUT)$@ |
850b16b2aa76
cc3go_rom now folded into cc3go... Makefile modified to adjust
boisy
parents:
382
diff
changeset
|
128 |
0 | 129 sacia.dr: xacia.asm |
130 $(AS) -aA6551=1 -aA6552=0 -aMPI.Slot=00 $(AFLAGS) $< $(ASOUT)$@ | |
131 | |
132 dacia.dr: xacia.asm | |
133 $(AS) -aA6551=0 -aA6552=1 -aMPI.Slot=00 $(AFLAGS) $< $(ASOUT)$@ | |
134 | |
135 kernel_1773: $(KERNEL_1773) $(DEPENDS) | |
136 $(MERGE) $(KERNEL_1773)>$@ | |
137 | |
138 kernel_rampak: $(KERNEL_RAMPAK) $(DEPENDS) | |
139 $(MERGE) $(KERNEL_RAMPAK)>$@ | |
140 | |
141 kernel_rom: $(KERNEL_ROM) $(DEPENDS) | |
142 $(MERGE) $(KERNEL_ROM)>$@ | |
143 | |
144 kernel_kenton: $(KERNEL_KENTON) $(DEPENDS) | |
145 $(MERGE) $(KERNEL_KENTON)>$@ | |
146 | |
147 kernel_ide: $(KERNEL_IDE) $(DEPENDS) | |
148 $(MERGE) $(KERNEL_IDE)>$@ | |
149 | |
150 kernel_pak_kenton: $(KERNEL_PAK_KENTON) $(DEPENDS) | |
151 $(MERGE) $(KERNEL_PAK_KENTON)>$@ | |
152 $(PADROM) \$$2000 $@ -c=\$$FF | |
153 | |
37 | 154 rominfo: rominfo.asm |
155 $(AS) -aROMPak=0 $(AFLAGS) $< $(ASOUT)$@ | |
156 | |
0 | 157 clean: |
158 $(RM) $(ALLOBJS) | |
159 | |
341 | 160 showobjs: |
161 @$(ECHO) $(ALLOBJS) | |
162 | |
163 showcopyobjs: | |
342
56297204e8da
Modified makefile to allow for two SS35 disks, moved around certain modules so they
boisy
parents:
341
diff
changeset
|
164 @$(ECHO) $(OS9P2) $(SYSMODS) $(CLOCKS) $(FMGRS) \ |
341 | 165 $(DRIVERS) $(IOSUBS) $(DESCS) $(WINDESCS) \ |
166 | |
100 | 167 identify: |
168 $(IDENT_SHORT) $(ALLOBJS) |