It is possible to write directly to the Tektronix, and read the crosshair coordinates, using SPROGS. Such a job must have a MOP core image, which entails:
(a) CONNECTing to a SPROGS background job, since the macro issues a background job in MOP context.
(b) Getting permission from Operations to use the MOP slot. The job must ONLINE TP0 for output and TR0 for input.
SPROGS normally writes an ALLCHAR file which will be listed later at the terminal. A GEORGE mod has enabled 3-shift working for online TP, so the connection of TP0 to the terminal will produce immediate graphic response.
The SPROGS routine:
TKREAD (CH,X,Y)
requests via TP0) that the cross-hairs be displayed. These can be repositioned using the thumb-wheels on the Tektronix. Typing any character will turn off the cross-hairs and send (as an extra 4 characters) the X, Y coordinates of the cross-hairs to the 1906A. ACCEPT (CTRL SHFT K) must be pressed also, so that NOP accepts the line. The character (in SPROGS code) and X, Y coordinates (as numbers) are returned in the routine arguments.
This facility has been made possible by a mod to GEORGE which suppresses the transmission of CARRIAGE RETURN at the end of any line for online ALLCHAR output. Note that, if more than one character (or a non-alpha shift character) is typed, the extra characters will be read by the next call of TKREAD, and erroneous X,Y coordinates will result. Also, the MOP TIME OUT is still in force, and this may lead to false information on RESTART.
User program PROGRAM TKRN has already been consolidated and saved.
RJ RETMO,:SPROGS.SPROGS,#TP0,#TR0,RUN PROGRAM TKRN CN RETMOP CU