FAQ  •  Register  •  Login

Simple RLE Decompressor

<<

LCD

Posts: 566

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Fri Apr 29, 2011 11:47 pm

Simple RLE Decompressor

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!
<<

boriel

Site Admin

Posts: 1266

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Sat Apr 30, 2011 8:42 am

Re: Simple RLE Decompressor

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).
<<

LCD

Posts: 566

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Sat Apr 30, 2011 11:58 am

Re: Simple RLE Decompressor

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!
<<

JBGV

Posts: 64

Joined: Wed Feb 16, 2011 6:12 am

Post Sun May 01, 2011 8:49 pm

Re: Simple RLE Decompressor

Hope this helps:

Course of assembler Z80 Compiler Software:


http://www.speccy.org/wiki/cursos/ensamblador/compresion_rle
<<

LCD

Posts: 566

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Sun May 01, 2011 10:31 pm

Re: Simple RLE Decompressor

JBGV wrote:Hope this helps:

Course of assembler Z80 Compiler Software:


http://www.speccy.org/wiki/cursos/ensamblador/compresion_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!
<<

boriel

Site Admin

Posts: 1266

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Mon May 02, 2011 7:00 am

Re: Simple RLE Decompressor

JBGV wrote:Hope this helps:

Course of assembler Z80 Compiler Software:


http://www.speccy.org/wiki/cursos/ensamblador/compresion_rle

You've found it! Thk!

Return to Wishlist

Who is online

Users browsing this forum: No registered users and 0 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO