changeset 2237:89f86bbd3f79

Using makewav to create cassette files
author boisy
date Fri, 18 Dec 2009 12:32:13 +0000
parents 2603aceace6d
children 0afb0c3742c9
files dw3dos/makefile
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dw3dos/makefile	Fri Dec 18 12:19:56 2009 +0000
+++ b/dw3dos/makefile	Fri Dec 18 12:32:13 2009 +0000
@@ -12,9 +12,11 @@
 		dw3dos_dsk_cc3.rom dw3dos_dsk_cc.rom \
 		dw3doscc.bin dw3doscc3.bin
 
+CASSFILES	= dw3doscc.wav dw3doscc3.wav
+
 TRACKS		= dw3dos_cc3.trk dw3dos_cc.trk
 
-ALLOBJS		= $(ROMS) $(TRACKS)
+ALLOBJS		= $(ROMS) $(CASSFILES) $(TRACKS)
 
 all:	banner $(ALLOBJS) $(DEPENDS) 
 
@@ -46,6 +48,12 @@
 dw3doscc.bin:	dw3dos.asm
 	$(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=1 -aBIN=1 -mb
 
+dw3doscc3.wav:	dw3doscc3.bin
+	makewav $< -r -d2400 -o$@
+
+dw3doscc.wav:	dw3doscc.bin
+	makewav $< -r -d2400 -o$@
+
 # DWDOS Tracks
 dw3dos_cc3.trk:	dw3dos.asm
 	$(AS) $(ASOUT)$@ $< $(AFLAGS) -aCoCo=3 -aDOSTRACK