annotate dw3dos/makefile @ 2592:7d8831f053ff

Corrected cosmetic error in drive address R. Gault
author robertgault
date Sat, 24 Dec 2011 12:48:56 +0000
parents a9a5be5114b2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
1 include $(NITROS9DIR)/rules.mak
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
2
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
3 DEPENDS = ./makefile
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
4 BF68L1 = $(LEVEL1)/coco/bootfiles
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
5 MD68L1 = $(LEVEL1)/coco/modules
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
6 BF68L2 = $(LEVEL2)/coco3/bootfiles
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
7 MD68L2 = $(LEVEL2)/coco3/modules
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
8 BF63L2 = $(LEVEL2)/coco3_6309/bootfiles
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
9 MD63L2 = $(LEVEL2)/coco3_6309/modules
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
10
2240
f86e2e77f7b4 Updated mistake
boisy
parents: 2239
diff changeset
11 ROMS = dw3dos_mb_cc3.rom dw3dos_mb_cc2.rom dw3dos_mb_cc1.rom \
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
12 dw3dos_dsk_cc3.rom dw3dos_dsk_cc2.rom dw3dos_dsk_cc1.rom \
2575
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
13 dw3doscc3.bin dw3doscc2.bin dw3doscc1.bin \
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
14 dw4dos_mb_cc3.rom dw4dos_mb_cc2.rom \
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
15 dw4dos_dsk_cc3.rom dw4dos_dsk_cc2.rom \
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
16 dw4doscc3.bin dw4doscc2.bin
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
17
2575
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
18 CASSFILES = hdbdw1.wav hdbdw3.wav hdbdw4.wav dw3doscc1.wav dw3doscc2.wav dw3doscc3.wav \
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
19 dw4doscc2.wav dw4doscc3.wav
2237
89f86bbd3f79 Using makewav to create cassette files
boisy
parents: 2236
diff changeset
20
2575
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
21 TRACKS = dw3dos_cc3.trk dw3dos_cc2.trk dw3dos_cc1.trk \
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
22 dw4dos_cc3.trk dw4dos_cc2.trk
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
23
2237
89f86bbd3f79 Using makewav to create cassette files
boisy
parents: 2236
diff changeset
24 ALLOBJS = $(ROMS) $(CASSFILES) $(TRACKS)
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
25
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
26 all: banner $(ALLOBJS) $(DEPENDS)
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
27
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
28 banner:
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
29 @$(ECHO) "**************************************************"
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
30 @$(ECHO) "* *"
2575
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
31 @$(ECHO) "* DriveWire 3/4 DOS Files *"
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
32 @$(ECHO) "* *"
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
33 @$(ECHO) "**************************************************"
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
34
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
35 dsk: objs
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
36
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
37 # HDB-DOS DW Cassette Files
2575
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
38 hdbdw1.wav: hdbdosdw1.bin
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
39 dd if=$< bs=1 skip=5 of=hdbtmp count=8240
2575
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
40 makewav hdbtmp -r -d0x4fd0 -e0x4fd0 -o$@ -nHDBDW3C1
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
41 rm hdbtmp
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
42
2575
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
43 hdbdw3.wav: hdbdosdw3.bin
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
44 dd if=$< bs=1 skip=5 of=hdbtmp count=8240
2575
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
45 makewav hdbtmp -r -d0x4fd0 -e0x4fd0 -o$@ -nHDBDW3
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
46 rm hdbtmp
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
47
2575
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
48 hdbdw4.wav: hdbdosdw4.bin
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
49 dd if=$< bs=1 skip=5 of=hdbtmp count=8240
2575
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
50 makewav hdbtmp -r -d0x4fd0 -e0x4fd0 -o$@ -nHDBDW4
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
51 rm hdbtmp
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
52
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
53 # DW3DOS ROMs
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
54 dw3dos_mb_cc3.rom: dw3dos.asm
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
55 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
56
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
57 dw3dos_mb_cc2.rom: dw3dos.asm
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
58 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=2
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
59
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
60 dw3dos_mb_cc1.rom: dw3dos.asm
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
61 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=1
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
62
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
63 dw3dos_dsk_cc3.rom: dw3dos.asm
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
64 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 -aDISKROM=1
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
65
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
66 dw3dos_dsk_cc2.rom: dw3dos.asm
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
67 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=2 -aDISKROM=1
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
68
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
69 dw3dos_dsk_cc1.rom: dw3dos.asm
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
70 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=1 -aDISKROM=1
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
71
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
72 dw3doscc3.bin: dw3dos.asm
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
73 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 -aBIN=1 -mb
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
74
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
75 dw3doscc2.bin: dw3dos.asm
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
76 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=2 -aBIN=1 -mb
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
77
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
78 dw3doscc1.bin: dw3dos.asm
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
79 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=1 -aBIN=1 -mb
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
80
2237
89f86bbd3f79 Using makewav to create cassette files
boisy
parents: 2236
diff changeset
81 dw3doscc3.wav: dw3doscc3.bin
2241
d8ecc7e796fb Rename and wrap-up
boisy
parents: 2240
diff changeset
82 makewav $< -r -d0x2400 -e0x2400 -o$@ -nDW3DOSC3
2237
89f86bbd3f79 Using makewav to create cassette files
boisy
parents: 2236
diff changeset
83
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
84 dw3doscc2.wav: dw3doscc2.bin
2241
d8ecc7e796fb Rename and wrap-up
boisy
parents: 2240
diff changeset
85 makewav $< -r -d0x2400 -e0x2400 -o$@ -nDW3DOSC2
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
86
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
87 dw3doscc1.wav: dw3doscc1.bin
2241
d8ecc7e796fb Rename and wrap-up
boisy
parents: 2240
diff changeset
88 makewav $< -r -d0x2400 -e0x2400 -o$@ -nDW3DOSC1
2237
89f86bbd3f79 Using makewav to create cassette files
boisy
parents: 2236
diff changeset
89
2575
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
90 # DW4DOS ROMs
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
91 dw4dos_mb_cc3.rom: dw3dos.asm
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
92 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 -aDW4=1
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
93
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
94 dw4dos_mb_cc2.rom: dw3dos.asm
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
95 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=2 -aDW4=1
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
96
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
97 dw4dos_dsk_cc3.rom: dw3dos.asm
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
98 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 -aDISKROM=1 -aDW4=1
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
99
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
100 dw4dos_dsk_cc2.rom: dw3dos.asm
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
101 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=2 -aDISKROM=1 -aDW4=1
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
102
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
103 dw4doscc3.bin: dw3dos.asm
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
104 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 -aBIN=1 -mb -aDW4=1
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
105
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
106 dw4doscc2.bin: dw3dos.asm
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
107 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=2 -aBIN=1 -mb -aDW4=1
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
108
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
109 dw4doscc3.wav: dw3doscc3.bin
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
110 makewav $< -r -d0x2400 -e0x2400 -o$@ -nDW3DOSC3
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
111
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
112 dw4doscc2.wav: dw3doscc2.bin
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
113 makewav $< -r -d0x2400 -e0x2400 -o$@ -nDW3DOSC2
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
114
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
115 # DW3DOS Tracks
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
116 dw3dos_cc3.trk: dw3dos.asm
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
117 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 -aDOSTRACK
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
118
2239
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
119 dw3dos_cc2.trk: dw3dos.asm
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
120 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=2 -aDOSTRACK
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
121
404bb3ec0dbd Updated makefile to build CC1, CC2 and CC3 versions of all files
boisy
parents: 2238
diff changeset
122 dw3dos_cc1.trk: dw3dos.asm
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
123 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=1 -aDOSTRACK
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
124
2575
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
125 # DW4DOS Tracks
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
126 dw4dos_cc3.trk: dw3dos.asm
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
127 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 -aDOSTRACK -aDW4=1
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
128
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
129 dw4dos_cc2.trk: dw3dos.asm
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
130 $(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=2 -aDOSTRACK -aDW4=1
a9a5be5114b2 Fixed up for DW4
boisy
parents: 2256
diff changeset
131
2256
fd6248fea839 Added drivewire.zip target
boisy
parents: 2241
diff changeset
132 drivewire.zip: $(ALLOBJS)
fd6248fea839 Added drivewire.zip target
boisy
parents: 2241
diff changeset
133 zip $@ $(ALLOBJS)
fd6248fea839 Added drivewire.zip target
boisy
parents: 2241
diff changeset
134
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
135 clean:
2256
fd6248fea839 Added drivewire.zip target
boisy
parents: 2241
diff changeset
136 $(RM) $(ALLOBJS) drivewire.zip
2236
2603aceace6d Added DW3DOS
boisy
parents:
diff changeset
137