12.07.2015 Views

Systems Reference Library - All about the IBM 1130 Computing ...

Systems Reference Library - All about the IBM 1130 Computing ...

Systems Reference Library - All about the IBM 1130 Computing ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Page of GA26-5918-8Revised July 14, 1971By TNL: GN26-0269Input/Output ControlInput/output (I/O) operations transfer informationbetween core storage and I/O devices. Input/outputdevices include card read punches, magnetic tapeunits, disk storage devices, printer-keyboard devices,printers, plotters, communications devices,and process control equipment. The 1800 also hasfeatures that are internal to <strong>the</strong> processor-controller(P-C) but are considered I/O devices by <strong>the</strong> program.These features include <strong>the</strong> P-C console, <strong>the</strong>interval timers, <strong>the</strong> operations monitor, and <strong>the</strong>interrupt mask register.I/0 device operations are controlled by adapters.Each I/O device has its own adapter. Thisadapter may be separate from <strong>the</strong> I/O device orincluded as an integral part of <strong>the</strong> I/O device. Forexample, <strong>the</strong> 1443 Printer has a separate adapter;<strong>the</strong> 1810 Disk Storage contains its own adapter. Inany case, <strong>the</strong> adapter provides <strong>the</strong> logical and bufferingcapabilities needed to operate its specificI/O device. From a programming point of view,most adapter functions merge with I/O device functions.With <strong>the</strong> exception of internal I/O devices, eachI/O device adapter has standard signal connectionsto <strong>the</strong> P-C and responds to a standard set of signalsfrom <strong>the</strong> P-C. This "I/O unit to P-C" connection iscalled <strong>the</strong> I/O interface. It enables <strong>the</strong> P-C to controlall I/O operations with a common set of instructions.INPUT/OUTPUT CONTROL COMMANDSThe 1800 system uses <strong>the</strong> execute I/O (XIO) instructionto control all I/O operations. The effectiveaddress (EA) of <strong>the</strong> XIO specifies <strong>the</strong> core storagelocation of a two-word input/output control command(IOCC). The IOCC specifies <strong>the</strong> device to be selected,<strong>the</strong> function to be performed with <strong>the</strong> selecteddevice, and if necessary, <strong>the</strong> core storage locationassociated with information sent to or received from<strong>the</strong> selected device.Execution of <strong>the</strong> XIO instruction causes <strong>the</strong>IOCC to be read from core storage and <strong>the</strong> functionspecified is performed on <strong>the</strong> selected device. Thebasic format of an IOCC is shown in <strong>the</strong> followingillustration.0 15 0 4 8 15Area1 1 I 1 II 1 I 1 1 k 1 1Area Function Modifier j115708The five-bit area field specifies <strong>the</strong> device to beused in <strong>the</strong> I/0 operation. In some cases, <strong>the</strong> areacode may represent a group of devices, such asmagnetic tape units or printer-keyboards. In <strong>the</strong>secases, <strong>the</strong> modifier field specifies <strong>the</strong> particulardevice within <strong>the</strong> group.Area codes are preassigned to each type of I/0device that can be ordered for <strong>the</strong> 1800 system. Alist of <strong>the</strong>se devices and <strong>the</strong>ir respective area codesis shown in Figure 12.FunctionAddressEven Location(EA)Odd Location(EA+1)The three-bit function field specifies <strong>the</strong> primaryfunction or operation to be performed. Eight primaryI/O function codes are provided; <strong>the</strong>se areexplained next.000 -- CUSTOMER ENGINEERING (CE) MODE:This function code is used to remove some I/0 devicesfrom on-line status and place <strong>the</strong>m in CEmode, or vice versa.001 -- WRITE: This function code causes a singleword to be transferred from core storage to an I/Odevice. The core storage location of <strong>the</strong> single wordis specified by <strong>the</strong> IOCC address word. The currentcontents of <strong>the</strong> accumulator are destroyed by executionof a write function. It is <strong>the</strong> programmer's responsibilityto save <strong>the</strong> accumulator contents, ifnecessary.010 -- READ: This function code causes a singleword to be transferred from an I/0 device tocore storage. The core storage location isspecified by <strong>the</strong> IOCC address word. The currentcontents of <strong>the</strong> accumulator are destroyedby execution of a read function. It is <strong>the</strong>Input/Output Control 53

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!