To use the REF routines, link to the LONGLIBR version of the LONGLIB library, and plot to the Ramtek device. The REF routines use a BYTE array as the simulated Ramtek display. The maximum size of the array is 1600x1024. The size used depends on the ``device'' or window size selected during the package initialization. Each byte of the array stores the color table index for each pixel of the simulated Ramtek display. An empty "screen" consists of all zeros. When a line is drawn to the display using PLOT or PLOTRM the appropriate pixel bytes are set to the line color. REF routines also permit image mode writing/reading of horizontal or vertical lines of bytes (see RMWRITEWORD, for example). When the plot package is closed (by a call to PLOTND) the user will be prompted to output the internal BYTE array to a specific device (a graphics terminal, a metafile, or a special REF file). To avoid the interative prompt, the user can call REFDIS (with its appropriate arguments) prior to the PLOTND call. This will disable the prompts. See REFDIS for additional details.
Note: the Ramtek color table routines and cursor routines are dummy calls when using the REF routine library.