https://www.cocopedia.com/wiki/index.php?title=Undercolor/850106/Hints_and_Tips&feed=atom&action=historyUndercolor/850106/Hints and Tips - Revision history2024-03-29T12:07:32ZRevision history for this page on the wikiMediaWiki 1.41.0https://www.cocopedia.com/wiki/index.php?title=Undercolor/850106/Hints_and_Tips&diff=4392&oldid=prevCocomag: New page: {{NavTop}}<br /> '''UnderColor, Volume 1, Number 6, March 8, 1985''' * Title: Hints and Tips * Author: Terry Kepner * Synopsis: Good stuff. * Page Scans: [[Undercolor/850106/Hints and Tips...2009-03-01T22:39:10Z<p>New page: {{NavTop}}<br /> '''UnderColor, Volume 1, Number 6, March 8, 1985''' * Title: Hints and Tips * Author: Terry Kepner * Synopsis: Good stuff. * Page Scans: [[Undercolor/850106/Hints and Tips...</p>
<p><b>New page</b></p><div>{{NavTop}}<br /><br />
'''UnderColor, Volume 1, Number 6, March 8, 1985'''<br />
* Title: Hints and Tips<br />
* Author: Terry Kepner<br />
* Synopsis: Good stuff.<br />
* Page Scans: [[Undercolor/850106/Hints and Tips/Pages|Link]]<br />
==Article==<br />
<p>Programming &mdash; Rather than using INKEY$ and a loop when you want the computer to wait before continuing, use Exec 44539 in your program. It&rsquo;s shorter and faster. The computer will pause until any key is pressed, then continue.<br />
</p><br />
<p>Printer &mdash; Here&rsquo;s a two line program to screen dump graphics modes 0, 2, and 4 to a DMP-100:<br />
</p><br />
<p>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&lt;192 AND POINT (Y,X+Z) THEN G = G + 2 C<br />
</p><br />
<p>20 NEXT Z;PRINT#-2,CHR$(G);:NEXT Y;PRINT#-2, CHR$(13);:NEXT X::PRINT#-2,CHR$(30)<br />
</p><br />
<p>Programming &mdash; To locate the IRQ vector, type PRINT HEX$(PEEK(&amp;H010D)); HEX$(PEEK(&amp;H010E)).<br />
</p><br />
<p>Disk Basic &mdash; To detect the presence of disk drives on a Color Computer from within a program, PEEK(&amp;HCO00) should<br />
return decimal (&amp;H44) if the disk ROMpak is in place.<br />
</p><br />
<p>Programming&mdash;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&rsquo; values unchanged); and E, keep changes and leave edit mode (same as pressing Enter).<br />
</p><br />
<p>Programming&mdash;Want to know what all those hexadecimal numbers mean in decimal? Type PRINT &amp;Hxxxx, where xxxx is the hex number. Going the other way is just as simple: PRINT HEX$(decimal).<br />
</p><br />
<p>Hardware&mdash;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.<br />
</p><br />
<p><br />
</p><br />
<p><br />
</p><br />
==Listings==<br />
<pre><br />
</pre><br />
''None.''<br />
[[Category:Publications]]<br />
[[Category:Newsletters]]</div>Cocomag