When modifying LONGLIB to support additional graphics devices, one of two approaches can be used. One approach is to add an additional terminal graphics device option. The second approach is to add an option to the RAMTEK package. This is particularily appropriate for devices which support image mode. In either case, the key file which must be modified is LONGLIB.FOR which contains all of the terminal dependent code and a portion of the RAMTEK code. For the second approach, RAMLIB.FOR (and possibly REFLIB.FOR) will also need to be modified.