108
────────────────────────────────────────────────────
8.3.4 Specific Commands for Floppy Disk
────────────────────────────────────────────────────
Syntax
:FILE:FORMat
Example
Transmission
:FILE:FORMAT
Formats a disk.
Syntax
:FILE:CHDir "<dir>"
"<dir>" Directory name
Example
Transmission
:FILE:CHD 'DIR1'
Moves the current directory to DIR1.
Function
Formats (initializes) the floppy disk in
MS-DOS format.
Notes
All contents of the floppy disk are
deleted.
A 2HD disk formats to 1.44 MB, and
a 2DD disk formats to 720 KB.
When the load finishes normally,
EOFO in Event Status Register 0 is
set.
Error
(Execution error)
When deletion fails due to write
protection
Function
Changes the current directory to the
specified directory.
Notes
The file name must be surrounded by
single (' ') or double (" ") quotes.
Long file names cannot be used.
Directory names are case sensitive.
Multiple directories cannot be
specified simultaneously. Move to the
relative path from the current
directory. The absolute path cannot be
specified.
When the load finishes normally,
EOFO in Event Status Register 0 is
set.
Errors
(Command error)
When a waveform name is not
surrounded by single (' ') or double
(" ") quotes
(Execution error)
Specifying a non-existent directory
results in an execution error.
:FILE:FORMat
Formats the floppy disk.
:FILE:CHDir
Changes the current directory