Add TGI driver

git-svn-id: svn://svn.cc65.org/cc65/trunk@1335 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2002-07-07 11:12:16 +00:00
parent 104ce990cb
commit 613cb2ff77
4 changed files with 1234 additions and 19 deletions

View file

@ -6,9 +6,10 @@
# Defines for executables. The first two are passed to the submakes and are
# relative to the subdirectories, the last one is used directly.
CC = ../../src/cc65/cc65
AS = ../../src/ca65/ca65
AR = ../src/ar65/ar65
CC = ../../src/cc65/cc65
LD = ../../src/ld65/ld65
# List of all targets
ALLTARGETS = apple2lib \
@ -28,7 +29,7 @@ all:
for tgt in $(ALLTARGETS); do \
$(MAKE) clean $$tgt || exit 1; \
done
#-----------------------------------------------------------------------------
# Apple ][
@ -82,10 +83,11 @@ atmoslib:
c64lib:
for i in c64 cbm common runtime conio dbg tgi; do \
CC=$(CC) \
AS=$(AS) \
CFLAGS="-Osir -g -T -t c64 -I../../include" \
CC=$(CC) \
LD=$(LD) \
AFLAGS="-t c64 -I../../asminc" \
CFLAGS="-Osir -g -T -t c64 -I../../include" \
$(MAKE) -C $$i || exit 1; \
done
mv c64/crt0.o c64.o

1
libsrc/c64/.cvsignore Normal file
View file

@ -0,0 +1 @@
*.tgi

View file

@ -11,23 +11,29 @@
%.o: %.s
@$(AS) -g -o $@ $(AFLAGS) $<
OBJS = _scrsize.o \
break.o \
crt0.o \
cgetc.o \
clrscr.o \
color.o \
conio.o \
cputc.o \
kbhit.o \
mouse.o \
readjoy.o \
rs232.o \
tgi_mode_table.o\
%.tgi: %.o
@$(LD) -t module -o $@ $< ../runtime/zeropage.o
OBJS = _scrsize.o \
break.o \
crt0.o \
cgetc.o \
clrscr.o \
color.o \
conio.o \
cputc.o \
kbhit.o \
mouse.o \
readjoy.o \
rs232.o \
tgi_mode_table.o \
write.o
all: $(OBJS)
TGIS = c64-320-200-2.tgi
all: $(OBJS) $(TGIS)
clean:
@rm -f $(OBJS)
@rm -f $(OBJS) $(TGIS:.tgi=.o)

1206
libsrc/c64/c64-320-200-2.s Normal file

File diff suppressed because it is too large Load diff