Load; Directory (Basic 4.0 Direct Command); Printing The Directory - Commodore 2031 User Manual

Hide thumbs Also See for 2031:
Table of Contents

Advertisement

This procedure will destroy any program currently in computer memory when
the directory is LOADed. (Refer to the description of the >$ DOS Support
command in Chapter 7 which is a non-destructive directory display procedure.)
STEP 1:
Place a formatted disk in the drive.
STEP 2:
Type: LOAD"$0",8 (or LOAD"$",8) then press RETURN.
The screen displays:

LOAD"$0",8

SEARCHING FOR $0
LOADING
READY
STEP 3:
Type: LIST
The drive directory will be displayed.
This command will display the directory without disturbing the content of the
memory. You may type: DIRECTORY D0 using the full word spelling but the
preferred short format is illustrated which uses the first two unshifted characters
followed by a shifted R.
To display the directory, type:
If using upper case display, type: DI-D0 ON Udn
The - in this example represents the upper case display for a shifted R. See your
BASIC 4.0 reference manual for a complete description of this BASIC
command.
Quite often, it becomes convenient to affix a diskette directory listing directly
on the protective jacket. This permits the user to scan the printed directory
listing without having to insert the diskette into the drive to obtain this
information. Should you desire to print the directory, place the diskette in the
drive and enter the following commands:
LOAD"$0",8
OPEN 4,4:CMD4
LIST
PRINT#4:CLOSE4

DIRECTORY (BASIC 4.0 DIRECT COMMAND)

diRd0 ON Udn
Loads the directory
Opens device 4 (printer) and changes the primary
output device to 4.
Prints the directory.
Returns output to the screen and closes the file.
and press RETURN.
and press RETURN.

Printing The Directory

LOAD$
21

Advertisement

Table of Contents
loading

Table of Contents