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 +