Orion_ Posted July 31, 2012 Report Share Posted July 31, 2012 Hello, After testing different compression tool for 68k, I finally found one (thanks ggn !) which compress really good (better than ICE, UPX & ZIP !) and is fast enough (at least not slower than PackIce for example) It's ARJ in mode 7, the problem was that it involved a tool working only on TOS, and thus using an Atari emulator in the compression process. But I re-made this tool for PC/Windows (source included) and also a ready to use package for compressing files Here it is: http://onorisoft.free.fr/extern/ARJ68k.zip Just use the command: packarj yourfile.dat and you will get a yourfile.arj packed file. (which is not an arj archive but the raw compressed data !) Now use the "arjm7.s" 68k routine to unpack a0 = destination, a1 = source, bsr unarj d0 is no more needed because I include the original file size inside the packed data ! and added a line at the beginning of the unpack routine. Warning: It use around 12k of stack. If you want a faster depack, but less packed file (and no stack usage), simply replace the -m7 parameter (in the packarj.bat file) by -m4 and use the mode4 depack routine (ggn can you post this here ? thanks !) Link to comment Share on other sites More sharing options...
ggn Posted July 31, 2012 Report Share Posted July 31, 2012 (ggn can you post this here ? thanks !) Sure . Thanks for making this more automated process and for the extraction tool! I'd also like to take this opportunity to say that ARJ modes 4 and 7 don't exist on the normal ARJ (maybe mode 4 but I think not). They were coded by Hans Wessels AKA Mr Ni! of the TOS crew. So I think it's only fair that if any gentlemen use these 2 packing methods, kindly credit Hans for his amazing work . mode4new.s Link to comment Share on other sites More sharing options...
Cyrano Jones Posted July 31, 2012 Report Share Posted July 31, 2012 We've used ARJ compression on some of the ULS ST HD fixes - most notably Gauntlet II - it was the only way to get it onto one disk! Link to comment Share on other sites More sharing options...
rush6432 Posted September 1, 2012 Report Share Posted September 1, 2012 After one attempt here at integrating this tool into an existing program ive had no good results. Unsure why, but it seems that it crashes even when setting up the stack 12k away from the end of ram and calling it as the directions say while including the .s file. I havnt used mode 4, just the mode 7 example. Am i missing something?? Could always benefit from a little better compression allows for more stuff in programs. Link to comment Share on other sites More sharing options...
Fredifredo Posted September 3, 2012 Report Share Posted September 3, 2012 Is it possible having double compression ( BPEG compress with ARJ ) winning space ? Link to comment Share on other sites More sharing options...
Orion_ Posted September 3, 2012 Author Report Share Posted September 3, 2012 no, BPEG is already compressed, you won't get a compression gain when using arj on it. rush > I don't know, I'm setting the stack at the end of ram and it's perfectly working for me (see my bjl packer) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now