Added a serial driver for the builtin 6551 of the Plus/4 (untested, but taken

mostly from the C64 version which is tested and works).
Improved interrupt handling (was needed for the driver).


git-svn-id: svn://svn.cc65.org/cc65/trunk@2754 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-12-14 17:40:57 +00:00
parent ba079ae6a1
commit ad6a85b255
5 changed files with 509 additions and 86 deletions

View File

@@ -20,6 +20,9 @@
%.joy: %.o ../runtime/zeropage.o
@$(LD) -t module -o $@ $^
%.ser: %.o ../runtime/zeropage.o
@$(LD) -t module -o $@ $^
%.tgi: %.o ../runtime/zeropage.o
@$(LD) -t module -o $@ $^
@@ -73,6 +76,8 @@ EMDS =
JOYS = plus4-stdjoy.joy
SERS = plus4-stdser.ser
TGIS =
#--------------------------------------------------------------------------
@@ -80,14 +85,14 @@ TGIS =
.PHONY: all clean zap
all: $(OBJS) $(EMDS) $(JOYS) $(TGIS)
all: $(OBJS) $(EMDS) $(JOYS) $(SERS) $(TGIS)
../runtime/zeropage.o:
$(MAKE) -C $(dir $@) $(notdir $@)
clean:
@$(RM) $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o)
@$(RM) $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(SERS:.ser=.o) $(TGIS:.tgi=.o)
zap: clean
@$(RM) $(EMDS) $(JOYS) $(TGIS)
@$(RM) $(EMDS) $(JOYS) $(SERS) $(TGIS)