Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple RLE Decompressor
#1
Maybe not a bad idea: a decompress function for RLE encoded binaries (starting with dbyte contains length of compressed and a flag byte). Maybe something like UnRLE(sourceaddress,destinationaddress) returning the length of decompressed bytes or alternative, if the starting bytes are missing: UnRLE(sourceaddress,destinationaddress,length,flagbyte), or even with bank switching management. This will allow to pack more graphical and level-data into our programs. Maybe a job for britlion, to write a fastcall routine? This can be used for all Z80 computers then.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#2
It's already done at speccy.org (a Spanish ZX Spectrum forum), and freely redistributable. I could include it as <rled.bas> or the like?
I think some users here (e.g. apenao) have already been using it with ZX BASIC :wink: (not sure).
Reply
#3
Sounds good. Speccy.org looks like a nice forum (also with the QL subforum), but I cannot find a search-function (maybe because I'm not a registred user) to find this decompressor. Any link please? Including it would be excellent.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#4
Hope this helps:

Course of assembler Z80 Compiler Software:


http://www.speccy.org/wiki/cursos/ensamb...resion_rle
Reply
#5
JBGV Wrote:Hope this helps:

Course of assembler Z80 Compiler Software:


http://www.speccy.org/wiki/cursos/ensamb...resion_rle

Thank you, I think this is it. Will explore it tomorrow.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#6
JBGV Wrote:Hope this helps:

Course of assembler Z80 Compiler Software:


http://www.speccy.org/wiki/cursos/ensamb...resion_rle
You've found it! Thk!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)