Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/drivers/ide/makefile @ 3226:9749d0dfc4a2
Changed a puls PC to rts to save cycles
author | David Ladd <drencor-xeen@users.sourceforge.net> |
---|---|
date | Sat, 20 Jan 2018 19:32:22 -0600 |
parents | 9ccec98c9897 |
children |
rev | line source |
---|---|
1137 | 1 # Curtis Boyle's IDE Driver |
2 | |
2890
1addfd8c9d5f
Revert e4a0f58a5f9b (set NITROS9DIR in makefiles)
Tormod Volden <debian.tormod@gmail.com>
parents:
2758
diff
changeset
|
3 include ../../../rules.mak |
0 | 4 |
1363 | 5 DEPENDS = ./makefile |
1177 | 6 DRVRS = ccide_l1.dr ccide_l2.dr |
1137 | 7 DESCS = h0_ide_l1.dd h0_ide_l2.dd h1_ide_l1.dd h1_ide_l2.dd dd_ide_l1.dd dd_ide_l2.dd |
1177 | 8 ALLOBJS = $(DRVRS) $(DESCS) |
2669
53c42701f680
More parameter fixups for lwasm
William Astle <lost@l-w.ca>
parents:
1363
diff
changeset
|
9 IDEL1FLAGS = $(AFLAGS) -DLevel=1 |
53c42701f680
More parameter fixups for lwasm
William Astle <lost@l-w.ca>
parents:
1363
diff
changeset
|
10 IDEL2FLAGS = $(AFLAGS) -DLevel=2 |
0 | 11 |
12 all: $(ALLOBJS) $(DEPENDS) | |
13 | |
1137 | 14 # Drivers |
36
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
15 ccide_l1.dr: ccide.asm |
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
16 $(AS) $(ASOUT)$@ $< $(IDEL1FLAGS) |
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
17 |
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
18 ccide_l2.dr: ccide.asm |
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
19 $(AS) $(ASOUT)$@ $< $(IDEL2FLAGS) |
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
20 |
1137 | 21 # Descriptors |
22 # ITDRV is the Master(0)/Slave(1) switch for device descriptors | |
613
16dc49e3a104
SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
302
diff
changeset
|
23 h0_ide_l1.dd: idedesc.asm |
2669
53c42701f680
More parameter fixups for lwasm
William Astle <lost@l-w.ca>
parents:
1363
diff
changeset
|
24 $(AS) $(ASOUT)$@ $< $(IDEL1FLAGS) -DITDRV=0 |
36
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
25 |
613
16dc49e3a104
SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
302
diff
changeset
|
26 h0_ide_l2.dd: idedesc.asm |
2669
53c42701f680
More parameter fixups for lwasm
William Astle <lost@l-w.ca>
parents:
1363
diff
changeset
|
27 $(AS) $(ASOUT)$@ $< $(IDEL2FLAGS) -DITDRV=0 |
1137 | 28 |
29 h1_ide_l1.dd: idedesc.asm | |
2669
53c42701f680
More parameter fixups for lwasm
William Astle <lost@l-w.ca>
parents:
1363
diff
changeset
|
30 $(AS) $(ASOUT)$@ $< $(IDEL1FLAGS) -DITDRV=1 |
1137 | 31 |
32 h1_ide_l2.dd: idedesc.asm | |
2669
53c42701f680
More parameter fixups for lwasm
William Astle <lost@l-w.ca>
parents:
1363
diff
changeset
|
33 $(AS) $(ASOUT)$@ $< $(IDEL2FLAGS) -DITDRV=1 |
36
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
34 |
613
16dc49e3a104
SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
302
diff
changeset
|
35 dd_ide_l1.dd: idedesc.asm |
2669
53c42701f680
More parameter fixups for lwasm
William Astle <lost@l-w.ca>
parents:
1363
diff
changeset
|
36 $(AS) $(ASOUT)$@ $< $(IDEL1FLAGS) -DITDRV=0 -DDD=1 |
302 | 37 |
613
16dc49e3a104
SuperIDE driver/descriptors added, removed dd_ide.asm and h0_ide.asm in favor of one file: idedesc.asm
boisy
parents:
302
diff
changeset
|
38 dd_ide_l2.dd: idedesc.asm |
2669
53c42701f680
More parameter fixups for lwasm
William Astle <lost@l-w.ca>
parents:
1363
diff
changeset
|
39 $(AS) $(ASOUT)$@ $< $(IDEL2FLAGS) -DITDRV=0 -DDD=1 |
302 | 40 |
0 | 41 clean: |
42 $(RM) $(ALLOBJS) | |
43 | |
3220
9ccec98c9897
Updated IDE Driver makefile so it will have place holders for
David Ladd <drencor-xeen@users.sourceforge.net>
parents:
2898
diff
changeset
|
44 dsk: |
9ccec98c9897
Updated IDE Driver makefile so it will have place holders for
David Ladd <drencor-xeen@users.sourceforge.net>
parents:
2898
diff
changeset
|
45 dskcopy: |
9ccec98c9897
Updated IDE Driver makefile so it will have place holders for
David Ladd <drencor-xeen@users.sourceforge.net>
parents:
2898
diff
changeset
|
46 dskclean: |
9ccec98c9897
Updated IDE Driver makefile so it will have place holders for
David Ladd <drencor-xeen@users.sourceforge.net>
parents:
2898
diff
changeset
|
47 |