Mercurial > hg > Members > kono > nitros9-code
comparison 3rdparty/drivers/disto/makefile @ 1176:b84b382c4a43
Updated makefile to make better use of descriptor options
author | boisy |
---|---|
date | Sun, 25 May 2003 15:46:20 +0000 |
parents | bc2fb1daef5d |
children | 53c50c807d55 |
comparison
equal
deleted
inserted
replaced
1175:36deea38aabb | 1176:b84b382c4a43 |
---|---|
1 include ../../../Makefile.rules | 1 include ../../../Makefile.rules |
2 | |
3 vpath %.asm $(LEVEL2)/MODULES | |
2 | 4 |
3 L1_256 = $(AFLAGS) -aLevel=1 -aRAMSize=1 | 5 L1_256 = $(AFLAGS) -aLevel=1 -aRAMSize=1 |
4 L2_256 = $(AFLAGS) -aLevel=2 -aRAMSize=1 | 6 L2_256 = $(AFLAGS) -aLevel=2 -aRAMSize=1 |
5 L1_512 = $(AFLAGS) -aLevel=1 -aRAMSize=2 | 7 L1_512 = $(AFLAGS) -aLevel=1 -aRAMSize=2 |
6 L2_512 = $(AFLAGS) -aLevel=2 -aRAMSize=2 | 8 L2_512 = $(AFLAGS) -aLevel=2 -aRAMSize=2 |
7 | 9 |
8 L2_DNHFC = $(AFLAGS) -aLevel=2 | 10 L2_DNHFC = $(AFLAGS) -aLevel=2 |
9 | 11 |
10 DEPENDS = ./Makefile | 12 DEPENDS = ./Makefile |
11 DRVRS = rampak.dr parallel.dr | 13 DRVRS = rampak.dr parallel.dr |
12 NHDRVRS = cc3disk_sc2_irq.dr cc3disk_sc2_slp.dr | 14 NHDRVRS = cc3disk_sc2_irq.dr cc3disk_sc2_slp.dr |
13 DESCS = r0_256_l1.dd r0_256_l2.dd r0_512_l1.dd r0_512_l2.dd pp.dd | 15 FLOPPYDESCS = ddd0_35s.dd d0_35s.dd d1_35s.dd \ |
16 ddd0_40d.dd d0_40d.dd d1_40d.dd \ | |
17 ddd0_80d.dd d0_80d.dd d1_80d.dd | |
18 RAMDISKDESCS = r0_256_l1.dd r0_256_l2.dd r0_512_l1.dd r0_512_l2.dd | |
19 PRINTERDESCS = pp.dd | |
20 DESCS = $(FLOPPYDESCS) $(RAMDISKDESCS) $(PRINTERDESCS) | |
14 ALLOBJS = $(DRVRS) $(DESCS) $(NHDRVRS) | 21 ALLOBJS = $(DRVRS) $(DESCS) $(NHDRVRS) |
22 | |
23 # Device Descriptor Macros | |
24 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ | |
25 -aInterlv=3 -aSAS=8 -aDensity=1 | |
26 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ | |
27 -aInterlv=3 -aSAS=8 -aDensity=1 | |
28 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ | |
29 -aInterlv=3 -aSAS=8 -aDensity=3 | |
15 | 30 |
16 all: $(ALLOBJS) $(DEPENDS) | 31 all: $(ALLOBJS) $(DEPENDS) |
17 | 32 |
33 # Disto Super Controller II Drivers | |
34 cc3disk_sc2_irq.dr: cc3disk_sc2_irq.asm | |
35 $(AS) $(ASOUT)$@ $< $(L2_DNHFC) | |
36 | |
37 cc3disk_sc2_slp.dr: cc3disk_sc2_slp.asm | |
38 $(AS) $(ASOUT)$@ $< $(L2_DNHFC) | |
39 | |
40 # Disto Super Controller II Device Descriptors | |
41 # 35 Track Single-Sided | |
42 ddd0_35s.dd: cc3diskdesc.asm | |
43 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(SSDD35) -aDD=1 | |
44 | |
45 d0_35s.dd: cc3diskdesc.asm | |
46 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(SSDD35) | |
47 | |
48 d1_35s.dd: cc3diskdesc.asm | |
49 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(SSDD35) -aDNum=1 | |
50 | |
51 # 40 Track Double-Sided | |
52 ddd0_40d.dd: cc3diskdesc.asm | |
53 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD40) -aDD=1 | |
54 | |
55 d0_40d.dd: cc3diskdesc.asm | |
56 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD40) | |
57 | |
58 d1_40d.dd: cc3diskdesc.asm | |
59 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD40) -aDNum=1 | |
60 | |
61 # 80 Track Double-Sided | |
62 ddd0_80d.dd: cc3diskdesc.asm | |
63 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD80) -aDD=1 | |
64 | |
65 d0_80d.dd: cc3diskdesc.asm | |
66 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD80) | |
67 | |
68 d1_80d.dd: cc3diskdesc.asm | |
69 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD80) -aDNum=1 | |
70 | |
71 # RAM Disk Descriptors | |
18 r0_256_l1.dd: r0.asm | 72 r0_256_l1.dd: r0.asm |
19 $(AS) $(ASOUT)$@ $< $(L1_256) | 73 $(AS) $(ASOUT)$@ $< $(L1_256) |
20 | 74 |
21 r0_512_l1.dd: r0.asm | 75 r0_512_l1.dd: r0.asm |
22 $(AS) $(ASOUT)$@ $< $(L1_512) | 76 $(AS) $(ASOUT)$@ $< $(L1_512) |
25 $(AS) $(ASOUT)$@ $< $(L2_256) | 79 $(AS) $(ASOUT)$@ $< $(L2_256) |
26 | 80 |
27 r0_512_l2.dd: r0.asm | 81 r0_512_l2.dd: r0.asm |
28 $(AS) $(ASOUT)$@ $< $(L2_512) | 82 $(AS) $(ASOUT)$@ $< $(L2_512) |
29 | 83 |
30 cc3disk_sc2_irq.dr: cc3disk_sc2_irq.asm | |
31 $(AS) $(ASOUT)$@ $< $(L2_DNHFC) | |
32 | |
33 cc3disk_sc2_slp.dr: cc3disk_sc2_slp.asm | |
34 $(AS) $(ASOUT)$@ $< $(L2_DNHFC) | |
35 | |
36 clean: | 84 clean: |
37 $(RM) $(ALLOBJS) | 85 $(RM) $(ALLOBJS) |
38 | 86 |