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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
486e94f18be0 Added Disto specific modules
boisy
parents:
diff changeset
2
2218
7ba4d9a816af Updated
boisy
parents: 1564
diff changeset
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
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
5 L1_256 = $(AFLAGS) -aLevel=1 -aRAMSize=1
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
6 L2_256 = $(AFLAGS) -aLevel=2 -aRAMSize=1
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
7 L1_512 = $(AFLAGS) -aLevel=1 -aRAMSize=2
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
8 L2_512 = $(AFLAGS) -aLevel=2 -aRAMSize=2
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
9
401
bc2fb1daef5d Added disto's no halt floppy controller drivers.
tlindner
parents: 352
diff changeset
10 L2_DNHFC = $(AFLAGS) -aLevel=2
bc2fb1daef5d Added disto's no halt floppy controller drivers.
tlindner
parents: 352
diff changeset
11
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1176
diff changeset
12 DEPENDS = ./makefile
352
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
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
bc2fb1daef5d Added disto's no halt floppy controller drivers.
tlindner
parents: 352
diff changeset
21 ALLOBJS = $(DRVRS) $(DESCS) $(NHDRVRS)
351
486e94f18be0 Added Disto specific modules
boisy
parents:
diff changeset
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
486e94f18be0 Added Disto specific modules
boisy
parents:
diff changeset
31 all: $(ALLOBJS) $(DEPENDS)
486e94f18be0 Added Disto specific modules
boisy
parents:
diff changeset
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
b9a87d97494d Multiple changes for next release
boisy
parents: 1363
diff changeset
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
b9a87d97494d Multiple changes for next release
boisy
parents: 1363
diff changeset
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
b9a87d97494d Multiple changes for next release
boisy
parents: 1363
diff changeset
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
b9a87d97494d Multiple changes for next release
boisy
parents: 1363
diff changeset
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
b9a87d97494d Multiple changes for next release
boisy
parents: 1363
diff changeset
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
b9a87d97494d Multiple changes for next release
boisy
parents: 1363
diff changeset
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
b9a87d97494d Multiple changes for next release
boisy
parents: 1363
diff changeset
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
b9a87d97494d Multiple changes for next release
boisy
parents: 1363
diff changeset
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
b9a87d97494d Multiple changes for next release
boisy
parents: 1363
diff changeset
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
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
72 r0_256_l1.dd: r0.asm
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
73 $(AS) $(ASOUT)$@ $< $(L1_256)
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
74
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
75 r0_512_l1.dd: r0.asm
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
76 $(AS) $(ASOUT)$@ $< $(L1_512)
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
77
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
78 r0_256_l2.dd: r0.asm
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
79 $(AS) $(ASOUT)$@ $< $(L2_256)
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
80
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
81 r0_512_l2.dd: r0.asm
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
82 $(AS) $(ASOUT)$@ $< $(L2_512)
a9169e6c5f3f Moved rampak driver and descriptors from rampak/ dir
boisy
parents: 351
diff changeset
83
351
486e94f18be0 Added Disto specific modules
boisy
parents:
diff changeset
84 clean:
486e94f18be0 Added Disto specific modules
boisy
parents:
diff changeset
85 $(RM) $(ALLOBJS)
486e94f18be0 Added Disto specific modules
boisy
parents:
diff changeset
86