Oh one thing ive found out that may help in your tests. Dont compress the data as nibble pairs. If you convert the data into bytes (only using values 0 - 15) then compress that. (obviously in the decompressor you need to patch it back so two bytes become one nibble). You may find you get a much better compression rate.
Adrian -----Original Message----- From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On Behalf Of Adrian Brown Sent: 31 July 2010 13:16 To: sam-users@nvg.ntnu.no Subject: RE: Dizzy (was:Porting spectrum games...) Ok, providing I havent made any mistakes on the compressor it looks like the sizes are down at: 1: 256 x 141 : 4416 2: 256 x 141 : 5613 3: 256 x 192 : 9103 4: 256 x 192 : 8594 5: 256 x 192 : 10103 Ill write the decompressor and check, depends how slow it is to decompress i guess ;)