> 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.
Ah, yes, I now understand what you meant by 'pattern'.
I always use bytes for RLE, this covers as well normal repeating data as
dithering.
But I still doubt there's much of a pattern to discover in the patterndata.
In fact, it is already compressed (that's the whole idea of combining a
tilemap with tiles)... The tiles itself are most likely very different from
eachother and a pattern can hardly be discovered I think.
By the way, what do you mean by "not tested"??? How can you program it then?
~Grauw
--
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<
email me: [EMAIL PROTECTED] or ICQ: 10196372
visit my homepage at http://grauw.blehq.org/
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED]
and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in
the body (not the subject) of the message.
Problems? contact [EMAIL PROTECTED]
More information on MSX can be found in the following places:
The MSX faq: http://www.faq.msxnet.org/
The MSX newsgroup: comp.sys.msx
The MSX IRC channel: #MSX on Undernet
****