Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/drivers/ide/makefile @ 1170:ca963a4eb55a
Added address macro
author | boisy |
---|---|
date | Mon, 19 May 2003 11:57:19 +0000 |
parents | 200548732ba1 |
children | b1a826c854f0 |
rev | line source |
---|---|
1137 | 1 # Curtis Boyle's IDE Driver |
2 | |
0 | 3 include ../../../Makefile.rules |
4 | |
5 DEPENDS = ./Makefile | |
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
|
6 DRVRS = ccide_l1.dr ccide_l2.dr superide_l1.dr superide_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 |
1170 | 8 SUPERDESCS = h0_superide_l1.dd h0_superide_l2.dd h1_superide_l1.dd h1_superide_l2.dd \ |
1137 | 9 dd_superide_l1.dd dd_superide_l2.dd |
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
|
10 ALLOBJS = $(DRVRS) $(DESCS) $(SUPERDESCS) |
36
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
11 IDEL1FLAGS = $(AFLAGS) -aLevel=1 |
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
12 IDEL2FLAGS = $(AFLAGS) -aLevel=2 |
0 | 13 |
14 all: $(ALLOBJS) $(DEPENDS) | |
15 | |
1137 | 16 # Drivers |
17 # SuperIDE=1 selects code to work with Cloud-9's SuperIDE product | |
36
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
18 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
|
19 $(AS) $(ASOUT)$@ $< $(IDEL1FLAGS) |
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
20 |
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
21 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
|
22 $(AS) $(ASOUT)$@ $< $(IDEL2FLAGS) |
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
23 |
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
|
24 superide_l1.dr: ccide.asm |
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
|
25 $(AS) $(ASOUT)$@ $< $(IDEL1FLAGS) -aSuperIDE=1 |
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 |
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
|
27 superide_l2.dr: ccide.asm |
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
|
28 $(AS) $(ASOUT)$@ $< $(IDEL2FLAGS) -aSuperIDE=1 |
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
|
29 |
1137 | 30 # Descriptors |
31 # 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
|
32 h0_ide_l1.dd: idedesc.asm |
1137 | 33 $(AS) $(ASOUT)$@ $< $(IDEL1FLAGS) -aITDRV=0 |
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 h0_ide_l2.dd: idedesc.asm |
1137 | 36 $(AS) $(ASOUT)$@ $< $(IDEL2FLAGS) -aITDRV=0 |
37 | |
38 h1_ide_l1.dd: idedesc.asm | |
39 $(AS) $(ASOUT)$@ $< $(IDEL1FLAGS) -aITDRV=1 | |
40 | |
41 h1_ide_l2.dd: idedesc.asm | |
42 $(AS) $(ASOUT)$@ $< $(IDEL2FLAGS) -aITDRV=1 | |
36
8b423669e5d2
Removed Boyle's IDE drivers for the time being... they don't seem to work
boisy
parents:
0
diff
changeset
|
43 |
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
|
44 dd_ide_l1.dd: idedesc.asm |
1137 | 45 $(AS) $(ASOUT)$@ $< $(IDEL1FLAGS) -aITDRV=0 |
302 | 46 |
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
|
47 dd_ide_l2.dd: idedesc.asm |
1137 | 48 $(AS) $(ASOUT)$@ $< $(IDEL2FLAGS) -aITDRV=0 |
302 | 49 |
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
|
50 h0_superide_l1.dd: idedesc.asm |
1170 | 51 $(AS) $(ASOUT)$@ $< $(IDEL1FLAGS) -aSuperIDE=1 -aITDRV=0 -aADDR=65376 |
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
|
52 |
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
|
53 h0_superide_l2.dd: idedesc.asm |
1170 | 54 $(AS) $(ASOUT)$@ $< $(IDEL2FLAGS) -aSuperIDE=1 -aITDRV=0 -aADDR=65376 |
1137 | 55 |
56 h1_superide_l1.dd: idedesc.asm | |
1170 | 57 $(AS) $(ASOUT)$@ $< $(IDEL1FLAGS) -aSuperIDE=1 -aITDRV=1 -aADDR=65376 |
1137 | 58 |
59 h1_superide_l2.dd: idedesc.asm | |
1170 | 60 $(AS) $(ASOUT)$@ $< $(IDEL2FLAGS) -aSuperIDE=1 -aITDRV=1 -aADDR=65376 |
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
|
61 |
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
|
62 dd_superide_l1.dd: idedesc.asm |
1170 | 63 $(AS) $(ASOUT)$@ $< $(IDEL1FLAGS) -aSuperIDE=1 -aITDRV=0 -aADDR=65376 |
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
|
64 |
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
|
65 dd_superide_l2.dd: idedesc.asm |
1170 | 66 $(AS) $(ASOUT)$@ $< $(IDEL2FLAGS) -aSuperIDE=1 -aITDRV=0 -aADDR=65376 |
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
|
67 |
0 | 68 clean: |
69 $(RM) $(ALLOBJS) | |
70 |