Compute's Vic-20 Commodore 64 Tool kit Basic.pdf

(31366 KB) Pobierz
669566671 UNPDF
669566671.002.png
669566671.003.png
n
n COMPUTED
VIC-20 and Commodore 64
Tool Kit:
Dan Heeb
n.
n
COMPUTErPublicationsjnc©
OneoftheABCPublishingCompanies
^^
Greensboro, North Carolina
VIC-20 and Commodore 64 are trademarks of Commodore Electronics Limited.
n.
BASIC
669566671.004.png
U
U
■U
Copyright 1984, COMPUTE! Publications, Inc. All rights reserved.
Reproduction or translation of any part of this work beyond that permitted by "***\
Sections 107 and 108 ofthe United States Copyright Act without the permission of T<—J
the copyright owner is unlawful.
Printedin the United States ofAmerica
j J
ISBN 0-942386-32-9
10 987654321
' '
COMPUTE! Publications, Inc., Post Office Box 5406, Greensboro, NC 27403, (919)
275-9809, is one of the ABC Publishing Companies, and is not associated with any }
manufacturer of personal computers. Commodore 64 and VIC-20 are trademarks of '*—
Commodore Electronics Limited.
669566671.005.png
H
n
Preface
v
Part One: Overview and Applications
1
Introduction
3
SYS and USR
5
Direct Use of Floating Point Routines
19
Modifying BASIC
41
Mixing BASIC and Machine Language
84
Part Two: Detailed Descriptions
87
BASIC Initialization
89
Entry Phase
96
CHRGET/CHRGOT
99
Tokenization and Program Storage
103
Memory Allocations and Moves
120
Pointer Resets
132
Expression Evaluation
135
Variables and Arrays
156
Floating Point Operations
189
String Operations
256
Statement Execution
279
Statement Execution and Program Flow
287
PRINT
311
LIST
320
DEF and FN
326
Function Invocation
333
INPUT/GET/READ
338
I/O Routines
350
Comparison of Operands
364
PEEK/POKE/WAIT
368
POS
371
RND
372
M SYS and USR
375
Check for ASCII A-Z in Accumulator
380
(
Check If in Direct Mode
381
Get Expression at Next Text Pointer Location
382
Issue IN Line Number Message
383
n
n
669566671.001.png
Zgłoś jeśli naruszono regulamin