Announcement

Collapse

Forum etiquette

Our mission ...

This forum is part of our mission to promote the preservation of vintage computers through education and outreach. (In real life we also run events and have a museum.) We encourage you to join us, participate, share your knowledge, and enjoy.

This forum has been around in this format for over 15 years. These rules and guidelines help us maintain a healthy and active community, and we moderate the forum to keep things on track. Please familiarize yourself with these rules and guidelines.


Remain civil and respectful

There are several hundred people who actively participate here. People come from all different backgrounds and will have different ways of seeing things. You will not agree with everything you read here. Back-and-forth discussions are fine but do not cross the line into rude or disrespectful behavior.

Conduct yourself as you would at any other place where people come together in person to discuss their hobby. If you wouldn't say something to somebody in person, then you probably should not be writing it here.

This should be obvious but, just in case: profanity, threats, slurs against any group (sexual, racial, gender, etc.) will not be tolerated.


Stay close to the original topic being discussed
  • If you are starting a new thread choose a reasonable sub-forum to start your thread. (If you choose incorrectly don't worry, we can fix that.)
  • If you are responding to a thread, stay on topic - the original poster was trying to achieve something. You can always start a new thread instead of potentially "hijacking" an existing thread.



Contribute something meaningful

To put things in engineering terms, we value a high signal to noise ratio. Coming here should not be a waste of time.
  • This is not a chat room. If you are taking less than 30 seconds to make a post then you are probably doing something wrong. A post should be on topic, clear, and contribute something meaningful to the discussion. If people read your posts and feel that their time as been wasted, they will stop reading your posts. Worse yet, they will stop visiting and we'll lose their experience and contributions.
  • Do not bump threads.
  • Do not "necro-post" unless you are following up to a specific person on a specific thread. And even then, that person may have moved on. Just start a new thread for your related topic.
  • Use the Private Message system for posts that are targeted at a specific person.


"PM Sent!" messages (or, how to use the Private Message system)

This forum has a private message feature that we want people to use for messages that are not of general interest to other members.

In short, if you are going to reply to a thread and that reply is targeted to a specific individual and not of interest to anybody else (either now or in the future) then send a private message instead.

Here are some obvious examples of when you should not reply to a thread and use the PM system instead:
  • "PM Sent!": Do not tell the rest of us that you sent a PM ... the forum software will tell the other person that they have a PM waiting.
  • "How much is shipping to ....": This is a very specific and directed question that is not of interest to anybody else.


Why do we have this policy? Sending a "PM Sent!" type message basically wastes everybody else's time by making them having to scroll past a post in a thread that looks to be updated, when the update is not meaningful. And the person you are sending the PM to will be notified by the forum software that they have a message waiting for them. Look up at the top near the right edge where it says 'Notifications' ... if you have a PM waiting, it will tell you there.

Copyright and other legal issues

We are here to discuss vintage computing, so discussing software, books, and other intellectual property that is on-topic is fine. We don't want people using these forums to discuss or enable copyright violations or other things that are against the law; whether you agree with the law or not is irrelevant. Do not use our resources for something that is legally or morally questionable.

Our discussions here generally fall under "fair use." Telling people how to pirate a software title is an example of something that is not allowable here.


Reporting problematic posts

If you see spam, a wildly off-topic post, or something abusive or illegal please report the thread by clicking on the "Report Post" icon. (It looks like an exclamation point in a triangle and it is available under every post.) This send a notification to all of the moderators, so somebody will see it and deal with it.

If you are unsure you may consider sending a private message to a moderator instead.


New user moderation

New users are directly moderated so that we can weed spammers out early. This means that for your first 10 posts you will have some delay before they are seen. We understand this can be disruptive to the flow of conversation and we try to keep up with our new user moderation duties to avoid undue inconvenience. Please do not make duplicate posts, extra posts to bump your post count, or ask the moderators to expedite this process; 10 moderated posts will go by quickly.

New users also have a smaller personal message inbox limit and are rate limited when sending PMs to other users.


Other suggestions
  • Use Google, books, or other definitive sources. There is a lot of information out there.
  • Don't make people guess at what you are trying to say; we are not mind readers. Be clear and concise.
  • Spelling and grammar are not rated, but they do make a post easier to read.
See more
See less

Easy compression tool

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Easy compression tool

    After hitting a few different pages last night trying to find a simple compression tool for CP/M that would also have a compatible DOS/win32 counterpart, I came up short.

    What I'm looking for is something like pkzip where I can create a compressed archive with more than one file in it. The on the CP/M side uncompress from that one file to multiple files.

    I can deal with only a CP/M side tool and just use zx to use it under win32, but I'm looking for simple. Something that allows adding files to an archive as simple as "arc -a archivename *.*" or "unarc archivename".

    The sites I visited had many of them, but there options didn't make sense or they themselves were archived with yet another tool I didn't know about.

    #2
    IZarc for modern Windows supports the creation and extraction of files in the old SEA ARC format. Of course, there were also ARC tools available for MS-DOS. Since there are a number of SEA versions for CP/M, that should handle requirements. ARC handles compression with multiple files and it is easy enough.

    http://cpmarchives.classiccmp.org/cp...M+Catalog.html might help on the CP/M side since it has uncompressed UNARC plus a compressed version with complete manual.

    Comment


      #3
      lu for CP/M 8-bit and nulu for 16-bit DOS is a possibility. Later versions of lu incorporate code from SQ and USQ.

      Comment


        #4
        I ended up finding this which seems to work great so far - the latest versions even support deflate so winzip worked for me on the portable setting.

        https://github.com/agn453/UNZIP-CPM-Z80

        Comment


          #5
          Be aware--that will not work on an 8080/8085-based system--only Z80. If you're moving files around to other people, that may leave them up the creek. Note also that the code and binaries are distributed in lbr format, so you'll still be using lu or sweep.

          Comment


            #6
            Maybe I misunderstood their website, I think they were saying that the 154 would work on 8080, and that above that required Z80.

            Comment


              #7
              Can you cite that? I don't see it.

              Comment


                #8
                I think you are right. I saw that where it mentioned 1.5-4 was for CP/M and the 1.8-6 was for Z-system and I thought "Z80" for that.

                Comment


                  #9
                  SQ and USQ do work on 8080, IIRC. Simple Huffman compression, if my memory serves.

                  Comment


                    #10
                    I would avoid ZIP on CP/M if I were you. I can't comment on the utility you link to but historically the CP/M utilities that support ZIP were buggy or used the old algorithm.

                    I would second krebizfan and use something based on SEA ARC as it's well supported on CP/M and has been tested over a long time. There are a number of utilities that support it on DOS/WINDOWS - I used to use PKARC which worked well; I think it later became PKPAK.
                    TechTinkering : Website / YouTube (Retro computers, VIC-20, CP/M, Programming)
                    Latest Video: Advanced Use of .LBR Files on CP/M

                    Comment


                      #11
                      John Elliott's seasip site includes a set of utilities for PMARC, I'm still checking this out myself but they came through as an arc, they unpacked OK. The progs are essentially CP/M, but one of the options creates a self extracting archive and this archive supposedly will extract on either a PC or a CP/M machine. There's another reference to the system recognising actual file sizes under DOS (I assume it works to block sizes under CP/M).

                      The files on John's site are in bits over three separate packets, so it was a bit of a fiddle to get a single complete set. I'm still working on this. Maybe there is a better package somewhere else? What I have now seems to be complete, but I need to test it.

                      Later... Seems that this system is Z80 only, although there's a reference to the fairly minimal code change needed to make it work for 8080.

                      Also, generally, you can create archives under CP/M, and there's a way (using the SFX) to allow the archive to run/extract on a PC, but there's no way to create an archive on a PC and extract under CP/M, which seemed to be one of the original requirements.

                      The system does have some pluses. The ability to concatenate archives, and the ability to use wildcards for multiple archives, so if you've got multiple archives on a drive and you don't know which one has the file you need to extract, then the process will find it for you and extract it.

                      Geoff
                      Last edited by GeoffB17; May 13, 2021, 12:01 PM.
                      Vintage Devices: Epson HX-20/TF-20, Amstrad PCW 8256 (with extras), 386 and 486 PCs with 5.25 and 3.5 floppy drives, Pentium 75 with Roland LAPC-I midi card

                      Comment


                        #12
                        We're actually talking about two different animals here, aren't we? Compression/decompression software and archiving/library software. Sometime occur in the same product, but not always.

                        I used NSWEEP back in the day Description here.

                        Comment


                          #13
                          I suppose so.

                          In this case, PMARC is compressing, supposedly as well as something like LHA or ARJ, but it is in effect creating an archive file as well. If you WANT just the archive facility, you can turn compression off, which will increase the speed.

                          I mentioned it here because of the compression/decompression. And the fact that OP was seeking some CP/M-PC compatibility and there is at least a bit of that.

                          I've been using NSWP since I had the CP/M machine, but although the SQ facility is useful, it keeps everything as separate files. Still use NWSP and CWEEP on PCs, but they both do funny things on newer machines. Still OK on the 386 I use for the 'tweener' duties!

                          I think I'm staying 'on topic'?

                          Geoff
                          Vintage Devices: Epson HX-20/TF-20, Amstrad PCW 8256 (with extras), 386 and 486 PCs with 5.25 and 3.5 floppy drives, Pentium 75 with Roland LAPC-I midi card

                          Comment


                            #14
                            I am looking for both a compressor/archiver. Which CP/M side tool do you recommend for ARC? PMARC?

                            Comment


                              #15
                              There are corresponding PC utilities to handle .lbr files, as well as squeezed ones. Check the SIMTEL20 archive.

                              Comment

                              Working...
                              X