Driver for the Protovision 4 Player Joystick Adapter by Stefan Haubenthal.

New joy_stddrv module to make the Protovision driver the default driver (cause
it's the only one).


git-svn-id: svn://svn.cc65.org/cc65/trunk@3596 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2005-08-28 21:06:23 +00:00
parent a92d2eb0b7
commit aeb90b37c0
4 changed files with 161 additions and 2 deletions

View File

@@ -26,6 +26,15 @@ CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
%.o: %.s
@$(AS) -g -o $@ $(AFLAGS) $<
%.emd: %.o ../runtime/zeropage.o
@$(LD) -t module -o $@ $^
%.joy: %.o ../runtime/zeropage.o
@$(LD) -t module -o $@ $^
%.tgi: %.o ../runtime/zeropage.o
@$(LD) -t module -o $@ $^
#--------------------------------------------------------------------------
# Object files
@@ -56,15 +65,29 @@ OBJS = _scrsize.o \
revers.o \
sysuname.o
#--------------------------------------------------------------------------
# Drivers
EMDS =
JOYS = pet-ptvjoy.joy
TGIS =
#--------------------------------------------------------------------------
# Targets
.PHONY: all clean zap
all: $(OBJS)
all: $(OBJS) $(EMDS) $(JOYS) $(TGIS)
../runtime/zeropage.o:
$(MAKE) -C $(dir $@) $(notdir $@)
clean:
@$(RM) $(OBJS)
@$(RM) $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o)
zap: clean
@$(RM) $(EMDS) $(JOYS) $(TGIS)