beautypg.com

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

Page 121

background image

7/9/98

ROM-DOS 6.22 Command Descriptions 3-63

FORMAT (cont.)

/F:# specifies the size of the diskette to be formatted. Available size
values are 360, 720, 1.2, 1.44 and 2.88, and are entered as /F:size.
For example, /F:1.2.

/H causes the system files not to be hidden. This can be used along
with /S.

/I forces FORMAT to use IOCTL calls and never use BIOS calls.
Normally FORMAT first tries to access the device driver IOCTL calls to
format the diskette. If this failed, BIOS calls are used (unless /B is
specified, see above). BIOS calls are always used for DOS 3.3 and
earlier.

/Q performs a quick FORMAT. A quick format reinitializes the disk,
deleting each file and subdirectory from the disk. A quick format can
only be performed on a previously fully-formatted disk.

/S copies the ROM-DOS system files (ROM-DOS.SYS and
COMMAND.COM) onto the disk. You do not see ROM-DOS.SYS
because it is hidden from view.

/V places a volume label on the disk. The user is prompted for the
volume label once the format is complete.

If FORMAT encounters an error, the exit code returned to DOS
indicates the type of error. The error codes are listed in the following
table:

Error Level

Type of Error

0

No error encountered

1

Invalid drive

2

Unsupported drive format

3

Attempted hard-drive format (unsupported)

4

Write protect error