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.
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