add new loader

This commit is contained in:
optixx
2009-10-16 07:25:18 +02:00
parent cfceee4db3
commit ec555efafd
7 changed files with 1410 additions and 100 deletions

26
snes/qd16/makefile Executable file
View File

@@ -0,0 +1,26 @@
# 65816 stuff
ROMFILE = qd16boot.smc
VPATH = routines/
AC = wla-65816
AFLAGS = -o
LD = wlalink
LDFLAGS = -vdsr
FL = snesflash
FLFLAGS = -wf
sources := $(wildcard routines/*.asm)
objects := $(patsubst %.asm,%.o,$(sources))
linkfile := linkobjs.lst
all: $(objects)
$(LD) $(LDFLAGS) $(linkfile) $(ROMFILE)
$(objects): $(sources)
$(AC) $(AFLAGS) $(patsubst %.o,%.asm,$@) $@
flash:
$(FL) $(FLFLAGS) $(ROMFILE)
clean:
rm -f $(ROMFILE) $(objects) core *~ *.sym *.srm