o tweak snes make file
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
BIN
snes/simpletest/sprite.raw
Normal file
Binary file not shown.
BIN
snes/simpletest/sprite.swc
Normal file
BIN
snes/simpletest/sprite.swc
Normal file
Binary file not shown.
Reference in New Issue
Block a user