# HG changeset patch # User Matti Hamalainen # Date 1598649608 -10800 # Node ID 646641d7212864be8e7c3b042505b9f5f14a5f10 # Parent fa826ee09b3329f0f54fcd524b2b163bf098e9df Add support for Giga-Paint hires format that includes screen RAM. Not sure if this is correct, as I've found only one sample of it. diff -r fa826ee09b33 -r 646641d72128 tools/lib64fmts.c --- a/tools/lib64fmts.c Thu Jul 23 03:38:46 2020 +0300 +++ b/tools/lib64fmts.c Sat Aug 29 00:20:08 2020 +0300 @@ -2728,7 +2728,7 @@ }, { - "gih", "Gigapaint hires (unpacked)", 0x6000, 8002, 0, DM_FMT_RDWR, + "gih", "Gigapaint hires [mono] (unpacked)", 0x6000, 8002, 0, DM_FMT_RDWR, fmtProbeGigapaintHires, NULL, NULL, { @@ -2748,6 +2748,26 @@ }, { + "gic", "Gigapaint hires [color] (unpacked)", 0x6000, 9002, 0, DM_FMT_RDWR, + fmtProbeGigapaintHires, + 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 , 0x1f40, 0, 0, 0, NULL, NULL, DF_NORMAL }, + { DO_LAST , 0 , 0 , 0, 0, 0, NULL, NULL, DF_NORMAL }, + } + }, + NULL + }, + + { "bfli", "Pu-239 Big FLI/BFLI (unpacked)", 0x3bff, 33795, 0, DM_FMT_RD, NULL, NULL, NULL,