Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Compression Routines  (Read 3631 times)

0 Members and 1 Guest are viewing this topic.

Lonewolf10

  • AMOS Extensions Developer
  • AMOS Dev
  • A2000
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 618
    • http://www.aliensrcooluk.com
Compression Routines
« 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

Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Compression Routines
« Reply #1 on: September 01, 2007, 03:22:38 PM »

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

Lonewolf10

  • AMOS Extensions Developer
  • AMOS Dev
  • A2000
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 618
    • http://www.aliensrcooluk.com
Re: Compression Routines
« Reply #2 on: September 01, 2007, 08:54:07 PM »


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

Logged

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Compression Routines
« Reply #3 on: September 02, 2007, 05:44:37 PM »

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.
Logged
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022