30.01.2015 Views

IBM 2250 Display Unit Model 4 - All about the IBM 1130 Computing ...

IBM 2250 Display Unit Model 4 - All about the IBM 1130 Computing ...

IBM 2250 Display Unit Model 4 - All about the IBM 1130 Computing ...

SHOW MORE
SHOW LESS

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

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

<strong>Display</strong> program information consists of orders<br />

and data. Orders ei<strong>the</strong>r initiate a <strong>2250</strong> operation<br />

or establish a mode. Order-initiated operations<br />

include point and vector plotting, branching, and<br />

CPU interrupt generation. Two orders, Set<br />

Graphic Mode and Set Pen Mode, establish a<br />

Graphic mode and a Light Pen mode respectively.<br />

The <strong>2250</strong> is always in one of two Graphic modes<br />

and in one of four Light Pen modes.<br />

Data is defined as information that does not<br />

contain an operation code. Character stroke words<br />

are <strong>the</strong> only data received by <strong>the</strong> <strong>2250</strong>. Although<br />

a character stroke word may contain one or more<br />

control bits, <strong>the</strong>se bits are used directly to perform<br />

an operation.<br />

SUBROUTINES<br />

Single-level subroutines (linkage from <strong>the</strong> main<br />

order program to <strong>the</strong> order subroutine and return<br />

to <strong>the</strong> main order program) are used frequently in<br />

graphic application. Thus, facilities for a rapid<br />

(unconditional) branch to a subroutine and return<br />

from <strong>the</strong> subroutine are provided. Since characters<br />

are similar to single-level subroutines, rapid<br />

branching significantly reduces character display<br />

time.<br />

Orders in <strong>the</strong> display program enable multiplelevel<br />

subroutine linkages to be performed. A<br />

single-level subroutine facility does not allow<br />

characters to be displayed as part of a subroutine,<br />

nor does it permit <strong>the</strong> organization of an image in<br />

a hierarchy of graphic segments represented by<br />

multiple-level subroutines, as follows:<br />

Main Program 1st Level Subroutine<br />

Image .

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

Saved successfully!

Ooh no, something went wrong!