SETYPE

Authors

Publication

Pub Details

Date

Pages

See all articles from T-S Horizons n13

SETYPE is an economical way to put a little variety into your choice of type on your IS 2068 by creating three additional type styles.

Beyond economy and compactness, SETYPE offers some other advantages. Single letter variables are reserved for the programs with which you use it; and you do not need to leave the display screen on which you are working to change type styles. If you do want to make some changes, the core of the program is in lines 9981 to 9983.

As written, SETYPE should be quite serviceable. It is conceivable, however, that you may wish to use it with a program that employs machine code that overlaps the SETYPE machine code in the memory. If you must move the SETYPE code, you may do so quite simply by changing the value of the variable “torg” in line 9980.

SETYPE pokes 80 bytes of machine code into the RAM beginning at address (256*torg). This code, when executed, creates a new set of ASCII characters, codes 32 to 127 inclusive, and places it in a block of 768 bytes located immediately below the poked-in code.

Normally SETYPE will occupy the RAM addresses 64512 to 65359, Changing “torg” from 255 to, say 244, would then move SETYPE to RAM addresses 61696 to 62543.

Products

 

Downloadable Media

 
Scroll to Top