changeset 1779:20bf4140eaa1

Add support for another plain multicolor variant, "Wigmore Artist 64". As a sidenote - that program is horrible to use, btw.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 12 Jun 2018 18:33:35 +0300
parents e8041923767d
children 5ea4713e9e0f
files tools/lib64fmts.c
diffstat 1 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64fmts.c	Tue Jun 12 18:21:06 2018 +0300
+++ b/tools/lib64fmts.c	Tue Jun 12 18:33:35 2018 +0300
@@ -1298,6 +1298,27 @@
     },
 
     {
+        "a64", "Wigmore Artist 64 (unpacked)", 0x4000, 10242, DM_FMT_RDWR,
+        NULL,
+        NULL, NULL,
+        {
+            D64_FMT_MC,
+            C64_SCR_WIDTH / 2, C64_SCR_HEIGHT,
+            C64_SCR_CH_WIDTH , C64_SCR_CH_HEIGHT,
+            NULL, NULL,
+            NULL,
+            {
+                { DO_COPY     , DS_BITMAP_RAM  , 0x0000, 0,  0, NULL, NULL },
+                { DO_COPY     , DS_SCREEN_RAM  , 0x2000, 0,  0, NULL, NULL },
+                { DO_COPY     , DS_COLOR_RAM   , 0x2400, 0,  0, NULL, NULL },
+                { DO_SET_MEM  , DS_BGCOL       , 0x27ff, 0,  0, NULL, NULL },
+                { DO_LAST     , 0              , 0     , 0,  0, NULL, NULL },
+            }
+        },
+        NULL
+    },
+
+    {
         "ami", "Amica Paint (packed)", 0x4000, 0, DM_FMT_RDWR,
         fmtProbeAmicaPaintPacked,
         fmtDecodeAmicaPaintPacked, fmtEncodeAmicaPaintPacked,