3.3.4 Assigning and Listing Devices

ASGN device file
A device file

Assign file to the given MIX device. device specifies the device number. In the effect of this command, output operations on device will write the data to file, and input operations on device will read data from file.

For example, to assign file ‘hello.deck’ to the card reader, type:

 
MIX> ASGN 16 hello.deck

To obtain information about MIX devices, including their current assignments, use the following command:

INFO IO [device]
LIST IO [device]
LI [device]

Without arguments, lists all devices. With a numeric argument, shows information about that particular device. For more uses of INFO command, see Listing Breakpoints.

The information is displayed in tabular form and contains the following columns:

UNIT

Unit number.

IOT

I/O time per block.

SKT

Seek time.

ADDR

Memory address for the pending I/O operation.

POS

Device position for the pending I/O operation. This column is meaningful only for tape and disk devices.

OP

Opcode or ‘N/A’, if no operation is pending.

CLOCK

Clock time when the I/O will occur. To examine the current clock time, see Listing Breakpoints.

ASGN

File assigned to that device.

The example below shows the information about card reader, obtained after the first loader card was read:

 
MIX> info io 16
UNIT    IOT    SKT  ADDR  POS   OP  CLOCK ASGN
  16  10000      0    16    0   IN  15000 easter.obj