Jeszcze jeden komodorowy kompresor - pucrunch https://github.com/mist64/pucrunch
$ pucrunch -fshort -d -l0x1000 -x0x1000 conan.gfx conan.gfx.pcr
Load address 0x1000=4096, Last byte 0x2dff=11775
Exec address 0x1000=4096
New load address 0x0801=2049
Interrupts enabled and memory config set to $37 after decompression
Runnable on Commodore 64
Checked: 7680
Selecting the number of escape bits.. Selected 2-bit escapes
Optimizing LZ77 and RLE lengths...
Selecting LZPOS LO length.. Selected 8-bit LZPOS LO part
Note: Using option -m6 you may get better results.
In: 7680, out: 1983, ratio: 25.83% (2.07[1.79] b/B), gained: 74.18%
Gained RLE: 2390 (S+L:1277+1113), LZ: 3613, Esc: -18, Decompressor: -285
Times RLE: 148 (145+3), LZ: 382, Esc: 30 (normal: 654), 2 escape bits
Saving C64 short
conan.gfx.pcr uses the memory $2d-$30, $f7-$1d7, and $0802-$2e09.
Compressed 7680 bytes in 0.01 seconds (909.09 kB/sec)
$ pucrunch -fshort -d -l0x1000 -x0x1000 Landscape.xex Landscape.xex.pcr
Load address 0x1000=4096, Last byte 0x87bc=34748
Exec address 0x1000=4096
New load address 0x0801=2049
Interrupts enabled and memory config set to $37 after decompression
Runnable on Commodore 64
Checked: 30653
Selecting the number of escape bits.. Selected 2-bit escapes
Optimizing LZ77 and RLE lengths...
Selecting LZPOS LO length.. Selected 8-bit LZPOS LO part
In: 30653, out: 14460, ratio: 47.18% (3.78[3.71] b/B), gained: 52.83%
Gained RLE: 6143 (S+L:3481+2662), LZ: 10610, Esc: -273, Decompressor: -285
Times RLE: 471 (467+4), LZ: 2959, Esc: 437 (normal: 7645), 2 escape bits
Saving C64 short
Landscape.xex.pcr uses the memory $2d-$30, $f7-$1d7, and $0802-$87c8.
Compressed 30653 bytes in 0.02 seconds (1210.31 kB/sec)
$ pucrunch -fshort -d -l0x1000 -x0x1000 RiverRaid.rom RiverRaid.rom.pcr
Load address 0x1000=4096, Last byte 0x2fff=12287
Exec address 0x1000=4096
New load address 0x0801=2049
Interrupts enabled and memory config set to $37 after decompression
Runnable on Commodore 64
Checked: 8192
Selecting the number of escape bits.. Selected 2-bit escapes
Optimizing LZ77 and RLE lengths...
Selecting LZPOS LO length.. Selected 8-bit LZPOS LO part
Note: Using option -m6 you may get better results.
In: 8192, out: 6810, ratio: 83.13% (6.66[6.40] b/B), gained: 16.88%
Gained RLE: 412 (S+L:412+0), LZ: 1462, Esc: -205, Decompressor: -285
Times RLE: 134 (134+0), LZ: 1033, Esc: 329 (normal: 4265), 2 escape bits
Saving C64 short
RiverRaid.rom.pcr uses the memory $2d-$30, $f7-$1d7, and $0802-$3008.
Compressed 8192 bytes in 0.00 seconds (2680.97 kB/sec)
Niestety rozmiar liczony jest razem z dekompresorem i nie da się uzyskać informacji o samych danych wynikowych (jakoś pewnie by się dało policzyć). Całościowo:
1983 conan.gfx.pcr
14460 Landscape.xex.pcr
6810 RiverRaid.rom.pcr
Post's attachmentsMakefile 2.97 kb, liczba pobrań: 1 (od 2025-09-18)
Tylko zalogowani mogą pobierać załączniki.
hex, code and ror'n'rol
niewiedza buduje, wiedza rujnuje