]> git.sur5r.net Git - cc65/commitdiff
Added the TGI mode table
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 3 Oct 2002 18:19:25 +0000 (18:19 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 3 Oct 2002 18:19:25 +0000 (18:19 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1435 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/c128/Makefile
libsrc/c128/tgi_mode_table.s [new file with mode: 0644]
libsrc/cbm510/Makefile
libsrc/cbm510/tgi_mode_table.s [new file with mode: 0644]
libsrc/plus4/Makefile
libsrc/plus4/tgi_mode_table.s [new file with mode: 0644]

index 22840346a7988e2ed96e616ea3117dd0da04dd61..4096855b5032f67d76ec2e630b51e50b8c75d62e 100644 (file)
@@ -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 (file)
index 0000000..04689f0
--- /dev/null
@@ -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
+
+
index 3db93aacfd71aa7c7e2b538fcff49f00b00324e9..729e9bce4eacd40e1aca4622c87e5a7c04964b59 100644 (file)
@@ -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 (file)
index 0000000..2ed75a6
--- /dev/null
@@ -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
+
+
index 6ab65b68680828ca553eb9c42832350a3e97f8d7..e7f6207207ea1c048a879479c8b03a3ed02d963c 100644 (file)
@@ -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 (file)
index 0000000..d754220
--- /dev/null
@@ -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
+