Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/drivers/disto/makefile @ 2890:1addfd8c9d5f
Revert e4a0f58a5f9b (set NITROS9DIR in makefiles)
This was not done in lwtools-port and makes it more
difficult to compare the trees. Therefore revert it
for now. I will reapply or do it in another way
later.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sun, 24 Nov 2013 23:13:46 +0100 |
parents | e4a0f58a5f9b |
children | 28ed72477814 |
rev | line source |
---|---|
2890
1addfd8c9d5f
Revert e4a0f58a5f9b (set NITROS9DIR in makefiles)
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
1 include ../../../rules.mak |
351 | 2 |
2218 | 3 vpath %.asm $(LEVEL2)/modules:$(LEVEL1)/modules |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
4 |
352 | 5 L1_256 = $(AFLAGS) -aLevel=1 -aRAMSize=1 |
6 L2_256 = $(AFLAGS) -aLevel=2 -aRAMSize=1 | |
7 L1_512 = $(AFLAGS) -aLevel=1 -aRAMSize=2 | |
8 L2_512 = $(AFLAGS) -aLevel=2 -aRAMSize=2 | |
9 | |
401 | 10 L2_DNHFC = $(AFLAGS) -aLevel=2 |
11 | |
1363 | 12 DEPENDS = ./makefile |
352 | 13 DRVRS = rampak.dr parallel.dr |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
14 NHDRVRS = cc3disk_sc2_irq.dr cc3disk_sc2_slp.dr |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
15 FLOPPYDESCS = ddd0_35s.dd d0_35s.dd d1_35s.dd \ |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
16 ddd0_40d.dd d0_40d.dd d1_40d.dd \ |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
17 ddd0_80d.dd d0_80d.dd d1_80d.dd |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
18 RAMDISKDESCS = r0_256_l1.dd r0_256_l2.dd r0_512_l1.dd r0_512_l2.dd |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
19 PRINTERDESCS = pp.dd |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
20 DESCS = $(FLOPPYDESCS) $(RAMDISKDESCS) $(PRINTERDESCS) |
401 | 21 ALLOBJS = $(DRVRS) $(DESCS) $(NHDRVRS) |
351 | 22 |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
23 # Device Descriptor Macros |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
24 SSDD35 = -aCyls=35 -aSides=1 -aSectTrk=18 -aSectTrk0=18 \ |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
25 -aInterlv=3 -aSAS=8 -aDensity=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
26 DSDD40 = -aCyls=40 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
27 -aInterlv=3 -aSAS=8 -aDensity=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
28 DSDD80 = -aCyls=80 -aSides=2 -aSectTrk=18 -aSectTrk0=18 \ |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
29 -aInterlv=3 -aSAS=8 -aDensity=3 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
30 |
351 | 31 all: $(ALLOBJS) $(DEPENDS) |
32 | |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
33 # Disto Super Controller II Drivers |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
34 cc3disk_sc2_irq.dr: cc3disk_sc2_irq.asm |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
35 $(AS) $(ASOUT)$@ $< $(L2_DNHFC) |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
36 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
37 cc3disk_sc2_slp.dr: cc3disk_sc2_slp.asm |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
38 $(AS) $(ASOUT)$@ $< $(L2_DNHFC) |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
39 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
40 # Disto Super Controller II Device Descriptors |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
41 # 35 Track Single-Sided |
1564 | 42 ddd0_35s.dd: rb1773desc.asm |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
43 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(SSDD35) -aDD=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
44 |
1564 | 45 d0_35s.dd: rb1773desc.asm |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
46 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(SSDD35) |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
47 |
1564 | 48 d1_35s.dd: rb1773desc.asm |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
49 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(SSDD35) -aDNum=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
50 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
51 # 40 Track Double-Sided |
1564 | 52 ddd0_40d.dd: rb1773desc.asm |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
53 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD40) -aDD=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
54 |
1564 | 55 d0_40d.dd: rb1773desc.asm |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
56 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD40) |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
57 |
1564 | 58 d1_40d.dd: rb1773desc.asm |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
59 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD40) -aDNum=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
60 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
61 # 80 Track Double-Sided |
1564 | 62 ddd0_80d.dd: rb1773desc.asm |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
63 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD80) -aDD=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
64 |
1564 | 65 d0_80d.dd: rb1773desc.asm |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
66 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD80) |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
67 |
1564 | 68 d1_80d.dd: rb1773desc.asm |
1176
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
69 $(AS) $(ASOUT)$@ $< $(AFLAGS) $(DSDD80) -aDNum=1 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
70 |
b84b382c4a43
Updated makefile to make better use of descriptor options
boisy
parents:
401
diff
changeset
|
71 # RAM Disk Descriptors |
352 | 72 r0_256_l1.dd: r0.asm |
73 $(AS) $(ASOUT)$@ $< $(L1_256) | |
74 | |
75 r0_512_l1.dd: r0.asm | |
76 $(AS) $(ASOUT)$@ $< $(L1_512) | |
77 | |
78 r0_256_l2.dd: r0.asm | |
79 $(AS) $(ASOUT)$@ $< $(L2_256) | |
80 | |
81 r0_512_l2.dd: r0.asm | |
82 $(AS) $(ASOUT)$@ $< $(L2_512) | |
83 | |
351 | 84 clean: |
85 $(RM) $(ALLOBJS) | |
86 |