Roudoudou's article on Shrinkler was incredibly helpful! I'm porting Shrinkler from 68000, and this info is going to help me optimize the port.
(forum mods: This was meant to be a comment on the article, but I seem to have created a forum post instead (!) so please remove if inappropriate.)
which CPU is your target? 6502?
Roudoudou's tips to save 1 byte on Gonzague decrunching routine!
Replace:
XOR A ; start by LSB
init
DEC H
iniloop LD (HL),A
INC L
JR NZ,iniloop ; fill #100 row
XOR #80
DJNZ init
EX AF,AF' ; A'= either 0 or #80, nevermind
LD DE,#01 ; d3
By:
XOR A ; start by LSB
LD D,A
init
DEC H
iniloop LD (HL),A
INC L
JR NZ,iniloop ; fill #100 row
XOR #80
LD E,B
DJNZ init
EX AF,AF' ; A'= either 0 or #80, nevermind
; supprimé LD DE,#01 ; d3
Thank you for the tip, it will be very useful!
Hi
i modified the cruncher to avoid using parity context
this crunches approx 0.5% better (40 bytes for isometrikum)
and the decrunch routine is 6 bytes shorter ^_^
i posted exe + sources + decrunch on cpcwiki
Thank you for your awesome work!!
Excellent, thanks!
It would be great to integrate it as an option in Shrinkler for future releases. Blueberry could be interested!