Joystick code conversion for C128

git-svn-id: svn://svn.cc65.org/cc65/trunk@1810 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2002-12-20 23:30:14 +00:00
parent a995a14315
commit 6b0073145d
5 changed files with 130 additions and 46 deletions

View File

@@ -17,6 +17,9 @@
%.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 $@ $^
@@ -36,7 +39,6 @@ OBJS = _scrsize.o \
kernal.o \
mouse.o \
randomize.o \
readjoy.o \
revers.o \
rs232.o \
tgi_mode_table.o
@@ -44,18 +46,20 @@ OBJS = _scrsize.o \
#--------------------------------------------------------------------------
# Drivers
TGIS =
EMDS = c128-georam.emd c128-ram.emd c128-reu.emd c128-vdc.emd
JOYS = c128-stdjoy.joy
TGIS =
#--------------------------------------------------------------------------
# Targets
all: $(OBJS) $(EMDS) $(TGIS)
all: $(OBJS) $(EMDS) $(JOYS) $(TGIS)
../runtime/zeropage.o:
$(MAKE) -C $(dir $@) $(notdir $@)
clean:
@rm -f $(OBJS)
@rm -f $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o)