Contact us Heritage collections Image license terms
HOME ACL Associates Technology Literature Applications Society Software revisited
Further reading □ OverviewNo.1No.2No.3No.5No.6No.7No.8No.9No.10No.11
ACD C&A INF CCD CISD Archives Contact us Heritage archives Image license terms

Search

   
ACLLiteratureProgress ReportsGraphics Notes
ACLLiteratureProgress ReportsGraphics Notes
ACL ACD C&A INF CCD CISD Archives
Further reading

Overview
No.1
No.2
No.3
No.5
No.6
No.7
No.8
No.9
No.10
No.11

Graphics Note No 3: Standardisation of data files

D Ralphs

20 January 1975

1. FORMAT FOR DMAC FILES

It would help greatly with testing programs if the same format could be used when generating data files on the DMAC and elsewhere. This would allow a large number of pictures to be made generally available.

The standard output from the DMAC, assuming the thumb wheel is set to zero, is a co-ordinate pair in format 2I5 followed by a new record character. As both of these only use the least significant 4 digits it is possible to use column 1 as a control digit. This paper describes the proposed use of this variable.

The data file is read in the format I1,I4, where the three variables are, say, C, X and Y respectively. The file is generated in either the same format or format 2I5 where columns 1 and 6 are blank (zero).

1.1 The Control Variable

The control variable C is in column 1 and is usually typed on the keyboard, followed immediately by a new record character. The two exceptions are when C = O or 4 but these are explained later. The control variable has the following meanings:

(1) C=0, X and Y are a co-ordinate pair. Note, the 0 is automatically produced by the DMAC when a co-ordinate pair is output.

(2) C=1, the following co-ordinate pairs are in curve format. If SPROGS is used then a VEC could be done on the first two followed by TOXY on all subsequent co-ordinate pairs.

(3) C=2, a line break for curve format. This is the same as 'start another curve'.

(4) C=3, co-ordinates are in line format. They should be in sets of two and SPROGS could use VEC's on each set.

(5) C=4, characters follow, for example, titles. X is used to define the number of lines and can be used to skip the required number of records if the characters are not needed. Y is used to give the maximum number of characters per line, if Y is zero then 80 should be assumed.

(6) C=5, the following co-ordinate pairs define a box in which the picture was drawn. The first is the bottom left hand corner and the second is the top right.

(7) C=6, undefined. The system may be extended to use column 6 if any more controls are required.

(8) C=7, another picture is to follow.

(9) C=8, advance film, allowing films to be produced the hard way.

(10) C=9, end of data file.

1.2 Example Data File

4000100005 
CROSS 
5 
 1000 1000 
 2000 2000 
3 
 1000 1000 
 2000 2000 
 1000 2000 
 2000 1000 
9 
⇑ 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