mirror of
https://github.com/cc65/cc65.git
synced 2025-08-09 13:25:06 +00:00
Add TGI driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@1335 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -6,9 +6,10 @@
|
|||||||
|
|
||||||
# Defines for executables. The first two are passed to the submakes and are
|
# Defines for executables. The first two are passed to the submakes and are
|
||||||
# relative to the subdirectories, the last one is used directly.
|
# relative to the subdirectories, the last one is used directly.
|
||||||
CC = ../../src/cc65/cc65
|
|
||||||
AS = ../../src/ca65/ca65
|
AS = ../../src/ca65/ca65
|
||||||
AR = ../src/ar65/ar65
|
AR = ../src/ar65/ar65
|
||||||
|
CC = ../../src/cc65/cc65
|
||||||
|
LD = ../../src/ld65/ld65
|
||||||
|
|
||||||
# List of all targets
|
# List of all targets
|
||||||
ALLTARGETS = apple2lib \
|
ALLTARGETS = apple2lib \
|
||||||
@@ -28,7 +29,7 @@ all:
|
|||||||
for tgt in $(ALLTARGETS); do \
|
for tgt in $(ALLTARGETS); do \
|
||||||
$(MAKE) clean $$tgt || exit 1; \
|
$(MAKE) clean $$tgt || exit 1; \
|
||||||
done
|
done
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Apple ][
|
# Apple ][
|
||||||
|
|
||||||
@@ -82,10 +83,11 @@ atmoslib:
|
|||||||
|
|
||||||
c64lib:
|
c64lib:
|
||||||
for i in c64 cbm common runtime conio dbg tgi; do \
|
for i in c64 cbm common runtime conio dbg tgi; do \
|
||||||
CC=$(CC) \
|
|
||||||
AS=$(AS) \
|
AS=$(AS) \
|
||||||
CFLAGS="-Osir -g -T -t c64 -I../../include" \
|
CC=$(CC) \
|
||||||
|
LD=$(LD) \
|
||||||
AFLAGS="-t c64 -I../../asminc" \
|
AFLAGS="-t c64 -I../../asminc" \
|
||||||
|
CFLAGS="-Osir -g -T -t c64 -I../../include" \
|
||||||
$(MAKE) -C $$i || exit 1; \
|
$(MAKE) -C $$i || exit 1; \
|
||||||
done
|
done
|
||||||
mv c64/crt0.o c64.o
|
mv c64/crt0.o c64.o
|
||||||
|
1
libsrc/c64/.cvsignore
Normal file
1
libsrc/c64/.cvsignore
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.tgi
|
@@ -11,23 +11,29 @@
|
|||||||
%.o: %.s
|
%.o: %.s
|
||||||
@$(AS) -g -o $@ $(AFLAGS) $<
|
@$(AS) -g -o $@ $(AFLAGS) $<
|
||||||
|
|
||||||
OBJS = _scrsize.o \
|
%.tgi: %.o
|
||||||
break.o \
|
@$(LD) -t module -o $@ $< ../runtime/zeropage.o
|
||||||
crt0.o \
|
|
||||||
cgetc.o \
|
OBJS = _scrsize.o \
|
||||||
clrscr.o \
|
break.o \
|
||||||
color.o \
|
crt0.o \
|
||||||
conio.o \
|
cgetc.o \
|
||||||
cputc.o \
|
clrscr.o \
|
||||||
kbhit.o \
|
color.o \
|
||||||
mouse.o \
|
conio.o \
|
||||||
readjoy.o \
|
cputc.o \
|
||||||
rs232.o \
|
kbhit.o \
|
||||||
tgi_mode_table.o\
|
mouse.o \
|
||||||
|
readjoy.o \
|
||||||
|
rs232.o \
|
||||||
|
tgi_mode_table.o \
|
||||||
write.o
|
write.o
|
||||||
|
|
||||||
all: $(OBJS)
|
TGIS = c64-320-200-2.tgi
|
||||||
|
|
||||||
|
|
||||||
|
all: $(OBJS) $(TGIS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -f $(OBJS)
|
@rm -f $(OBJS) $(TGIS:.tgi=.o)
|
||||||
|
|
||||||
|
1206
libsrc/c64/c64-320-200-2.s
Normal file
1206
libsrc/c64/c64-320-200-2.s
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user