Silicon Graphics IRIS Series Terminal Manual page 63

Table of Contents

Advertisement

Appendix D
• FLOATS randomly fills the screen with different colored pixels.
FLOATS also tests floating point numbers.
• PLANETS models a solar svstem.
• SQIRAL draws a square spiral. The spiral is constructed with line
drawing commands from the IRIS Graphics Library. After the spiral
is finished, the terminal emulator window is redrawn.
• STAR draws a series of stars. First, STAR initializes the color map
with 247 shades of red. STAR then draws a star in the upper right
comer of the screen with the lightest shade. The star is redrawn
with a slight offset with each brighter shade of red. After all the
stars are drawn, STAR exits and the terminal emulator window is
redrawn.
• TRACK displays a box that can be moved around the screen with the
mouse. It is a simple application of the IRIS Graphics Library object
creation and editing commands with double buffer mode. To quit
TRACK, press all three mouse buttons simultaneously.
These demonstration programs serve as tests of the IRIS Terminal and the IRIS
Graphics Library. They are compiled and linked with the IRIS Graphics
Library
(SGILIB.OLB)
demonstration programs can be run with a single command. For example,
$ RUN SQIRAL
The source files for each demonstration program are included on the distribution
tape. Here is an example of how to compile and link a demonstration program
with the IRIS Graphics Library.
1.
Compile a demonstration program. For example,
2.
Link the object module with the IRIS Graphics Library. For
example,
3.
Run the executable module. For example,
Any of these demonstration program can be terminated by pressing
the
ESCAPE
In addition to these simple demonstration programs, there are demonstration
programs that can be downloaded into the IRIS Terminal over a serial line with
DLIRIS or from a floppy disk.
Version 1.3
by
the
command
$ FORTRAN/F77/NOSTANDARD/I4/0PTIMIZE SQIRAL
$ LINK SQIRAL,SGILIB/LIB
$ RUN SQIRAL
key and then a
IRIS TERMINAL GUIDE
script
character (usually
BREAK
FRTINSTAL.COM.
-c).
CONTROL
59
The

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IRIS Series and is the answer not in the manual?

This manual is also suitable for:

Iris 1200Iris 1000

Table of Contents