In Sync #2: User Defined Graphics for the 2068

Authors

Publication

Pub Details

Date

Pages

See all articles from T-S Horizons n13

As I promised last month, here is the listing for the UDG program. Since it is a rather long program, I won’t explain its operation in detail. However, here are a few things you should know about the program.

The UDG’s are saved as 168 bytes of machine code. To use the UDG code in a program, type in as the last line of the program that USES the UDG’s;

9999 MERGE "UDG" CODE 65368, 168 

Save the original program to tape using;

SAVE "program name" LINE 9999

Then load and run the UDG program and when prompted, save the UDG code to tape right after the original program.

The UDG information is POKEd directly into memory. The POKE-DATA routine converts the binary codes into decimal. (You might be able to use the code in another program.)

You must take the “next” option BEFORE the “stop” option to save the UDG’s, If you don’t, the last UDG will be lost.

Products

 

Downloadable Media

 
Scroll to Top