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

Search

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

Overview
No.1
No.2
No.3
No.4
No.5
No.6
No.7
No.8
No.9
No.11
No.12
No.13
No.14
No.15

PDP15 User Note No 13: DOGS - Data-oriented Graphics using SMOG

I Buchanan

28 November 1975

Using DOGS, a sequence of commands such as those listed below will cause the picture in Figure 1 to be drawn on the FR80 hardcopy device.

COMMAND SEQUENCE 
DVALL,   8
LMITS,     10.0000,    10.0000,    29.9960,    23.9607,1.0,1.0
SETXY,     14.0000,    15.0000  
TODXY,      0.0000,     5.0000
TODXY,      2.0000,     2.0000
TODXY,      6.0000,     1.0000
TODXY,      2.0000,    -2.0000
TODXY,      0.0000,    -5.0000
TODXY,     -6.0000,    -1.0000
TODXY,     -4.0000,     0.0000
UPDXY,      2.0000,     7.0000
TODXY,      2.0000,    -2.0000
TODXY,      6.0000,     1.0000
UPDXY,     -6.0000,    -1.0000
TODXY,      0.0000,    -5.0000
UPDXY,      1.0000,     2.1000
TODXY,      0.0000,     1.1000
TODXY,      0.9000,     0.1000
TODXY,      0.0000,    -1.1000
TODXY,     -0.9000,    -0.1000
UPDXY,      3.1000,     0.4000
TODXY,      0.0000,     1.1000
TODXY,      0.9000,     0.1000
TODXY,      0.0000,    -1.1000
TODXY,     -0.9000,    -0.1000
UPDXY,     -1.6000,    -2.1000
TODXY,      0.0000,     1.6000
TODXY,      1.0000,     0.2000
TODXY,      0.0000,    -1.6000
ADVFL
ENDSP
RET.

Figure 1

This process was developed as a means of producing FR8O output from a program running on the PDP15, the SMOG package being unavailable on that computer. Other uses for the system can be envisaged:

(a) An easy way to have a "quick 1ook" at a simple picture or sketch without the trouble of writing and compiling a special program,.

(b) A method of using the SMOG facilities without the necessity of having the SMOG library connected to the program. This could be useful to the user of a different computer or to a 1906A user whose program is already very large.

The DOGS system has been implemented using the PIGLET simple command processor (see PDP15 User Note 12).

DOGS accepts commands in the format shown in the example, ie, one command to a line with arguments separated by commas. Integer, real and string arguments are catered for and spaces are only significant within arguments enclosed in quotes. For a full definition of valid argument formats, the reader should refer to Section 1.7 of the PIGS manual. It should, however, be noted that the statement

RET. 

must appear at the end of the data file.

In the handling of either computer or hand-produced data files, the MOP editor may naturally be fully utilised and so corrections may be implemented in a very straight-forward manner.

The DOGS system exists as :GSIN08.DOGS and is available to all users with READ and EXECUTE access. DOGS should be run as a SMOG task with the data file to be processed connected as #CR1.and #LP1 assigned to the lineprinter, eg

SMOG RUN DOGS, #CR1 datafilename,#LP1 ?! 

It was found necessary to add the command NLDFLT which has the same meaning as NLCHAR(I). The complete set of SMOG commands implemented is shown below. Some special five character contractions of command names are also allowed. This arose from a need for efficiency of space utilisation on the PDP15.

ABUT     DRAWNM   HTYPE    JUPDX    REGION   
ADVFL    DVALL    HTYPES   JUPDXY   SETX   
ADVFLM   ENDSP    INTNS    JUPDY    SETXY   
APER     ENDSPR   INTNST   JVEC     SETY   
CHHT:    ERASE    JLIMIT   LIMIT    TODX   
CHSIZ    FCHTLE   JLIMS    LIMITS   TODXY   
CHSIZE   FISAV    JLIMV    LIMITV   TODY   
CHSP     FLEMK    JSETX    LMITS    TOPRIN   
CINE     FRSAV    JSETY    LNSP     TOTAPE   
CMAPER   HFONT    JSETXY   MANYUP   TOX   
CMABUT   HGRATX   JTODX    MONO     TOXY   
CMCINE   HGRATY   JTODXY   NLCHAR   TOY   
COLGL    HLINES   JTODY    NLDFLT   TYPNMB   
COLOU    HPAGL    JTOX     PLOTP    UPBX   
COLOUR   HPLOT    JTOXY    PLOTPT   UPDXY   
COMIC    HPLOTS   JTOY     PROP     UPDY   
DELAY    HTEXT    JTYPEN   RDLIB    VEC   
⇑ 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