10.07.2015 Views

1130 Commercial Subroutine Package - All about the IBM 1130 ...

1130 Commercial Subroutine Package - All about the IBM 1130 ...

1130 Commercial Subroutine Package - All about the IBM 1130 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The use of <strong>the</strong> overlapped I/O portion of CSP is an "ei<strong>the</strong>r/or" proposition. For nondiskI/O, <strong>the</strong> programmer must choose ei<strong>the</strong>r <strong>the</strong> CSP overlapped routines or <strong>the</strong> standardFORTRAN routines. The two systems cannot be intermixed within <strong>the</strong> same program.Note <strong>the</strong> emphasis on nondisk. This exclusion does not apply to disk I/O, which may beused regardless which of <strong>the</strong> two systems is selected.Use of <strong>the</strong> overlapped I/O routines also excludes <strong>the</strong> employment of <strong>the</strong> TRACE featureof FORTRAN, since it uses portions of <strong>the</strong> FORTRAN package for output.The following routines are included in <strong>the</strong> CSP I/O group:READ PRINT TYPERPUNCH SKIP KEYBDR2501 P1403 STACKP1442 S1403If any of <strong>the</strong>se routines are used, standard FORTRAN READ and WRITE commands maynot appear in <strong>the</strong> same program.When using Version 1 of <strong>the</strong> <strong>1130</strong> Disk Monitor System, <strong>the</strong> programmer must place <strong>the</strong>statementCALL IONDbefore any STOP or PAUSE statement. This will ensure that all pending I/O interruptshave been serviced before <strong>the</strong> CPU stops or pauses. IOND should not be called if Version2 of <strong>the</strong> Monitor is in use.P1403, S1403, P1442, and R2501 use parts of <strong>the</strong> subroutine library supplied with Version2 of <strong>the</strong> <strong>1130</strong> Disk Monitor System. If <strong>the</strong>y are to be used with a Version 1 Monitor, <strong>the</strong>Version 2 subroutines must be loaded onto <strong>the</strong> Version 1 disk. See <strong>the</strong> detailed descriptionsof P1403, 51403, P1442, and R2501 for more particulars.DATA FORMATS USEDAlthough most of <strong>the</strong> CSP routines are oriented toward use of <strong>the</strong> Al format, several newformats have been introduced. In addition, several of <strong>the</strong> standard formats must be consideredin a different light.Al FORMATAl format consists of one character per 16-bit word, left-justified:characterblankbits 0 78 15

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

Saved successfully!

Ooh no, something went wrong!