SHIPS.MAC - A SEA WAR GAME FOR THE TELERAY-12 TERMINAL This program, unfinished though it is, may be of use to those interested in seeing some "action" on their normally "dull" Teleray-12 CRT's. The game consists of a user-controlled ship moving about near the top of the terminal screen attempting to miss missiles fired from hostile computer-controlled submarines patrolling the depths of the lower portions of the screen. The user may fire depth charges at the roving subs, thereby adding to his/her score if a sub is hit. A time limit is imposed on the player and the program ends after 2 minutes. Now for the disclaimers: Being an unfinished program, several items mentioned above either do not work or have not been implemented (SORRY!!)! These items include 1) the subs don't fire missiles, 2) the depth charges may not always destroy a sub if it hits them, 3) the program terminates with a nasty error message when time is up, 4) the score overwrites the "SCORE:" title at the top of the screen, 5) for debugging purposes the random number routine always returns the same value; therefore whenever a sub can appear, it does, 6) this program is not recommended to be run at speeds less than 9600 baud; it runs quite nicely at 19.2KB on our DZ-11's. 7) This program must be run non-checkpointable for the asynchronous I/O to work (semi-undocumented "feature" of RSX). The reason this program was submitted was not so much for its game value (at least in its present form) as for its capability in demonstrating some of the possibilities of double-buffering terminal I/O as well as QIO's w/o waitfor. If you manage to complete this program (I never said that I had a lot of extra time on my hands!) or make modifications, I would be interested in hearing from you. Michael D. Lampi Douglas Aircraft Company Mail Loc. 35-44 3855 Lakewood Blvd. Long Beach, CA. 90846 (213) 593-2242