12.07.2015 Views

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

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.

The recommended recovery procedure is as follows:1. Read <strong>the</strong> residual address. The command to do this is an immediate read commandwith a modifier of hex F (1111). The command may be used by <strong>the</strong> program todetermine <strong>the</strong> contents of <strong>the</strong> data address register which is held and updated by<strong>the</strong> disk storage module subchannel. If an overrun occurs, <strong>the</strong> data addressregister will contain <strong>the</strong> address of <strong>the</strong> word where <strong>the</strong> data service failed tooccur. (See "Read Residual Address" command in this chapter.)2. Determine <strong>the</strong> sector where <strong>the</strong> overrun occurred.3. Compute <strong>the</strong> count, data address, and sector address.4. Reinitialize <strong>the</strong> device control block.5. Issue <strong>the</strong> read/write cycle steal command.DPC FILE OPERATIONSI/O operations for <strong>the</strong> disk storage module are performed by read, write, and seek commands.Each I/O command specifies a register that contains data or control information.(The contents of <strong>the</strong> specified register are described later under <strong>the</strong> I/O command descriptions.)Error and status conditions of <strong>the</strong> disk storage module are indicated by statuswords that can be read at any time. (See "Error and Status Conditions," later in thischapter.)Read DataTwo separate commands must be used to read data from a selected disk. First, a read initializecommand is used to find <strong>the</strong> sector from which data is to be read. When that sectoris found, <strong>the</strong> disk storage module begins reading <strong>the</strong> data from <strong>the</strong> sector into a fourwordbuffer in <strong>the</strong> disk storage module. When <strong>the</strong> buffer is full, <strong>the</strong> disk storage modulepresents a data-service interruption request to <strong>the</strong> processor module. At this time, onlyread data commands are required to complete <strong>the</strong> read data operation.Four read data commands must transfer <strong>the</strong> buffer contents to processor storage within40 microseconds. The disk storage module again loads <strong>the</strong> buffer and interrupts <strong>the</strong>processor, and <strong>the</strong> program again transfers <strong>the</strong> buffer contents to processor storage. Thissequence continues until 128 words have been read from <strong>the</strong> disk sector and <strong>the</strong>ir checkcharacter is verified. (The disk storage module automatically verifies <strong>the</strong> check charactersused in reading <strong>the</strong> sector ID and <strong>the</strong> data field from <strong>the</strong> disk.)If fewer than 128 words are to be transferred to processor storage, a terminate commandmust be used instead of a read data command. The terminate command prevents <strong>the</strong> diskstorage module from requesting any more data-service interruption requests. However, <strong>the</strong>disk storage module continues to read data from <strong>the</strong> disk sector in order to verify <strong>the</strong> checkcharacter for <strong>the</strong> entire 128-word data field.Write DataTwo separate commands must be used to write data on a selected disk. First, a writeinitialize command is used to find <strong>the</strong> desired sector on which data is to be written. Whenthat sector is found, <strong>the</strong> disk storage module presents a data-service interruption requestto <strong>the</strong> processor module. At this time, only write data commands are required to complete<strong>the</strong> write data operation.Four write data commands must transfer data to fill <strong>the</strong> four-word buffer in <strong>the</strong> diskstorage module within 40 microseconds so that <strong>the</strong> module circuits can write <strong>the</strong> data on<strong>the</strong> disk. When <strong>the</strong> four words are written on <strong>the</strong> disk, <strong>the</strong> disk storage module again interrupts<strong>the</strong> processor and <strong>the</strong> program again fills <strong>the</strong> four-word buffer. The disk storagemodule continues this sequence until 128 words have been written on <strong>the</strong> disk sector.Then, <strong>the</strong> disk storage module circuits write <strong>the</strong> check character that was automaticallygenerated during <strong>the</strong> writing of <strong>the</strong> 128 data words.<strong>IBM</strong> 5022 Disk Storage Module 15-7

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

Saved successfully!

Ooh no, something went wrong!