changeset 1769:bf22cd877c13

Add support for Saracen Paint multicolor format.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 12 Jun 2018 13:36:54 +0300
parents 582819d59b52
children a176dea422cb
files tools/lib64fmts.c
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64fmts.c	Tue Jun 12 13:36:00 2018 +0300
+++ b/tools/lib64fmts.c	Tue Jun 12 13:36:54 2018 +0300
@@ -1150,6 +1150,24 @@
     },
 
     {
+        D64_FMT_MC, "sar", "Saracen Paint (unpacked)", 0x7800, 10219, DM_FMT_RDWR,
+        C64_SCR_WIDTH / 2, C64_SCR_HEIGHT,
+        C64_SCR_CH_WIDTH , C64_SCR_CH_HEIGHT,
+        NULL,
+        NULL, NULL,
+        NULL, NULL,
+        NULL,
+        {
+            { DO_COPY     , DS_SCREEN_RAM  , 0x7800 - 0x7800, 0,  0, NULL, NULL },
+            { DO_SET_MEM  , DS_BGCOL       , 0x7bf0 - 0x7800, 0,  0, NULL, NULL },
+            { DO_COPY     , DS_BITMAP_RAM  , 0x7c00 - 0x7800, 0,  0, NULL, NULL },
+            { DO_COPY     , DS_COLOR_RAM   , 0x9c00 - 0x7800, 0,  0, NULL, NULL },
+            { DO_LAST     , 0              , 0     , 0,  0, NULL, NULL },
+        },
+        NULL
+    },
+
+    {
         D64_FMT_MC, "pmg", "Paint Magic crippled MC (unpacked)", 0x3f8e, 9332, DM_FMT_RDWR,
         C64_SCR_WIDTH / 2, C64_SCR_HEIGHT,
         C64_SCR_CH_WIDTH , C64_SCR_CH_HEIGHT,