Ultimate Amiga
Network Boards => AMOS Programming Environment => AMOS Factory => AMOS BASIC => Topic started by: Lonewolf10 on September 01, 2007, 02:09:53 AM
Hi,
When studying compression routines at the end of 2005/start 2006 I wrote a simple compression routine which I got off the internet - well I got the theory behind how the code works, but I wrote a LZW (Lempel-Ziv-Welch) AMOS routine which is incredibly slow. Besides which, you would be stepping on a grey area if you don't have the appropriate license (the copyright to the LZW routine has expired, last I heard, but I wouldn't risk it).
Yesterday, whilst at work, I came up with a theory on how to do my own (hopefully much faster) compression routine. Unfortunately, with everything going on right now I won't have time to code it!!
Has anyone here written their own compression routine, and could it be used publicly, or perhaps within any NG AMOS?
Regards,
Lonewolf10
I know some of the theory behind it but, if the PicPak compression routine doesn't pack enough, I usually use FImp and decompress it with the "Imploder Load" command on the AMCAF extension.
I wasn't particularly thinking of images, mainly music files as I have some great PD ones which are 100-200KB in size and am hoping to include 4 or 5 in a demo I am slowly working on. So slow, that I'm not expecting it to be finished until Xmas at the earliest.
Regards,
Lonewolf10
FImp works on Protracker modules also. In fact Imploder Load "filename.mod",-3 is the correct way to load a Protracker music module under the AMCAF extension.