Contact us Heritage collections Image license terms
HOME ACL Associates Technology Literature Applications Society Software revisited
Further reading □ Contents1. Introduction2. Regions3. Display routines4. SPROGS files5. The file format6. Character fonts7. Index variables8. Efficiency of picture storage9. The sequence list10. Further facilities11. SPROGS on the 1906A12. An example film13. SPROGS preprocessor14. Future extensionsAppendices
ACD C&A INF CCD CISD Archives Contact us Heritage archives Image license terms

Search

   
ACLLiteratureICL 1906A manualsSPROGS
ACLLiteratureICL 1906A manualsSPROGS
ACL ACD C&A INF CCD CISD Archives
Further reading

Contents
1. Introduction
2. Regions
3. Display routines
4. SPROGS files
5. The file format
6. Character fonts
7. Index variables
8. Efficiency of picture storage
9. The sequence list
10. Further facilities
11. SPROGS on the 1906A
12. An example film
13. SPROGS preprocessor
14. Future extensions
Appendices

Chapter 8: EFFICIENCY OF PICTURE STORAGE

The user need not know anything about the way picture files are stored inside the machine. However, he can save storage space by requesting that the files should be packed. Such files will take less space, but will take slightly longer to access.

A file consists of a header followed by a file body. Each line in the body consists of a number representing the display routine stored, a marker to indicate the type of arguments following (whether they were PR or AR references) and the arguments themselves. Various modes of storage have been defined. (In the following, DSPRT will represent the display routine and PRMV will represent the type indicator. Two bits in PRMV are used for each argument.)

8.1 Normal Mode = 0

DSPRT, PRMV and the arguments will be stored as 48 bit real numbers. This is the default mode setting.

8.2 Value Mode = 1

If the arguments are all to be treated as values (ie no PR or AR references are present), PRMV will be 0. In this mode, PRMV is not stored.

8.3 Integer Mode = 2

DSPRT, PRMV and the arguments will all be stored as 24 bit integers.

8.4 Compact Mode = 4

All arguments are assumed to be integers in the range -2048 to +2047, and are packed in 12 bits. If any argument are larger, only the lowest 12 bits are packed.

8.5 Compressed Mode = 8

All arguments are assumed to be integers in the range -32 to +31 and are packed in 6 bits. If any arguments are larger, only the lowest 6 bits are packed.

8.6 Basic Mode = 16

DSPRT is packed into 12 bits. If, however, compressed mode is also selected, and DSPRT is less than 64, it will be packed into 6 bits.

8.7 Few Mode = 32

If there are few arguments, PRMV will be small. In this case, PRMV will also be packed, in the same way as DSPRT.

8.8 Mode Setting

The routine:

      FMODE (XM)

will set the current mode required to XM. More than one mode may be selected. The bit settings of XM determine which modes are required (compare DVOUT definition). Thus FMODE (25.0) will select value, compressed and basic modes. FMODE will give an error if incompatible modes are selected together.

If every line of a file cannot be stored in the required mode without losing vital information (except for the truncation of reals to integers and the packing of arguments), the file will be stored in normal mode instead.

Note, however, that no check is made on argument packing. It is therefore possible to truncate a file name or index variable name on packing, and this will give rise to erroneous results when the file is DRAWn.

⇑ Top of page
© Chilton Computing and UKRI Science and Technology Facilities Council webmaster@chilton-computing.org.uk
Our thanks to UKRI Science and Technology Facilities Council for hosting this site