Receiver/Transmitter Buffer Base Location Pointers 357
Zero-Page Memory Locations and Usage
for RS-232System Interface. . . . . . . . . . . . . . . . . . . . . .. 358
Nonzero-Page Memory Locations and Usage
for RS-232System Interface.. . . . . . . . . . . . . . . . . . . . .. 358
. The User Port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 359
Port Pin Description 359
. The Serial Bus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 362
Serial Bus Pinouts
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 363
. The Expansion Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 366
. Z-80MicroprocessorCartridge. . . . . . . . . . . . . . . . . . . . . . . .. 368
Using Commodore CP/M@
. .... .. ... ... ... .. ... ... ... 369
Running Commodore CP/M@ ... .. ... ... ... .. ... ... ... 369
APPENDICES
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 373
A. Abbreviations for BASICKeywords. . . . . . . . . . . . . . . . . . .. 374
B. Screen Display Codes 376
C. ASCIIand CHR$Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . .. 379
D. Screen and Color MemoryMaps. . . . . . . . . . . . . . . . . . . . .. 382
E. Music Note Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 384
F. Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 388
G. VIC Chip Register Map 391
H. Deriving Mathematical Functions 394
I. Pinouts for Input/Output Devices. . . . . . . . . . . . . . . . . . . . .. 395
J. Converting Standard BASIC Programs to
Commodore 64 BASIC 398
K. Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 400
L. 6510 Microprocessol Chip Specifications 402
M. 6526 Complex Interface Adapter (CIA)
Chip Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 419
N. 6566/6567 (VIC-II)Chip Specifications. . . . . . . . . . . . . . . .. 436
O. 6581 Sound Interface Device (SID) Chip Specifications. .. 457
P. Glossary 482
INDEX 483
COMMODORE 64 QUICK REFERENCECARD 487
SCHEMATIC DIAGRAM OF THE COMMODORE 64 . . . .. 491
vii