o tweak snes make file

This commit is contained in:
optixx
2009-03-29 18:58:55 +02:00
parent 04c6c64e12
commit 5ba84d7066
6 changed files with 22 additions and 11 deletions

View File

@@ -6,16 +6,20 @@ AS=wla-65816
LD=wlalink
OBJS=sprite.o
APP=sprite.smc
APP=sprite.raw
SWC=sprite.swc
GFX=biker.pic
EMU=/Applications/ZSNES.app/Contents/MacOS/ZSNES
all: clean $(APP)
all: clean $(APP) raw
run:
$(EMU) $(APP)
raw: $(APP)
dd if=$(APP) of=raw bs=512 skip=1
linkfile:
echo "[objects]" > linkerfile.prj
@@ -25,6 +29,6 @@ linkfile:
$(APP): linkfile $(GFX) $(OBJS) $(GFX)
$(LD) -vr linkerfile.prj $@
ucon64 $(APP) -swc $(SWC)
clean:
rm -vf $(APP) *.prj *.o
rm -vf $(SWC) $(APP) *.prj *.o

View File

@@ -28,7 +28,7 @@
CARTRIDGETYPE $00 ; $00 = ROM only, see WLA documentation for others
ROMSIZE $08 ; $0 = 0.5 Mbits, see WLA doc for more..
SRAMSIZE $00 ; No SRAM see WLA doc for more..
COUNTRY $01 ; $01 = U.S. $00 = Japan, that's all I know
COUNTRY $02 ; $01 = U.S. $00 = Japan, that's all I know
LICENSEECODE $00 ; Just use $00
VERSION $00 ; $00 = 1.00, $01 = 1.01, etc.
.ENDSNES

BIN
snes/simpletest/sprite.raw Normal file

Binary file not shown.

BIN
snes/simpletest/sprite.swc Normal file

Binary file not shown.