Sitenotice: 11/29/2018: The wiki is back. It turns out, some anti-virus product on my web server had an issue with the latest version of PHP. My server techs have resolved this issue, and things should be working again. During the investigation, I did restore to a backup from September. There is a chance that any changes done since then were lost, but I do not recall any edits. --OS-9 Al

8/30/2016: Massive re-work is being done on the InfoBox Templates. Read that page to keep up with the plan for that, and adding better keyword tags (categories) to all the pages. --OS-9 Al (talk) 15:28, 31 August 2016 (CDT)

Undercolor/850106/Hints and Tips

From CoCopedia - The Tandy/Radio Shack Color Computer Wiki
Jump to: navigation, search

Home Articles Companies Publications Hardware People Software Timeline ... Emulators Internet Resources
(Don't see something listed? Click "edit" and add it! Together we can build this database. When making a new info page, refer to this InfoBox Template for guidelines.)

UnderColor, Volume 1, Number 6, March 8, 1985

  • Title: Hints and Tips
  • Author: Terry Kepner
  • Synopsis: Good stuff.
  • Page Scans: Link


Programming — Rather than using INKEY$ and a loop when you want the computer to wait before continuing, use Exec 44539 in your program. It’s shorter and faster. The computer will pause until any key is pressed, then continue.

Printer — Here’s a two line program to screen dump graphics modes 0, 2, and 4 to a DMP-100:

10 SCREEN1,0:FOR X=1 TO 4:PPINT#-2,CHR$(18):NEXT X:FOR X=0 TO 191 STEP7: PRINT#-2,CHR$(27);CHR$(16;CHR$(0);CHR$(112);:FOR Y=0 TO 255:G=128:FOR Z=0 TO 6:IF X+Z<192 AND POINT (Y,X+Z) THEN G = G + 2 C

20 NEXT Z;PRINT#-2,CHR$(G);:NEXT Y;PRINT#-2, CHR$(13);:NEXT X::PRINT#-2,CHR$(30)

Programming — To locate the IRQ vector, type PRINT HEX$(PEEK(&H010D)); HEX$(PEEK(&H010E)).

Disk Basic — To detect the presence of disk drives on a Color Computer from within a program, PEEK(&HCO00) should return decimal (&H44) if the disk ROMpak is in place.

Programming—Edit has three additional commands not mentioned in the manual: A, cancel all changes, list line, and stay in edit mode; Q, cancel all changes, leave edit mode (leaves variables’ values unchanged); and E, keep changes and leave edit mode (same as pressing Enter).

Programming—Want to know what all those hexadecimal numbers mean in decimal? Type PRINT &Hxxxx, where xxxx is the hex number. Going the other way is just as simple: PRINT HEX$(decimal).

Hardware—Need to drive a separate audio amplifier? Pin 3 on the RF modulator, teamed with a ground line from the main circuit board, will provide the necessary connections. Pin 3 is the third pin from the rear of the computer on the RF modulator.