Commands - Overview

The 17 additional disk commands can be functionally divided into three groups.

General Instructions

INIT

Initialize a floppy disk. (See Command description).

This command puts the basic structure on the diskette, i.e. it is divided into tracks and sectors.

DRIVE n

Drive selection. (See Command description).

This allows you to select one of the two attachable drives for further processing.

DCOPY

Copy disks. (See Command description).

With this command you copy the contents of one floppy disk to another.

STATUS

Output diskette status. (See Command description).

With STATUS you can display the space still available on the diskette. (only from DISK BASIC V 1.2)

File Management Features

DIR

Output of the table of contents. (See Command description).

All programs and files stored on the disk are listed on the screen.

SAVE "name"

Save a BASIC program. (See Command description).

A BASIC program in memory is written to disk with the filename “name”.

LOAD "name"

Load a BASIC program. (See Command description).

The BASIC program marked with “name” is read from the diskette.

RUN "name"

Load and start a BASIC program. (See Command description).

The BASIC program marked with “name” is read from the diskette and started immediately.

BSAVE "name",aaaa,eeee

Saving a machine program (See Command description).

A machine program in the memory is written to the diskette with the file name “name”.

BLOAD "name"

Loading a machine program. (See Command description).

The machine program specified with “name” is read in from the diskette.

BRUN "name"

Loading and starting a machine program. (See Command description).

The machine program specified with “name” is read in from the diskette and started.

REN "name1",”name2”

Rename a file. (See Command description).

The file named “name1” will be renamed to “name2” on the disk.

ERA "name"

Delete a file. (See Command description).

The file labeled “name” is deleted from the floppy disk.

DCOPY "name"

Copy a program. (See Command description).

The BASIC or machine program identified by “name” is copied to another diskette.

Storage and processing of data

OPEN "name",n

Open a data file. (See Command description).

The data file designated with “name” is opened for writing or reading.

PR# "name",var1[,var2…,varn]

Write іп a data file. (See Command description).

The variables specified in the command are combined into a data record and written to the data file designated with “name”.

IN# "name",var1[,var2…,varn]

Reading from a data file. (See Command description).

A data record is read from the data file denoted by “name” and transferred іпto the specified variables.

CLOSE "name"

Closing a data file. (See Command description).

The data file denoted by “name” is closed.