• DOSEMU, PKZIP and DPMI

    From Dan Clough@1:123/115 to All on Sat Jun 29 22:09:00 2019
    Hi all, I'm reposting the below message, with the original
    author's permission, because I think it may be helpful to many
    sysops...


    * Originally in: FSXnet BBS Support/Dev
    * Originally on: 06-29-19 20:40
    * Originally by: Netsurge

    PKZIP and dosemu don't play very well, especially if you are using a 64bit linux os.

    There is a way to disable DPMI (which causes the issue) via command line,
    by adding -) to the command line, but that really doesn't help if the zip
    and unzip routines are hardcoded into software, like interlord.

    Alas, after a shit load of research I have found a work around.

    First you will need pkzip 2.04g (google for pkz204g.exe or ask me to drop it
    in your inbound).

    Create a directory via dosemu to house pkzip and pkunzip (I created one in my doors dir called pkzip).

    Copy and run pkz204g.exe, it should uncompress all the PK stuff into doors/pkzip.

    Create a file in your pkzip dir called pkzip.cfg and add the following to
    that file:

    DPMI=Disabled

    Next you need to set the path for your pkzip folder and disable dpmi for pkunzip via your autoexec.bat. Edit autoexec.bat and add the following to
    your path statement:

    d:\doors\pkzip (where ever your created your pkzip folder)

    so my path statement looks like this now:

    path z:\bin;z:\gnu;z:\dosemu;d:\doors\pkzip

    you also need to add the following to your autoexec.bat file right after your last lredir statement:

    SET PKUNZIP=-)

    Now exit out of dosemu and head back into it so that your new autoexec.bat takes effect.

    As to why PKZIP uses a cfg file and PKUNZIP requires a variable set is beyond me, why not use either or for both. Then again, we are talking about the
    90's here/

    You should now be able to run pkzip.exe and pkunzip.exe from any directory without getting the dreaded DPMI error.

    If you have any questions, there is a huge discussion on SciNet in the
    gaming echo about beating dosemu into submission when it comes to running
    old dos door games in linux.

    |15frank |08// |15netsurge
    |07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness |11SciNet |03ftn hq |08% |07https://diskshop.ca/scinet

    === Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    # Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (21:4/154)
    --- SBBSecho 3.07-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (1:123/115)
  • From Phillip Taylor@1:275/201.30 to Dan Clough on Wed Nov 4 00:33:36 2020
    On Sat 29-Jun-2019 5:09p, Dan Clough@1:123/115.0 wrote:

    * Originally in: FSXnet BBS Support/Dev
    * Originally on: 06-29-19 20:40
    * Originally by: Netsurge

    PKZIP and dosemu don't play very well, especially if you are using a 64bit linux os.

    There is a way to disable DPMI (which causes the issue) via command line, by adding -) to the command line, but that really doesn't help if the zip and unzip routines are hardcoded into software, like interlord.

    Alas, after a shit load of research I have found a work around.

    Thank you and I will add this information to my bbs system.
    --- CNet/5
    * Origin: 1:275/201.0 (1:275/201.30)