        ZIPMAN.COM                                         Version 1.42
        ==========                                        (February 2018)

        Quick info:  Tool for the Zip-drivers "palmZIP" and "PofoZip".
                     The main purpose is performing a re-formatting.



        Changes in version 1.42
        -----------------------


        - The partitions created by ZIPMAN are now entered at the beginning
          of the partition table in the MBR. Previous versions of ZIPMAN
          created them as primary partition number 4 (96M) or as primary
          partitions numbers 2-4 (3x32M).
        - The FAT12 filesystems generated by ZIPMAN do no longer contain
          any unused sectors directly behind each of the two FATs.
          The older file system was not compatible with all DOS versions.
          E.g. in PC-DOS 2.10, files written with newer DOS versions were
          not visible.



        Requirements
        ------------


        To run ZIPMAN, you must have
        - loaded the driver (POFOZIP.SYS or PALMZIP.SYS)
        - at least 33 KByte of free memory
        - the Zip-drive connected and a disk inserted



        Re-Formatting
        -------------


        If you are using DOS 2.x or 3.x, a Zip-disk must be reformatted
        before use. ZIPMAN offers two special formats which are opti-
        mized for DOS 2.x and 3.x. (but can also be used with later
        versions of DOS). As these formats (must only) have a capacity
        of 32 MBytes, three partitions can be stored on one Zip-disk.
        In ZIPMAN, you can first select the desired partition (1-3) and
        then format it for use with DOS 2.x or 3.x.
        Besides these two special formats, ZIPMAN 1.40 (or newer) can
        also generate the original 96M-format which requires DOS 4.0 (*)
        or later.

        *) Some OEM-versions of MS-DOS (e.g. Compaq MS-DOS 3.31) are
           already capable of addressing partitions larger than 32 MB.
           The same is true for DR DOS version 3.31 and later.



        Program usage
        -------------


        For a maximum compatibility, all Input/Output is done via DOS-
        function calls. This should enable access even from a remote
        terminal. The text output is done in the current video mode,
        it is limited to max. 40 characters per line and does not use
        any ANSI control sequences.

        When ZIPMAN starts without any parameters, it displays the below
        menu:

                   ZIPMAN 1.42   (c)1997-2018 by K. Peichl
                   ---------------------------------------
                   <P>artition   1=D *   2=E     3=F
                   <T>ype        96M/FAT16 (for DOS 4.x)
                   <F>ormat specified partition
                   <E>ject Zip-Disk
                   <Esc>ape to DOS


        The following menu items are available (selected by pressing
        the corresponding key):


        <P>artition:

           All drive letters created by palmZIP/PofoZip are shown
           on this line together with the assigned partition number.
           Typically, for all of the three possible partitions, one
           drive letter is displayed.
           To select a partition to be formatted, press <P> repeatedly
           until the desired partition is marked with "*".

        <T>ype:

           As described above, there are tree format types available:

           32M/FAT12 (for DOS 2.x or higher)
           32M/FAT16 (for DOS 3.x or higher)
           96M/FAT16 (for DOS 4.x or higher)

           The current selection can be changed by pressing <T>.
           The default setting tries to match your DOS best.

        <F>ormat:

           After confirmation, the selected partition will be formatted
           with the desired format type.

        <E>ject:

           The Zip-disk is ejected from the drive.

        <Esc>ape:

           Terminates the program.


        Notes:

        - The Zip-disk must not be write protected

        - If you are using ZIPMAN for the first time and want to prepare
          a Zip-disk for use with DOS 2.x or 3.x, three format processes
          are required to make the whole disk capacity (3x32MB) usable.

        - It is (of course) not possible to use both 96M and 32M-
          partitions on the same disk. But as formatting does not erase
          the whole media, it might still be possible to access an old
          partition. Be aware that writing may damage your newer data!

        - 1 MByte is defined here as 1024*1024 Bytes. Therefore 96 MBytes
          equal 100,663,296 Bytes, 100.431.872 Bytes of which are
          available for data storage.



        Command line parameters
        -----------------------


        /Sx  Set a new sleep time. The value of x (decimal 1..99,
             0=never) describes the idle time in minutes after that the
             Zip-drive shall turn off the motor. See (*)

        /E   Eject disk. See (*)

        /MBR Create a new Master Boot Record (see below)

        /?   Display a short info screen

        The following commands refer to the lowest logical drive
        created by palmZIP/PofoZip:

        /Px  Switch partition number (x=1..3). See (**)

        /P?  Get current partition number. Errorlevel will contain
             the result (between 1 and 3).

        /D?  Get current drive letter.  Errorlevel will contain the
             result (for example, 68 for drive D).

        Remarks:

        (*)  Commands marked with (*) require PofoZIP 1.20 or
             palmZIP 1.10 (or later versions).
        (**) For use with old versions of the driver only
             (palmZIP<1.20 or PofoZip<1.30).



        Using ZIPMAN in batch programs
        ------------------------------


        Since version 1.1 ZIPMAN accepts input from a control file
        which simulates all desired keystrokes. An escape character
        must be present at the end of the file. (Esc can be generated
        in MSDOS-Edit by pressing <Ctrl>+<P>, <Esc>)

        The below line shows an example call of ZIPMAN which might be
        part of a batch program:
                                    ZIPMAN <keys.txt >nul



        Technical details
        -----------------


        Some characteristics of the special disk formats compared to
        the original 100 MByte format:

                           3x32M/FAT12     3x32M/FAT16       96M/FAT16
        --------------------------------------------------------------
        from DOS version           1.0             3.0             4.0
        --------------------------------------------------------------
        FAT-type                 FAT12           FAT16           FAT16
        --------------------------------------------------------------
        FATs per              first: 3
        partition        since 7/98: 2               2               2
        --------------------------------------------------------------
        available         3 x 33406976    3 x 33454080
        capacity         = 100.220.928   = 100.362.240     100.431.872
        --------------------------------------------------------------
        Cluster size              8192            2048            2048
        --------------------------------------------------------------
        Root directory         3 x 511         3 x 511
        entries                 = 1533          = 1533             511
        --------------------------------------------------------------



        Stucture of a partitioned Zip-disk with 3 x 32M/FAT12:

         SCSI-   DOS-     # of
        sector  sector  sectors usage
        ---------------------------------------------
            0h               1  Master Boot Record
            1h              31  hidden

           20h      0h       1  Bootsector drive D (e.g.)
           21h      1h      12  1. FAT           D
           2Dh      Dh      12  2. FAT           D
           39h     19h      32  Root-Dir         D
           59h     39h   65248  Data area        D
         FF39h   FF19h     199  free

        10000h              32  free
        10020h      0h       1  Bootsector drive E
        10021h      1h      12  1. FAT           E
        1002Dh      Dh      12  2. FAT           E
        10039h     19h      32  Root-Dir         E
        10059h     39h   65248  Data area        E
        1FF39h   FF19h     199  free

        20000h              32  free
        20020h      0h       1  Bootsector drive F
        20021h      1h      12  1. FAT           F
        2002Dh      Dh      12  2. FAT           F
        20039h     19h      32  Root-Dir         F
        20059h     39h   65248  Data area        F
        2FF39h   FF19h     199  free
                        ------
                        196608

        Total Data area: 100.220.928 Bytes in 8192-Bytes-Clusters

        Older versions of ZIPMAN generated slightly different FAT12-Partitions:

        Before version 1.30:
        Each FAT12-partition contained 3 FATs. Theoretically, DOS would
        have been able not just to detect errors in the FATs but to
        correct them. However, there's probably no version of DOS that
        does so. Some DOS versions (and also Windows 95) were not able
        to handle these filesystems correctly.

        Versions 1.30 to 1.41:
	6 free sectors were located after each of the two FATs of a
	FAT12-Partition. On the Atari Portfolio (which uses only the
	first FAT), this allowed to continue using ZIP disks that had
	been formatted with an older version of ZIPMAN.


        Structure of a partitioned Zip-disk with 3 x 32M/FAT16:

         SCSI-   DOS-     # of
        sector  sector  sectors usage
        ---------------------------------------------
            0h               1  Master Boot Record
            1h              31  hidden

           20h      0h       1  Bootsector drive D (e.g.)
           21h      1h     128  2 FATs           D
           A1h     81h      32  Root-Dir         D
           C1h     A1h   65340  Data area        D
         FFFDh   FFDDh       3  free

        10000h              32  free
        10020h      0h       1  Bootsector drive E
        10021h      1h     128  2 FATs           E
        100A1h     81h      32  Root-Dir         E
        100C1h     A1h   65340  Data area        E
        1FFFDh   FFDDh       3  free

        20000h              32  frei
        20020h      0h       1  Bootsector drive F
        20021h      1h     128  2 FATs           F
        200A1h     81h      32  Root-Dir         F
        200C1h     A1h   65340  Data area        F
        2FFFDh   FFDDh       3  free
                        ------
                        196608

        Total Data area: 100.362.240 Bytes in 2048-Bytes-Clusters


        Structure of a normal 96M/FAT16 Zip-Disk:

         SCSI-   DOS-   Sektor-
        Sektor  Sektor  Anzahl  Inhalt
        ----------------------------------------------------------------------
            0h               1  Master-Boot-Record
            1h              31  hidden

           20h      0h       1  Bootsector
           21h      1h     384  2 FATs
          1A1h    181h      32  Root-Dir
          1C1h    1A1h  196156  Data area
        2FFFDh  2FFDDh       3  free
                        ------
                        196608

        gesamter Datenbereich: 100.431.872 Bytes in 2048-Byte-Clustern



        New Master Boot Record:

        Since version 1.20, ZIPMAN automatically creates a Master Boot
        Record (MBR) when formatting. For three 32M-partitions, the MBR
        can also be manually installed with the following command:

              ZIPMAN /MBR

        Notes:

        - The new MBR contains the partition table, but no boot program!
        - All FAT-type entries (FAT12/FAT16) in the partition table
          are set to the same value. There could be drivers for the
          Zip-drive (Mac?) which read these entries and get into trouble
          if different FAT-types (32M/FAT12 and 32M/FAT16) are used on
          the same disk.



        Accessing partitioned disks using Iomega's driver
        -------------------------------------------------


        Iomega's driver assigns only ONE drive letter to the Zip-drive.
        Therefore only the first partition can be accessed through it.
        You can get around this problem by replacing SCSIDRV.SYS by
        ASPIDISK.SYS from Adaptec.
        The corresponding lines in CONFIG.SYS could look like this:

            DEVICE = ASPIPPM1.SYS  049 FILE=ECR.ILM SPEED=10<BR>
            DEVICE = ASPIDISK.SYS /D /R3<BR>

        On reboot, three new drive letters will be created which
        correspond to the partitions of the Zip-disk.



        Appendix
        --------


        Trademarks:
         Zip and Iomega are trademaks of Iomega Corp.
         Windows 95 is a trademark of Microsoft Corp.

        Copyright:
         This Software must not be distributed. It may only be copied
         for the purpose of a backup.

        Contact:
         Klaus Peichl, E-Mail: pei@freenet.de
         WWW:  http://leute.server.de/peichl/palmzip.htm
