changeset 1370:53358cc2f9ff

Add support for Interpaint Multicolor (unpacked) images.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 24 Sep 2017 13:18:24 +0300
parents 3a94c0e8297f
children e6b13426b50a
files tools/lib64gfx.c
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Sun Sep 24 13:13:04 2017 +0300
+++ b/tools/lib64gfx.c	Sun Sep 24 13:18:24 2017 +0300
@@ -532,6 +532,20 @@
             { DT_LAST,         0,      0,  0, NULL, NULL },
         }
     },
+    {
+        D64_FMT_MC, "ipc", "Interpaint MC (unpacked)", 0x4000, 10003,
+        C64_SCR_WIDTH / 2, C64_SCR_HEIGHT,
+        C64_SCR_CH_WIDTH, C64_SCR_CH_HEIGHT,
+        NULL, NULL,
+        NULL, NULL, NULL,
+        {
+            { DT_BITMAP,       0x0000, 0,  0, NULL, NULL },
+            { DT_SCREEN_RAM,   0x1f40, 0,  0, NULL, NULL },
+            { DT_COLOR_RAM,    0x2328, 0,  0, NULL, NULL },
+            { DT_COLOR_REG,    0x2710, 0,  DC_BGCOL, NULL, NULL },
+            { DT_LAST,         0,      0,  0, NULL, NULL },
+        }
+    },
 
     {
         D64_FMT_HIRES, "dd", "Doodle (unpacked)", 0x1c00, 9218,