<<Cheats >>

Home Page

Projects...
PC Controller Box
Joystick Switch Box
c128D Refurb

Programs...
Byte Simulator
Cheat 'O Matic
GEOS

Collections...
3D Models
Book Collection

Information...
My BASIC Notes
Web Links

eMail Me

Note: You must add uk to the end of the address, it's to help prevent spam.

My BASIC Notes

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

PEEK
Abbreviation: P <SHIFT+E>

TYPE: Integer Function
FORMAT: PEEK(<numeric>)

Action: Returns an integer in the range of 0 to 255, which is read from a memory location. The <numeric> expression is a memory location which must be in the range of 0 to 65535. If it isn't then the BASIC error message ?ILLEGAL QUANTITY occurs.

EXAMPLES of PEEK Function:

10 PRINT PEEK(53280) AND 15 (Returns value of screen border color)
5 A%=PEEK(45)+PEEK(46)*256 (Returns address of BASIC variable table)


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