|
by P.R. Dick
The following POKES can add professional appeal to your own projects and can even enhance some commercial software. First, note the color codes (4-15) in the July August AUGment. Next, let's explain my variable names:
TEXT mode POKES:
GR mode POKES:
HGR mode POKES:
None of these POKES affects the other modes, so you can have color in all three. To implement the color change, just type the corresponding mode command (TEXT, GR, or HGR) and press <RETURN>. Note that "0" is transparent; it is not "black." Also, FLASH, in the TEXT mode, is the result of alternating between NORMAL and INVERSE colors. Finally, the HGR POKES will work in HGR2 with the exception of the text window. You can change the prompt, cursor or HOME blank space character by poking the new ASCII value into addresses 1146, 16953 and 16954, respectively. You can use any of the 16 colors in HGR mode, poking the color code into address 16777. Also, you can reset the current device by poking the new value into 16641 (d1=8, d2=24, d3=4, and d4=5). Finally, you can increase the graphics text window to 8 lines with POKE 16958,16 and POKE 16993,8 and POKE 16995,16 and then typing HOME. (Changing modes will reset these addresses to their default values). P.R. Dick |