• Keine Ergebnisse gefunden

UNI-RECORD INTERFACE INSTRUCTIONS

Im Dokument General Precision, (Seite 152-155)

SECTION VI BUFFER PROCESSOR

END OF LINE BLOCK CHARACTER HORIZONTAL CHECK SUM CHARACTER

B. X NUMBER LINE BLOCK

7.8 UNI-RECORD INTERFACE INSTRUCTIONS

The three Uni-Record Interface instructions are the Input, Output and Test in-instructions. Input instructions select a Tape Transport or a Card Reader by the ZY address. The Y6 bit option selects between termination of input by end of message control or by a preset number of words. Output instructions select.

Tape Transport, Card Punch or Line Printer by the Z Y address. Output is

terminated after a preset number of words. The Output instruction also can send control messages to devices. The Test instruction tests operative status of the addressed device and makes available other Status and Error signals from the device.

Section VII

Paragraphs 708. 1 to 708. 1. 2

The detection of errors will terminate data transfer unless the Ignore Uni-Record Interface Error toggle is set ON.

A Uni-Record Interface instruction encountered while the Uni-Record Interface is Busy will hold up the Central Processor program execution until the Interface goes Not Busy. An instruction selecting a device that is Busy in overlap opera-tion waits in the Interface until the device goe s Not Busy, and then is executed.

7 .. 8. 1 INP U T ..

Command Character I Instruction

Options

IZYXMMMM

Index, Indirect Address, Tagged Halt, Flag Return Variable or Fixed Number of Words

7 .. 80 1. 1 VARIABLE NUMBER OF WORDS - Y6 OFF. Data will be transferred from the device selected by the ZY characters to the Central Processor and

stored in Core Memory starting at the effective operand address location. The selected device will terminate the Input operation with an End of Message signal.

If the selected device is a Tape Transport, an End of Message (EOM) signal is generated when a record gap is encountered •. Reading a file mark causes a one-character message transfer consisting of the EOM one-character ..

If the selected device is a Card Reader, the Input operation is terminated by the depletion of the stack of cards being read. Also, the input operation is terminated by detection of an error unless the Ignore Uni-Record Interface Error toggle is

set ON.

7. 8. 1. 2 FIXED NUMBER OF WORDS..; Y6 ON. Data will be transferred fr,om the device selected by the ZY characters to the Central Processor and stored in Core' Memory starting at the effective operand address location. The number of words to be transferred is preset into the Word Counter, paragraph 703.

The Word Counter counts down to

000

during the transfer.. If the transfer is com-pleted before reaching the end of a tape record gap, or the end of a card, the remaining portion of the tape record or card is passed over and the data is not transferred into the Central Processor. Several tape records or cards may be read by a sing Ie Input instruction.

The detection of an error will terminate data transfer, unless the Ignore Uni-Record Interface Error toggle is ON.

Section VII Paragraphs 7.8.2 to 70802.2 7.8.2 OUTPUT.

Command Character 0

OZYXMMMM Instruction

Options Index, Indirect Addres s, Tagged Halt, Flag Return, Data or Control Message

7. 8. 2. 1 DATA - Y6 OFF. Data will be transferred to the device selected by the ZY characters from Core Memory starting at the effective operand address

location. The number of words to be transferred must be preset into the Word Counter, paragraph 7. 3.

If the selected device is a Tape Transport, a record gap is generated after the last word is transferred.

If the selected device is a Card Punch, an incomplete last card will be padded with blank characters.

If the selected device is a Line Printer, printing may be automatic or under con-trol of a header character, as determined by a Mode toggle in the printer. The Mode toggle is set or re.set by output control messages. If the Controlled Format mode is used, only one line of 132 characters (after the header character) is printed per Output instruction. The header character indicates the channel of the vertical format paper tape to be selected before printing. Any data characters over 132 will be lost, but no error indication will be generated.

In Automatic mode, vertical format paper tape channel 8 is always used. Two lines are printed for each 33 words transferred, with the last four characters of each seventeenth word forming the first four characters of the second line.

7. 8. 2. 2 CONTROL MESSAGE - Y6 ON. A single word constituting a Control Message is sent to the device selected by the ZY characters from the effective operand address location in Core Memory. The first character of the word, which is the Control Message, may have values

0,

1, or 2 (any other character is inter-preted as value

0).

The rest of the word is ignored. Control Messages are

interpreted as follows:

a.

0

Character - Render device inoperative

b. 1 Character - Tape Transport: Set on Write Inhibit

Line Printer: Select Automatic Format mode

Section VII

Paragraphs 7. 8. 3 to 7.

9.

2

c. 2 Character - Tape Transport: COInplementParity Control toggle Line Printer: Select Header Character Format mode 7. 8. 3 TEST.

Command Character T

Instruction T Z YXMMMM

Options Index, Indirect Address, Tagged Halt, Flat Return

This is the same Test instruction described in paragraph 4.5.3; because it addresses a Uni-Record device, this Test instruction is executed in the Uni-Record Interface.

The Test instruction is used to ascertain the status of the device selected by the ZY characters. The Test instruction itself responds (with a conditional jump to its ef-fective operand address) to the condition of the Device Operative (DSFl) line. Addi-tionally, the device status signals are set into the Device Status toggles, and Detail Error toggles. If either of the Detail Error toggles is set ON in response to the Test instruction, it will be followed by an Interface Error Interrupt request. Refer to paragraph 7. 6 for a description of the Status and Error toggles.

Im Dokument General Precision, (Seite 152-155)