My first GFA program "lzip"

GFA BASIC-related articles in here please

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

Post Reply
Latz
Captain Atari
Captain Atari
Posts: 282
Joined: Tue Mar 08, 2011 6:02 pm
Location: Germany
Contact:

My first GFA program "lzip"

Post by Latz »

Hi,

if you are interested, find attached my first useful and working program
*** lzip *** Version 1.0

Written with GFA Basic and some kind starting hints from Rajah Lone, lzip
is a simple tool for zipping files or folders under TOS or FreeMiNT,
by using MiNT zip executable. Intended as an easy to use tool, it don't
offer any additional compress settings.

You can zip a file or folder with drag and drop on the program icon or
with filesector if lzip is started with doubleclick (for now, only one
file or folder at once).
More infos in archive/lzip.txt.

Tested on Falcon/CT60 and FireBee with TOS and FreeMiNT/XaAES.
Please report if and how it works on smaller Ataris.
Use at your own risk!

Latz
You do not have the required permissions to view the files attached to this post.
Falcon/CT60 90MHz, 14+128 MB RAM, CTPCI/Radeon 9250/RTL8139, Carte Eiffel+LCD, 32GB CF card, DVD-RW.
Falcon/CT63 95MHz, 4+128 MB RAM, CTPCI/Radeon 9250/RTL8139, Carte Eiffel+LCD, 16GB IDE CF card, CD-RW.
User avatar
christos
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2476
Joined: Tue Apr 13, 2004 8:24 pm
Location: Greece

Re: My first GFA program "lzip"

Post by christos »

NIce! I wanted to do something like that myself but I never got around to it. It seems like yours is better than what I would have done :D. Did you use ARGV?

PS: I have a feeling Matthias will love it ;)
Latz
Captain Atari
Captain Atari
Posts: 282
Joined: Tue Mar 08, 2011 6:02 pm
Location: Germany
Contact:

Re: My first GFA program "lzip"

Post by Latz »

Hi,
christos wrote:NIce! I wanted to do something like that myself but I never got around to it. It seems like yours is better than what I would have done :D. Did you use ARGV?
Thank you! In fact i was inspired by your Qextract :D and found that i can do it the opposite way. But honestly, i never
would have published my first attempt (before Rajah showed me the right way)... :oops:

No ARGV used, sorry.

Latz
Falcon/CT60 90MHz, 14+128 MB RAM, CTPCI/Radeon 9250/RTL8139, Carte Eiffel+LCD, 32GB CF card, DVD-RW.
Falcon/CT63 95MHz, 4+128 MB RAM, CTPCI/Radeon 9250/RTL8139, Carte Eiffel+LCD, 16GB IDE CF card, CD-RW.
User avatar
jfl
Atari Super Hero
Atari Super Hero
Posts: 893
Joined: Tue Jul 18, 2006 10:55 pm
Location: Liège, Belgium
Contact:

Re: My first GFA program "lzip"

Post by jfl »

Hi Latz,

So let me get this straight: you mean all that amazing translation work and documenting and bug reporting and testing you've been doing for years was not enough to occupy your days and you needed a new challenge 8O And not only that, you end up producing one piece of software that was sorely missing, a simple way to compress files. Well, I salute you :cheers: You really amaze me.
vido
Atari Super Hero
Atari Super Hero
Posts: 719
Joined: Mon Jan 31, 2011 7:39 pm

Re: My first GFA program "lzip"

Post by vido »

jfl wrote:So let me get this straight: you mean all that amazing translation work and documenting and bug reporting and testing you've been doing for years was not enough to occupy your days and you needed a new challenge 8O And not only that, you end up producing one piece of software that was sorely missing, a simple way to compress files. Well, I salute you :cheers: You really amaze me.
Hehe ... those are exactly my toughts!
Lars is amazing!
User avatar
AdamK
Captain Atari
Captain Atari
Posts: 326
Joined: Wed Aug 21, 2013 8:44 am

Re: My first GFA program "lzip"

Post by AdamK »

Great program. But the name is a bit unfortunate, as there already is (non Atari) lzip. Consider change to avoid confusion (and easier googling)
Atari: FireBee, Falcon030 + CT60e + SuperVidel + SvEthlana, TT, 520ST + 4MB ST RAM + 8MB TT RAM + CosmosEx + SC1435, 1040STFM + UltraSatan + SM124, 1040STE 4MB ST RAM + 8MB TT RAM + CosmosEx + NetUSBee + SM144 + SC1224, 65XE + U1MB + VBXE + SIDE2, Jaguar, Lynx II, 2 x Portfolio (HPC-006)

Adam Klobukowski [adamklobukowski@gmail.com]
User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12908
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: My first GFA program "lzip"

Post by wongck »

:megaphone: Well done.... :cheers:
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list
sashapont
Captain Atari
Captain Atari
Posts: 153
Joined: Sat Jun 03, 2017 9:40 pm

Re: My first GFA program "lzip"

Post by sashapont »

Cool! Thank you!
Atari Falcon, Firebee
Latz
Captain Atari
Captain Atari
Posts: 282
Joined: Tue Mar 08, 2011 6:02 pm
Location: Germany
Contact:

Re: My first GFA program "lzip"

Post by Latz »

Hi,

thank you all for your kind words, i´m really happy that you find it useful!
I missed something like this since i switched to MiNT, although zip in bash is more powerful.
...and somehow nobody else did it...

Also a big THANK YOU to "my" translators!!!

Latz
Falcon/CT60 90MHz, 14+128 MB RAM, CTPCI/Radeon 9250/RTL8139, Carte Eiffel+LCD, 32GB CF card, DVD-RW.
Falcon/CT63 95MHz, 4+128 MB RAM, CTPCI/Radeon 9250/RTL8139, Carte Eiffel+LCD, 16GB IDE CF card, CD-RW.
simonsunnyboy
Moderator
Moderator
Posts: 5234
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Re: My first GFA program "lzip"

Post by simonsunnyboy »

A very nice tool.

While looking for an ST-Zip alternative that works under TOS, I discovered that the version of zip.ttp shipped with lzip is for 020 and up, and not for 000. + it requires an FPU.
It would be nice to also provide a 000 capable zip utility, as already a Coldfire alternative is in place.

See http://www.atari-forum.com/viewtopic.php?f=14&t=38441
Simon Sunnyboy/Paradize - http://paradize.atari.org/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
Latz
Captain Atari
Captain Atari
Posts: 282
Joined: Tue Mar 08, 2011 6:02 pm
Location: Germany
Contact:

Re: My first GFA program "lzip"

Post by Latz »

Hi,

here's an update of lzip, version 1.1 now.
Please do not merge old and new version files; remove the old version
completely and install the new one!

NEW:
- Name changed to "latzip" (lzip already existed)
- now works correct also on machines without FPU
- Under TOS debug output to file (keeps the screen clear), under MiNT
debug output also in console.
- optimized code

Please see also latzip.txt in archive.

Have fun!

Latz
You do not have the required permissions to view the files attached to this post.
Falcon/CT60 90MHz, 14+128 MB RAM, CTPCI/Radeon 9250/RTL8139, Carte Eiffel+LCD, 32GB CF card, DVD-RW.
Falcon/CT63 95MHz, 4+128 MB RAM, CTPCI/Radeon 9250/RTL8139, Carte Eiffel+LCD, 16GB IDE CF card, CD-RW.
Post Reply

Return to “GFA BASIC”