DFORMAT Version 5.1.4.37 for DOS
Copyright (C) M-Systems, 1992-2002
DFORMAT [Drive-letter] or [/WIN:segment] [/Flag:parameter]

Drive-letter:      DOS drive letter of the DiskOnChip drive.
/WIN:Segment:      Memory address at which the DiskOnChip is located.
                   Use either this parameter or the drive-letter.
                   The segment should be specified in Hex (e.g. /WIN:D000).

Commmonly used flags:
---------------------------------------------

/S:file          - Write DiskOnChip firmware image from file DOCnn.EXB, with
                   nn=version number. Example - /S:DOC50.EXB.
/S:!             - Erase the the binary partitions (your firmware)
                   from the DiskOnChip
/S:*             - Erase the BDTL partitions but leave the content of the
                   binary partitions in tact.
/FIRST           - Program the DiskOnChip to be the first available disk.
                   Must be used with the '/S:firmware' parameter.
                   When used with /UPDATE the information on your
                   DiskOnChip will not be erased.n/NOFORMAT        - Don't format the device. Relevant with all firmware flags
                   (mainly /S), with the /IPL flag and with the LOG flag.
/SILENT          - Loads the TrueFFS driver in silent mode, i.e. no messages
                   are displayed at the screen during boot.
/Y               - Do not pause for confirmation before beginning to format.
/? /H            - Show full help screen.

Flag related Binary partition (BDK partition)
---------------------------------------------


/BDKF[n]:file    - Places the boot image file in Binary (BDK) Partition [n].
/BDKN[n]:Sign    - Places signature in Binary Partition [n] (4 characters).
                   Default: BIPO.
/BDKL[n]:Size    - Defines the size of Binary (BDK) Partition [n]. Useful for
                   saving some spare space in the binary partition for later
                   upgrades.
/LEAVE:n         - Number of binary partitions to leave without re-formatting
/O[n]:offset     - Binary (BDK) Partition [n] signature offset. Can be 0 or 8.
                   Default is 8.

DiskOnChip Millennium Plus related Flags (and DiskOnChip 2000 TSOP)
-------------------------------------------------------------------
/IPL:File        - Write custom IPL (up to 1,024 bytes). Useful in non x86
                   systems (where the standard IPL is not relevant)
/BDKP[n]:RWCL:KEY  Set protection type (Read/Write/Change/Lock) and
                   protection key (Password) of Binary Partition [n] 
/BDTLP[n]:RWCL:KEY Set protection type (Read/Write/Change/Lock) and
                   protection key (Password) of BDTL Partition [n] 
/BDTLL[n]:Size   - Set size of BDTL partition [n]. (Millennium Plus only)
/BDKZn:KEY         Insert key of BDK partition. Useful when formatting
                   protected devices.
/BDTLZn:KEY      - Insert key of BDTL partition. Useful when formatting
                   protected devices.

Flags for advanced operations
-----------------------------
/LOG:file        - Copy the Bad Block Table, into a file.
/USELOG:file     - Restore the Bad Block Table, to the DiskOnChip.
/UNFORMAT        - Returns the DiskOnChip to its "virgin" state.
/WINH:Segment    - Set the upper memory range in which MULTIDOC will search for
                   DiskOnChip.
/WINL:Segment    - Set the memory start range in which MULTIDOC will search for
                   DiskOnChip devices.

Flag related with DiskOnChip Firmware - IPL/SPL (trouble shooting)
------------------------------------------------------------------
/NOPNP           - Do not place the PNP header. 
/EMPTY           - Leaves room reserved for the firmware file empty.
                   The firmware can later be placed in this reserved space 
                   using the /S:file /NOFORMAT flag. 
/FLOPPY          - Formats the DiskOnChip as drive A: 
/NOINT15         - Disables the TrueFFS driver from hooking INT 15. 
/EBDA            - Support BIOS with EBDA support (Extended Bios Data Area).
/SIS5598         - Enable using the SIS5598, C&T 65555 or 690000 chipsets.

