Mercurial > hg > dmlib
changeset 2537:646641d72128
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.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 29 Aug 2020 00:20:08 +0300 |
parents | fa826ee09b33 |
children | 9921d60bd8e4 |
files | tools/lib64fmts.c |
diffstat | 1 files changed, 21 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,