changeset 2613:b814fe89038d

Add support for Hi-Eddi hires format.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 27 Nov 2023 12:21:30 +0200
parents ff4c35d98267
children c9741a11d1cd
files tools/lib64fmts.c
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64fmts.c	Mon Nov 27 10:33:47 2023 +0200
+++ b/tools/lib64fmts.c	Mon Nov 27 12:21:30 2023 +0200
@@ -3000,6 +3000,26 @@
     },
 
     {
+        "hed", "Hi-Eddi (unpacked)", 0x2000, 9218, 0, DM_FMT_RDWR,
+        NULL,
+        NULL, NULL,
+        {
+            D64_FMT_HIRES,
+            D64_SCR_WIDTH   , D64_SCR_HEIGHT,
+            D64_SCR_CH_WIDTH, D64_SCR_CH_HEIGHT,
+            1, 1,
+            NULL, NULL,
+            NULL,
+            {
+                { DO_COPY       , DS_BITMAP_RAM  , 0x0000, 0, 0,   0, NULL, NULL, DF_NORMAL },
+                { DO_COPY       , DS_SCREEN_RAM  , 0x2000, 0, 0,   0, NULL, NULL, DF_NORMAL },
+                { DO_LAST       , 0              , 0     , 0, 0,   0, NULL, NULL, DF_NORMAL },
+            }
+        },
+        NULL
+    },
+
+    {
         "gih", "Gigapaint hires [mono] (unpacked)", 0x6000, 8002, 0, DM_FMT_RDWR,
         fmtProbeGigapaintHires,
         NULL, NULL,