]> git.sur5r.net Git - cc65/commitdiff
New TGI module
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 21 Jun 2002 12:08:57 +0000 (12:08 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 21 Jun 2002 12:08:57 +0000 (12:08 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1310 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/c64/Makefile
libsrc/c64/tgi_mode_table.s [new file with mode: 0644]

index a73d14f3f0568f4381521dc103c3472f0322e4fe..e451f7eba241f28f6399dc38f3ab585ddc85e5cf 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/c64/tgi_mode_table.s b/libsrc/c64/tgi_mode_table.s
new file mode 100644 (file)
index 0000000..c018732
--- /dev/null
@@ -0,0 +1,23 @@
+;
+; Ullrich von Bassewitz, 31.05.2002
+;
+; C64 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, "c64-320-200-2.tgi,r", 0
+        .byte   0       ; End marker
+
+