mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 14:11:48 -06:00
tune.com: Updated to support using HBIOS sound driver
A new command line switch has been added '--hbios'. Using this switch after the filename, will cause tune.com to play thru the HBIOS sound driver MYM file types are not supported thru HBIOS yet.
This commit is contained in:
@@ -24,7 +24,7 @@ RELPATH := $(subst $(TREEROOT),,$(HERE))
|
||||
#
|
||||
# where's a copy of this tree for windows so we can diff binaries
|
||||
#
|
||||
WINROOT = $(TREEROOT)/../RomWBW.windows
|
||||
WINROOT = $(TREEROOT)/../RomWBW.windows
|
||||
DIFFTO := $(shell if [ -d $(WINROOT) ] ; then cd $(WINROOT); pwd; fi)
|
||||
DIFFPATH := $(DIFFTO)/$(RELPATH)
|
||||
|
||||
@@ -57,7 +57,7 @@ CPM=$(TOOLS)/cpm/bin
|
||||
|
||||
%.hex: %.asm
|
||||
$(ZXCC) $(CPM)/MAC -$< -$$PO ; \
|
||||
|
||||
|
||||
%.bin: %.ASM
|
||||
$(ZXCC) $(CPM)/MAC -$< -$$PO
|
||||
$(ZXCC) $(CPM)/MLOAD25 -tmp.bin=$*.hex
|
||||
@@ -67,7 +67,7 @@ CPM=$(TOOLS)/cpm/bin
|
||||
%.com: %.z80
|
||||
$(ZXCC) $(CPM)/Z80ASM -$(basename $<)/F ; \
|
||||
mv $$($(CASEFN) $@) tmp.com ; mv tmp.com $@
|
||||
|
||||
|
||||
%.bin: %.asm
|
||||
$(TASM) $< $@
|
||||
|
||||
@@ -77,10 +77,10 @@ CPM=$(TOOLS)/cpm/bin
|
||||
%.rel: %.z80
|
||||
$(ZXCC) $(CPM)/Z80ASM -$(basename $<)/MF
|
||||
|
||||
%.hex: %.180
|
||||
%.hex: %.180
|
||||
$(ZXCC) $(CPM)/SLR180 -$(basename $<)/HF
|
||||
|
||||
%.rel: %.azm
|
||||
%.rel: %.azm
|
||||
$(ZXCC) $(CPM)/ZSM =$<
|
||||
|
||||
%.bin: %.rel
|
||||
@@ -143,7 +143,7 @@ clobber:: clean
|
||||
# the same objects
|
||||
#
|
||||
diff::
|
||||
ifneq ($(DIFFTO),)
|
||||
ifneq ($(DIFFTO),)
|
||||
@for dir in $(SUBDIRS) ; do \
|
||||
( echo "diff in $(HERE)/$$dir" ; cd "$$dir" ; make diff ) ; \
|
||||
done
|
||||
@@ -166,8 +166,8 @@ ifneq ($(DIFFTO),)
|
||||
if [ ! -f "$$df" ] ; then echo $(DIFFPATH)/$$i missing ; fi ; \
|
||||
fi ; \
|
||||
done
|
||||
endif
|
||||
|
||||
vdiff:
|
||||
make VERBOSEDIFF=2 diff
|
||||
endif
|
||||
|
||||
vdiff:
|
||||
make VERBOSEDIFF=2 diff
|
||||
|
||||
|
||||
Reference in New Issue
Block a user