There are 30 regions in SPROGS numbered from 0-29. When STSPR is called as opposed to SDHARD or TKTRON, etc, certain regions are set up with default parameters. This document describes where these parameters differ from the standard.
1. Region Limits (RGLIM routine)
The regions are given the limits:
(R,0.0,0.0,1023.0,1023.0)
except for region O and region 1, which are:
(R,0.0,1023.0,1023.0,0.0) and (R,0.0,0.0,119.0,119.0)
These are the SD4020 and lineprinter graphical co-ordinate systems respectively.
2. Region Parameters (RGPRM routine)
Most regions are given the following parameters:
(R,0.0,0.0,1.0,1.0,0.0)
that is, standard conversion, standard shape (rectangular), current line visibility inside and outside the region is preserved, no devices are using this region as their basic output region.
Regions 0, 1 and 2 have SWOUTP set to 35, 8 and 4 respectively, that is, Region 0 is the basic output region for SD4020 microfilm, SD4020 hardcopy and the combined SD4020 microfilm and hardcopy. Region 1 is set as the basic output region for lineprinter graphical output and Region 2 for device number 4 (not yet implemented).
These defaults can be overridden by subsequent calls of RGPRM, BASE, VISOR, etc.
3. Region Chain (RGPLIM and REGION routines)
No regions are chained together initially. Region zero is selected as the current region.
Note: Users are advised to use the routines described in section 2.2 of the SPROGS Supplement to replace the use of STSPR and DVOUT.