From 91e26f573c7d305b94e4d1e96d2f1d2a40f7679c Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 3 Oct 2002 18:19:25 +0000 Subject: [PATCH] Added the TGI mode table git-svn-id: svn://svn.cc65.org/cc65/trunk@1435 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/c128/Makefile | 1 + libsrc/c128/tgi_mode_table.s | 23 +++++++++++++++++++++++ libsrc/cbm510/Makefile | 3 ++- libsrc/cbm510/tgi_mode_table.s | 23 +++++++++++++++++++++++ libsrc/plus4/Makefile | 5 +++-- libsrc/plus4/tgi_mode_table.s | 22 ++++++++++++++++++++++ 6 files changed, 74 insertions(+), 3 deletions(-) create mode 100644 libsrc/c128/tgi_mode_table.s create mode 100644 libsrc/cbm510/tgi_mode_table.s create mode 100644 libsrc/plus4/tgi_mode_table.s diff --git a/libsrc/c128/Makefile b/libsrc/c128/Makefile index 22840346a..4096855b5 100644 --- a/libsrc/c128/Makefile +++ b/libsrc/c128/Makefile @@ -23,6 +23,7 @@ OBJS = _scrsize.o \ mouse.o \ readjoy.o \ rs232.o \ + tgi_mode_table.o\ write.o all: $(OBJS) diff --git a/libsrc/c128/tgi_mode_table.s b/libsrc/c128/tgi_mode_table.s new file mode 100644 index 000000000..04689f043 --- /dev/null +++ b/libsrc/c128/tgi_mode_table.s @@ -0,0 +1,23 @@ +; +; Ullrich von Bassewitz, 03.10.2002 +; +; C128 mode table for tgi_map_mode +; + + .export _tgi_mode_table + + .include "tgi-mode.inc" + +;---------------------------------------------------------------------------- +; Mode table. Contains entries of mode and driver name, the driver name being +; null terminated. A mode with code zero terminates the list. +; BEWARE: The current implementation of tgi_map_mode does not work with tables +; larger that 255 bytes! + +.rodata + +_tgi_mode_table: + .byte TGI_MODE_320_200_2, "c128-320-200-2.tgi", 0 + .byte 0 ; End marker + + diff --git a/libsrc/cbm510/Makefile b/libsrc/cbm510/Makefile index 3db93aacf..729e9bce4 100644 --- a/libsrc/cbm510/Makefile +++ b/libsrc/cbm510/Makefile @@ -29,7 +29,8 @@ OBJS = _scrsize.o \ peeksys.o \ pokesys.o \ readjoy.o \ - rs232.o + rs232.o \ + tgi_mode_table.o all: $(OBJS) diff --git a/libsrc/cbm510/tgi_mode_table.s b/libsrc/cbm510/tgi_mode_table.s new file mode 100644 index 000000000..2ed75a6b8 --- /dev/null +++ b/libsrc/cbm510/tgi_mode_table.s @@ -0,0 +1,23 @@ +; +; Ullrich von Bassewitz, 03.10.2002 +; +; CBM 510 mode table for tgi_map_mode +; + + .export _tgi_mode_table + + .include "tgi-mode.inc" + +;---------------------------------------------------------------------------- +; Mode table. Contains entries of mode and driver name, the driver name being +; null terminated. A mode with code zero terminates the list. +; BEWARE: The current implementation of tgi_map_mode does not work with tables +; larger that 255 bytes! + +.rodata + +_tgi_mode_table: + .byte TGI_MODE_320_200_2, "cbm510-320-200-2.tgi", 0 + .byte 0 ; End marker + + diff --git a/libsrc/plus4/Makefile b/libsrc/plus4/Makefile index 6ab65b686..e7f620720 100644 --- a/libsrc/plus4/Makefile +++ b/libsrc/plus4/Makefile @@ -20,10 +20,11 @@ OBJS = _scrsize.o \ cputc.o \ crt0.o \ kbhit.o \ - readjoy.o + readjoy.o \ + tgi_mode_table.o all: $(OBJS) clean: - @rm -f $(OBJS) + @rm -f $(OBJS) diff --git a/libsrc/plus4/tgi_mode_table.s b/libsrc/plus4/tgi_mode_table.s new file mode 100644 index 000000000..d7542200c --- /dev/null +++ b/libsrc/plus4/tgi_mode_table.s @@ -0,0 +1,22 @@ +; +; Ullrich von Bassewitz, 03.10.2002 +; +; Plus/4 mode table for tgi_map_mode +; + + .export _tgi_mode_table + + .include "tgi-mode.inc" + +;---------------------------------------------------------------------------- +; Mode table. Contains entries of mode and driver name, the driver name being +; null terminated. A mode with code zero terminates the list. +; BEWARE: The current implementation of tgi_map_mode does not work with tables +; larger that 255 bytes! + +.rodata + +_tgi_mode_table: + .byte TGI_MODE_320_200_2, "plus4-320-200-2.tgi", 0 + .byte 0 ; End marker + -- 2.39.5