br/stuff/fc64_final/
*** USEFUL COMMODORE 64 POKEs and PEEKs ***
Compiled from Usenet postings, magazinge articles and
other Commodore Users by: Paul Panks (dunric@gmail.com)
04.04.2002
------------------------------------------------------------------
From COMPUTE!'s Gazette
THE PROGRAMMER'S PAGE: November 1988
"Notebooks and POKEs" - Randy Thompson
------------------------------------------------------------------
Many of these POKEs were sent in by Victor J. Fogh of Mariposa, California.
Others were taken from the COMPUTE! book, MAPPING THE 64 - another great
source of notebook material. The rest are the result of experience and
expiramentation. If I've neglected to mention any of your favorite POKEs,
let me know - chances are they'll appear in a future column.
------------------------------------------------------------------
Characters and the Screen
------------------------------------------------------------------
POKE 53272,21 switch to uppercase mode
POKE 53272,23 switch to lowercase mode
POKE 53280,C change border color (C=0-15)
POKE 53281,C change screen color (C=0-15)
POKE 646,C change cursor color (C=0-15)
POKE 53265,PEEK(53265) AND 23 turn off screen display
POKE 53265,PEEK(53265) OR 16 turn on screen display
------------------------------------------------------------------
The Keyboard
------------------------------------------------------------------
POKE 650,128 all keys repeat
POKE 650,127 no keys repeat
POKE 650,0 normal repeat
POKE 657,128 disable SHIFT-Commodore
POKE 657,0 enable SHIFT-Commodore
POKE 198,0 clear keyboard buffer
POKE 649,1 disable keyboard buffering
POKE 649,0 disable keyboard
POKE 649,10 normal buffering
POKE 808,239 disable RUN/STOP key
POKE 792,193 disable RESTORE
POKE 808,239:POKE 792,193 disable RUN-STOP/RESTORE
POKE 808,234 disable RUN-STOP/RESTORE and LIST
POKE 808,237:POKE 792,71 enable RUN-STOP/RESTORE and LIST
------------------------------------------------------------------
Miscellaneous
------------------------------------------------------------------
POKE 775,200 disable LIST
POKE 775,167 enable LIST
POKE 56341,S set cursor speed (S=0-255)
POKE 204,0 turn cursor on during a GET
POKE 204,255 turn cursor back off
POKE 19,65 turn off question mark during INPUT
POKE 19,0 turn question mark back on
POKE 54296,15:POKE 54296,0 make a click sound
------------------------------------------------------------------
Below list from IIRG Commodore Pokes & Peeks Page
(http://www.iirg.org/~iirg/c64pokes.html)
------------------------------------------------------------------
The IIRG Commodore Pokes/Peeks Page
The IIRG has collected these Commodore programming tips for you.We will be
constantly updating this information as we
convert our Commodore archives over to the Internet.
print peek(65408)
Test for Kernel Number
load"Program Name",8:(SHIFT)(RUN/STOP)
Loads and Automatically Runs Program
------------------------------------------------------------------
*****
*eof*