Home Pagee

Home Page

BASIC Handbook

Basic2 Commands
Disk Drives
PEEK's and POKE's
RAM Memory Map
ROM Memory Map
Screen Display
Sprite
ASCII and CHR$ Codes

Contact Me Form...

eMail
email5-commodorecheetah.co.uk

Note: You will need to replace the '-' with the @ symbol.
This is to minimize spam.

My BASIC Quick Reference Guide

Useful
PEEK's and POKE's

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
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
SYS 58726 -- CLR/HOME
SYS 59062 -- Advance Cursor
SYS 59137 -- Previous Line
SYS 59626 -- Scrolls a Line
SYS 59903 -- Clears Line of Text

System

POKE 775,200 -- Disables LIST command.
POKE 775,167 -- Enable LIST command.
POKE 808,239 -- Disables RUN/STOP command.
POKE 808,225 -- Disables the RUN/STOP & RESTORE combination.
POKE 808,235 -- Re-enables the RUN/STOP & RESTORE combination.
POKE 657,128 -- Disable SHIFT & Commodore Key
POKE 657,0 -- Enable SHIFT & Commodore Key
POKE 816,32 -- Disables LOAD command.
POKE 816,165 -- Re-enables LOAD routine.
POKE 818,32 -- Disables SAVE routine.
POKE 818,237 -- Re-enables SAVE routine.
POKE 649,0 -- Disables the keyboard.
POKE 649,10 -- Re-enables the keyboard.
POKE 770,226 POKE 771,252 -- Reset

Disk Drive

PEEK(186) -- current disk drive in use

The Keyboard

POKE 650,128 -- all keys repeat
POKE 650,127 -- no keys repeat
POKE 650,0 -- normal repeat
POKE 198,0 -- clear keyboard buffer
POKE 649,1 -- disable keyboard buffering
POKE 808,239 -- Disables RUN/STOP command.
POKE 808,234 -- disable RUN-STOP/RESTORE and LIST
POKE 808,237:POKE 792,71 -- enable RUN-STOP/RESTORE and LIST
POKE 808,237 -- Enable Restore
POKE 808,237 -- Restore Keyboard

Sound

POKE 54296,15:POKE 54296,0 -- Make a click sound

Basic

POKE 22,35 -- Turns Off Line Numbers
POKE 774,0 -- With List Command, Shows Only Line Numbers
POKE 774,141 -- With List Command, Vanishes Completely (Default Value 774,26)
POKE 775,167 -- Enable List Command
POKE 775,168 or POKE 775,200 -- Disable List Command
POKE 775,171 -- Causes Computer to Crash If a LIST Command is Attempted
SYS 42562 -- NEW

System

POKE 1,0 -- Disable Operating System (Default Value 1,1)
POKE 56334,129 -- Clock Reset for 50 Cycle Current
POKE 56590,128 -- Clock Reset for 50 Cycle Current
SYS 58235 -- Warm Start
SYS 64738 -- Cold Start (Reset)

Miscellaneous

POKE 788,49 -- Enable Stop Key and TI$
POKE 788,52 -- Disables Stop Key and TI$
SYS 57194 -- Re-activates EPYX Fastload
SYS 58260 -- Initialize
SYS 65126 -- Alternate Start


Commodore Cheetah made by Allen Monks, started in the year 2000.