Grauw:
> You are talking about compressing the tilemaps??? Well, that's a good
idea,
> yes. Using simple RLE it will still have a nice compression rate.
>
> There must be some not-too-slow-but-still-quite-good algorith out
there...
>
> And for real (drawn) images, RLE works. For the tiles however, there is
> little to gain I think. Not really worth the effort.
Here's my version of the RLE en/decoder in plain good old MSX-BASIC.
Written a long time ago - *NOT TESTED* though! Normally, I don't send
attachments to the list, but this one is smaller than some of the
RPG mails I've seen the last few days... It can crunch and decrunch
1 page of SCRN5 graphics.
Have phun,
Eric
(See attached file: (de)crun.asc)
(de)crun.asc