Commodore VIC-20 Programmer's Reference Manual
VIC-20 Commodore Desktop PDF Programmer's Reference Manual (307 pages)
Text of Commodore VIC-20 Programmer's Reference Manual
Commodore VIC-20 Copyright C 1982 by Commodore Business Machines. Inc.
All rights reseNed.
No pari of this publication may be reproduced, stored in a retrieval system, or
tfansmilled in any form Of by any means, electronic, mechanical, photocopying,
recording or otherwise without the prior wrillen permission of Commodore
Business Machines, Inc.
Ii
TABLE OF CONTENTS
INTRODUCING THE PROGRAMMER'S REFERENCE
GUIJE
v
VIC 20 APPUCATIINS GUIJE
vii
1 BASIC PIIOGRAPt'I'M'I REFEREM:E GUIJE....m.1
•
VIC BASIC: The Language of the ViC
3
•
Commands
5
•
Statemer;lts
14
•
ItO Statements
35
•
BASIC Functions
40
•
Numbers and Variables,
,
,
_.54
•
Operators
62
•
Logical Operators
68
2 PIIOGRAPt'I'M'I TFS
71
•
Editing Programs
73
•
Using the GET Statement...
77
•
How to Crunch BASIC Programs
79
�
Commodore VIC-20 Special Tips for Beginners
168
•
Memory Maps
170
•
Useful Memory Locations
178
•
The KERNAL.
182
•
KERNAL Power Up Activities
211
•
VIC Chips
212
6560 (Video Interiace Chip)
212
6522 (Versatile lnteriace Adapter)
218
4
INPIIT/lJUTPIJT GUlOE
227
•
User Port
229
•
The Serial Bus
234
•
Using the VIC Graphic Printer
236
•
VIC Expansion Port
241
•
Game Controllers
,.. 246
Joystick
246
Paddles
,..,
,.." ..,.." ..,
,..,..,
,..,,248
Light P
INTRODUCING. . .
THE PROGRAMMER'S
REFERENCE GUIDEI
The Friendly Computer deserves a Friendly Reference Book.
That's why we wrote the VIC 20 PROGRAMMER'S REFER-
ENCE GUIDE ... a book that gives you more information about
your VIC 20 Personal Computer than any other source. This gUide
was compiled from the experience of Commodore's international
programming staffs in more than half a dozen countries, and Is
designed to be used by first-time computerists as w
Commodore VIC-20 There are lots of fascinating hours ahead of you. Let the
Programmer's Reference Guide be your companion as you
continue to explore your VIC 20 Personal Computer System.
And ... if you find any errors in this book, please send us a
postcard or letter in care of VIC PROGRAMMER'S REFERENCE
GUIDE, VIC Product Marketing Group, Commodore Business
Machines, Inc., 68l Moore Road, King of Prussia, PA 19406. We'd
appreciate your assistance in helping us "debug" our
VIC 20 APPLICATIONS GUIDE
When you first considered buying a computer, the chances are
you said something like, "I know computers are good things to have
and it's nice that they're finally affordable, but ... what can Ido with
one?"
The great thing about a computer is that you can tailor the
machine to do what you want it to-you can make it calculate your
home budget, play arcade-style action games-you can even
make it talk! And the best thing is, if your
Commodore VIC-20 The VIC owner's guide and the
TEACH YOURSELF PROGRAM-
MING series of books and tapes are
excellent starting points. A PRO-
GRAMMERS AID CARTRIDGE is
available from COMMODORE.
COMMODORE'S
Biorhythm
pro-
gram on tape has a special compati-
bility feature which lets you compare
yourself to anyone else by simply
typing in your birthdates.
SARGON II (on cartridge
The COMMODORE Educational
Computing Resource Book con-
tains
information
on
educational
uses of computers in general as well
as educational software lists for the
VIC 20. Available through COM-
MODORE computer dealers.
A CALENDAR/EXPENSE REC-
ORD tape is offered by COMMO-
DORE.
The VIC Programmable Character
Set Editor lets any user replace the
VIC character set wit
Commodore Desktop Owners Instructions:
| Device Model | Type of Document | Pages | Size | Views | Downloads | Updated |
|---|---|---|---|---|---|---|
C-128 |
50 | 768 | 123 | 16-07-2026 | ||
PET 2001-8 |
148 | 203 | 49 | 26-05-2026 | ||
64 |
32 | 511 | 92 | 25-07-2026 | ||
Amiga A500 |
283 | 532 | 86 | 24-07-2026 | ||
VIC-20 |
307 | 1255 | 277 | 03-08-2026 | ||
128 |
758 | 602 | 91 | 13-10-2026 |