Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual

Page 120

Advertising
background image

3-62 ROM-DOS 6.22 User Manual

7/9/98

F O R M A T

External

Purpose

Initializes a disk so ROM-DOS can access files on that disk. A disk
must be formatted before it is usable by ROM-DOS.

Syntax

FORMAT [drive:] [/options]

Remarks

FORMAT initializes the disk and directory of the specified drive. The
size of the formatted disk will be the largest possible size the specified
drive supports, unless a different size is specified via a command line
option.

Options

/4 formats as a 360 K byte disk even if the drive is a 1.44 or 1.2
Megabyte drive.

/7 formats as a 720 K byte disk even if the drive is a 1.44 Megabyte
drive.

/B uses BIOS int 13h calls. By default, FORMAT checks the DOS
version and if it is DOS 5.0 or higher, it uses the floppy device driver to
do the format. Using /B forces FORMAT to bypass the floppy or hard
disk controller and use BIOS calls. /B makes FORMAT device
independent.

/C formats one disk without operator input. The disk is assumed to be
in the specified drive, and FORMAT exits immediately when the format
is complete. This switch is useful in batch files or programs that
require a formatted disk without user input.

Advertising