Sign In
Upload
Download
Table of Contents
Contents
Add to my manuals
Delete from my manuals
Share
URL of this page:
HTML Link:
Bookmark this page
Add
Manual will be automatically added to "My Manuals"
Print this page
×
Bookmark added
×
Added to my manuals
Manuals
Brands
Commodore Manuals
Desktop
128D
User manual
Commodore 128D User Manual
Hide thumbs
Also See for 128D
:
System manual
(448 pages)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
page
of
427
Go
/
427
Contents
Table of Contents
Bookmarks
Table of Contents
Table of Contents
Sectjon 1-How to Use this Guide
Overview of the Commodore C128 H
Personal Computer
Overview of the Commodore C128
Overview of the Commodore C128 Personal Computer
C128 Mode C64Mode
CP/M Mode
Using Software
Switching between Modes
Chapter II-Using C128 Mode
Getting Started
Direct Mode
Program Mode
Using the Keyboard
Keyboard Character Sets
Using the Command Keys
Function Keys
Displaying Graphic Characters
Rules for Typing BASIC Language Programs
GETTING STARTED-The PRINT COMMAND
Printing Numbers
Using the Question Mark to Abbreviate the PRINT Command
Printing Text
Printing in Different Colors
Using the Cursor Keys Inside Quotes with the PRINT Command
Beginning to Program
What a Program Is
Line Numbers
Viewing Your Program-The LIST Command
A Simple Loop-The GOTO Statement
Clearing the Computer's Memory-The NEW Command
Using Color in a Program
Editing Your Program
Erasing a Line from a Program
Duplicating a Line
Replacing a Line
Changing a Line
Mathematical Operations
Addition and Subtraction
Multiplication and Division
Exponentiation
Order of Operations
Using Parentheses to Define the Order of Operations
Constants, Variables and Strings
Constants
Sample Program
Storing and Reusing Your Programs
Formatting a Disk-The HEADER Command
Saveingondisk
Saveing on Cassette
Loading from Disk
Loading from Cassette
Other Disk-Related Commands 46 U
Section 4-Basic Programming
COMPUTER DECISIONS-The IF-THEN Statement
Using the Colon
LOOPS-The FOR-NEXT Command
Empty Loops-Inserting Delays in a Program
The STEP Command
Inputting Data
The INPUT Command
Assigning a Value to a Variable
Prompt Messages
The GET Command
Sample Program
The READ-DATA Command
The RESTORE Command
Using Arrays
Subscripted Variables
Dimensioning Arrays
Sample Program
Programming Subroutines
The GOSUB-RETURN Command
The on GOTO/GOSUB Command
Using Memory Location
Using PEEK and POKE for RAM Access
Using PEEK
Using POKE
Basic Functions
What Is a Function
The INTEGER Function (INT)
Generating Random Numbers-The RND Function
The ASC and CH R$ Commands
Converting Strings and Numbers
The VAL Function
The STR$ Function
The Square Root Function (SQR)
The Absolute Value Function (ABS)
The Stop and Cont (Continue) Commands
Section 5-Advanced Basic 7.0 Commands
Introduction
Until
While
Exit
The else Clause with IF-THEN
The BEGIN/BEND Sequence with IF-THEN
The SLEEP Command
Formatting Output
The PRINT USING Command
The PUDEF Command
Sample Program
Inputting Data with Thegetkey Command
Programming Aids
Entering Programs
Auto
Renumber
Delete
Identifying Problems in Your Programs
Help
Error Trapping-The TRAP Command
Program Tracing-The TRON and TROFF Commands
Windowing
Using the WINDOW Command to Create a Window
Using the ESC Key to Create a Window
Keys Unique to C128 Mode
Function Keys
Redefining Function Keys
Other Keys Used in C128 Mode Only
Help
Scroll
Caps Lock
40/80 Display
Alt
Tab
Line Feed
Mhz Operation
The FAST and SLOW Commands
Section 6-Color, Animation and Sprite Graphics
Statements Unique to the C128
Section 7-Sound and Music in C128 Mode
Introduction
The Sound Statement
Writing a SOUND Program
Random Sounds
Advanced Sound and Music in C128 Mode
A Brief Background: the Characteristics of Sound
Making Music on the Commodore 128
The ENVELOPE Statement
The TEMPO Statement
The PLAY Statement
The SID Filter
The Fl LTER Statement
Tying Your Music Program Together
Advanced Filtering
Coding a Song from Sheet Music
Section 8-Using 80 Columns
Introduction
The 40/80 Key
Video Ports and Monitors
Connecting a Monitor
Types of Monitors
Composite Monitors
RGBI Monitors
Dual Monitors
Creating 80-Column Programs
Using Prepackaged 80-Column Software
Using 40 and 80 Columns Together
Chapter III-Using C64 Mode
C64 Mode
Chapter IV-Using CP/M Mode
Table of Contents
Creating a File
Naming a File
File Specification
Drive Specifier
Filename
Filetype
Password
Sample File Specif Ication
User Number
Using Wildcard Characters to Access more than One File
Reserved Characters
Reserved Filetypes
What Is a File
Cp/M System Files
Cp/M + .Sys
Ccp.com
Other .COM Files
What Is on Your Cp/M Disk
Section 14-Summary of Major Cp/M 3.0 Commands
Built-In Commands
The Two Types of Cp/M 3.0 Commands
Transient Utility Commands
Assigning Logical Devices
Redirecting Input and Output
Executing Multiple Commands
Finding Program Files
Getting Help
Terminating Programs
Commodore
Keyboard Enhancements
Defining a String
Using ALT Mode
Screen Enhancements
Mfm Disk Formats
Chapter V-Basic 7.0 Encyclopedia
Section 16-Introduction
Section 17-BASIC Commands and Statements
Section 18-BASIC Functions
Section 19-Variables and Operators
Section 20-Reserved Words and Symbols
Advertisement
Quick Links
Download this manual
COMMODORE
TM
PERSONAL COMPUTER
System Guide
Table of
Contents
Previous
Page
Next
Page
1
2
3
4
5
Advertisement
Chapters
Table of Contents
9
Overview of the Commodore C128 H
15
Getting Started
25
Section 4-Basic Programming
57
Section 5-Advanced Basic 7.0 Commands
81
Section 7-Sound and Music in C128 Mode
135
Section 8-Using 80 Columns
167
Table of Contents
199
Section 14-Summary of Major Cp/M 3.0 Commands
219
Commodore
229
Table of Contents
Need help?
Do you have a question about the 128D and is the answer not in the manual?
Ask a question
Questions and answers
Related Manuals for Commodore 128D
Desktop Commodore 128 System Manual
(448 pages)
Desktop Commodore 128 Programmer's Reference Manual
(756 pages)
Desktop Commodore 128 Introductory Manual
(44 pages)
Desktop Commodore 128 Introductory Manual
(44 pages)
Desktop Commodore 128 Programmer's Reference Manual
(758 pages)
Desktop Commodore 16 User Manual
(190 pages)
Desktop Commodore 16 User Manual
(94 pages)
Desktop Commodore 16 Owner's Manual
(84 pages)
Desktop Commodore Commodore 16 User Manual
(94 pages)
Desktop Commodore C-NET 128 v7.0 User Manual
8-bit home computer (126 pages)
Desktop Commodore 1531 Datassette User Manual
(20 pages)
Desktop Commodore Commodore 64 User Manual
(177 pages)
Desktop Commodore COMMODORE 64 User Manual
(84 pages)
Desktop Commodore C16 Service Manual
Commodore computer c16 service manual (22 pages)
Desktop Commodore 4016 Technical Manual
Commodore 4000 series (76 pages)
Desktop Commodore Plus 4 Service Manual
(21 pages)
Related Products for Commodore 128D
Commodore 128
Commodore 16
Commodore C-NET 128 v7.0
Commodore 1531 Datassette
Commodore 1541
Commodore 1570
Commodore 1581
Commodore 1351
Commodore 1525
Commodore 1551
Commodore AMIGA 1085S
Commodore 1935
Commodore 1084-D
Commodore Minuleman 1
Commodore 1670
Commodore 2001-8
Table of Contents
Print
Rename the bookmark
Delete bookmark?
Delete from my manuals?
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL
Need help?
Do you have a question about the 128D and is the answer not in the manual?
Questions and answers