Re: [cc65] Request for feature: Compression of RODATA Segment

From: Ullrich von Bassewitz <>
Date: 2013-01-09 10:00:37

On Mon, Jan 07, 2013 at 11:02:59PM -0600, Payton Byrd wrote:
>    It would be nice if there was an option to tell LD65 to compress the
>    RODATA segment and then write it to a RAM segment on initialization.
>     Since gzip is already part of the CC65 toolset, wouldn't it be reasonable
>    to have the data compressed with gzip and then written out using the gzip
>    library?                                                            

The gzip modules need ca. 1.4K of CODE+RODATA plus 1.7K of BSS. I doubt that
compressing RODATA would outweight this in most cases.

Using a packer for the program as already suggested is probably a better idea.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Jan 9 10:00:46 2013

This archive was generated by hypermail 2.1.8 : 2013-01-09 10:00:51 CET