- Page 2: Introduction AMSTRAD CPC6128 Integr
- Page 9: Chapter 4 Using Discs and Cassettes
- Page 12: Appendices Appendix 1 End User Prog
- Page 16: Connecting the computer to an MP2 M
- Page 19 and 20: Other Connections .... If you wish
- Page 21 and 22: It is important to remember that th
- Page 23 and 24: Expansion devices Expansion devices
- Page 25 and 26: Write Protection In the left hand c
- Page 33 and 34: Part 5: Loading Software and games
- Page 35 and 36: Part 6: Let's Compute .... So far,
- Page 37: Notice how the word PR I N T is now
- Page 41: Now press [RETURN] and line 5 will
- Page 46 and 47: Simple Arithmetic Your computer can
- Page 48 and 49: Type: ? s q r (HHl ) [RETURN] 10 Ex
- Page 50 and 51: The priority of ALL mathematical op
- Page 52 and 53: There are 40 tracks from the outsid
- Page 54 and 55:
You will now see a new menu offerin
- Page 56 and 57:
If you have selected the For m a t
- Page 58:
Copying Programs from Disc to Disc
- Page 61:
Colours There is a choice of27 colo
- Page 64 and 65:
The PAP E RIP E NI INK relationship
- Page 66 and 67:
In this case, 1 is the PEN number,
- Page 68 and 69:
Graphics There are a number of char
- Page 70 and 71:
In order to remove the previous cha
- Page 72 and 73:
5 cLs 10 pLot 10,10 20 draw 10,390
- Page 79 and 80:
10 MODE 1:BORDER 0:DEG 20 PRINT "PL
- Page 81 and 82:
Part 9: Using Sound .... Sound is g
- Page 83 and 84:
Volume Envelope To make the volume
- Page 85 and 86:
Line 20 specifies a SOU N D with a
- Page 88 and 89:
Part ID: Introducing AMSDOS and CP/
- Page 90 and 91:
Program copying between discs, and
- Page 92 and 93:
When the disc that you wish to copy
- Page 94 and 95:
A third menu will then be displayed
- Page 96 and 97:
Further Information Further informa
- Page 98 and 99:
How to use the BANI{ MANAGER Reset
- Page 100 and 101:
I BAN KW R I T E stores a string in
- Page 103 and 104:
This puts the word" FIR S T" into r
- Page 105 and 106:
Well, that concludes this 11 part F
- Page 107 and 108:
Fortunately, BASIC is a very forgiv
- Page 110 and 111:
There's a new command in line 150 -
- Page 112 and 113:
36 PRINT "5. Load info" 37 INPUT "e
- Page 114 and 115:
Now to the matter of saving the con
- Page 116 and 117:
The end of the beginning .... So no
- Page 118 and 119:
Final listing: 10 REM teLephone boo
- Page 120:
Chapter 3 Complete list of Amstrad
- Page 124 and 125:
ASC AS C (
- Page 126:
CALL. C ALL < address expression> [
- Page 130 and 131:
COPYCHR$ COP ye H R $ ( # ) 10 C L
- Page 132 and 133:
DEC$ o E C $ ( , ) PRINT DEC$(10t
- Page 134 and 135:
DEFSTR D E F S T R
- Page 136 and 137:
DI 01 10 CLS:TAG:EVERY 10 GOSUB 90
- Page 138 and 139:
DRAW DRAW , [ , [][, ]] 10 MODE
- Page 140 and 141:
END END END COMMAND: Ends the execu
- Page 142 and 143:
ENV EN V [ , ][, ] [, ][, ] [, ] 1
- Page 144 and 145:
EOF EOF 10 OPENIN "keys.wp" 20 WHIL
- Page 146 and 147:
EVERY EVE R Y [, ] GO SUB 10 EVERY
- Page 148 and 149:
FRAME FRAME 10 MODE 0 20 PRINT "FRA
- Page 150 and 151:
GRAPHICS PEN G RA PH le S PEN [][,
- Page 152 and 153:
INK INK , [, ] 10 MODE 1:PAPER 0:
- Page 154 and 155:
INPUT I N PUT [# , J[; J[ ]
- Page 156 and 157:
JOY JOY ( ) 10 PRINT "To stop the
- Page 158 and 159:
LEFT$ LE FT $ ( , ) 10 C LS 20 a$
- Page 160 and 161:
.... or .... .... or .... LIST 50-
- Page 162 and 163:
MASK M ASK [][, ] 10 MODE 0:INK 5,2
- Page 164 and 165:
FUNCTION: Returns a new sub-string,
- Page 166 and 167:
MOVE M 0 V E , [, [][, ]] 10 MODE
- Page 168:
ON BREAK CONT ON BREAK CaNT 10 ON B
- Page 171 and 172:
ON GOTO ON GOT 0
- Page 173 and 174:
OR 0 R IF "aLan""cat" THEN PRINT
- Page 175 and 176:
PEEK PE E K ( ) 10 MODE 1:Z0NE 7 2
- Page 178 and 179:
POS PO S ( # ) 10 MODE 1:BORDER 0:
- Page 181 and 182:
* * £ (Specifies three digit posit
- Page 183 and 184:
RAD RAD RAD COMMAND: Sets RADians m
- Page 185 and 186:
REMAIN REM A I N ( ) 10 AFTER 500,
- Page 187 and 188:
RESUME NEXT RESUME NEXT 10 ON ERROR
- Page 189 and 190:
ROUND R 0 U N D (
- Page 192 and 193:
SOUND SOU N D , [, [, [, [ , [
- Page 194 and 195:
SPACES SPA C E $ (
- Page 196 and 197:
SQ S Q (
- Page 198 and 199:
STRING$ S T R I N G $ ( , ) PRINT
- Page 200 and 201:
Note that the value of 0 appearing
- Page 202 and 203:
TAGOrr TAG 0 F F I # < stream expre
- Page 204 and 205:
TIME TIME 10 CLS:REM clock 20 INPUT
- Page 206 and 207:
USING (See P R I N T U SIN G) VAL V
- Page 208 and 209:
WIDTH W I D T H WIDTH 40 COMMAND:
- Page 210 and 211:
In this example the values of the v
- Page 212 and 213:
Chapter 4 Using Discs and Cassettes
- Page 214 and 215:
Maintaining a Hi profile! The syste
- Page 216 and 217:
Turnkey AMSTRAD BASIC discs If you
- Page 218 and 219:
Control Codes Hex Decimal Operation
- Page 221 and 222:
fi 11 7 15121.121121 fill 4 Test Di
- Page 223 and 224:
If a cassette file has been saved w
- Page 225 and 226:
Eor POS(#9) These functions operate
- Page 227 and 228:
Successful saving To ensure that th
- Page 230 and 231:
ChapterS AMSDOS and CP/M Part 1: AM
- Page 232 and 233:
Construction of filenames The filen
- Page 235 and 236:
Examples of using AMSDOS commands i
- Page 237 and 238:
Loading the screen back The followi
- Page 239 and 240:
I DRIVE , D R I V E , IDRIVE,"A" C
- Page 241 and 242:
Read/Only files It is possible, usi
- Page 243 and 244:
COpy FROM: AMSTRAD BASIC ASCII data
- Page 245 and 246:
D r i ve : d i sce h a n 9 e d , c
- Page 247 and 248:
Needless to say, it is possible to
- Page 249 and 250:
[CONTROl]K [CONTROL] [ClR] Delete t
- Page 251 and 252:
ERA PIP.COM ERA B:PIP.COM ERA *.BAS
- Page 253 and 254:
Language characters The CPC6128 has
- Page 255 and 256:
Printers Initialising printers can
- Page 257 and 258:
.... and the attributes can be alte
- Page 259 and 260:
RENAME RENAME *.SAV=*.BAK TYPE KEYS
- Page 261 and 262:
Normally, files will accessed on th
- Page 263:
S TAT provides some of the basic fu
- Page 266:
Keyboard transLations: This allows
- Page 269 and 270:
Dr. LOGO Dr. LOGO is a thoughtful i
- Page 271:
Writing Cl Simple Procedure It is e
- Page 275 and 276:
Word and List Processing: (N ote th
- Page 277 and 278:
item Outputs the specified element
- Page 279 and 280:
se (sentence) Outputs a list made u
- Page 281 and 282:
andom Outputs a random non-negative
- Page 283 and 284:
Logical Operations: and Outputs T R
- Page 285 and 286:
* thing Outputs the value of the in
- Page 287 and 288:
* edf Loads the specified disc file
- Page 289 and 290:
type Displays the input object(s) o
- Page 291 and 292:
fs (full screen) Selects a full gra
- Page 293 and 294:
wrap Makes the turtle reappear on t
- Page 295 and 296:
px (pen exchange) Makes the turtle
- Page 298 and 299:
* noformat Removes procedure format
- Page 300 and 301:
emprop (remove property) Removes th
- Page 302 and 303:
* savepic Writes the contents of th
- Page 304 and 305:
l (read list) Outputs a list that c
- Page 307 and 308:
un Executes the input instruction l
- Page 309 and 310:
System Primitives: .contents Displa
- Page 312:
Chapter 7 For your reference ......
- Page 315 and 316:
Value Name Parameter &09 9 * TAB &O
- Page 317 and 318:
Value Name Parameter Meaning &1B 27
- Page 319 and 320:
Part 3: BASIC ASCII and graphics ch
- Page 321 and 322:
49 &H31 &X00110001 53 &H35 &X001101
- Page 323 and 324:
89 &H59 &X01011001 93 &H5D &X010111
- Page 325 and 326:
129 &H81 &Xi 0000001 133 &H85 &X100
- Page 327 and 328:
• 169 &HA9 &X10101001 173 &HAD &X
- Page 329 and 330:
209 &HD1 &X11010001 213 &HD5 &X1101
- Page 331 and 332:
249 &HF9 &X11111001 253 &HFD &X1111
- Page 334 and 335:
!{ey and joystick numbers JOYSTICK
- Page 336 and 337:
NOTE FREQUENCY PERIOD RELATIVE ERRO
- Page 338:
Part 6: BASIC Error messages 1 Unex
- Page 341 and 342:
26 NEXT missing Cannot find a N EX
- Page 343 and 344:
ERR may also return 3 1 if access w
- Page 348:
Sound envelope/music planner For yo
- Page 353 and 354:
Note that although there are 17 fin
- Page 356 and 357:
DATA ONLY format 9 sectors per trac
- Page 358 and 359:
The example below shows this scheme
- Page 360:
Characters in the range &00 to &IF
- Page 364:
Operating the machine in a foreign
- Page 367 and 368:
Part 1: Storing screen images Choos
- Page 369 and 370:
Screen clears again. Now type: I Th
- Page 371 and 372:
Searching .... It is possible to se
- Page 373 and 374:
270 o$=MID$(s$,c1,1)+MID$(s$,c2,1)+
- Page 375 and 376:
The generally accepted reference po
- Page 377:
Whycan't? With all the power of mod
- Page 380 and 381:
Basics of BASIC Virtually all home
- Page 384 and 385:
The next level of shorthand for bin
- Page 387 and 388:
Part 2: More about the CPC6128 spec
- Page 389 and 390:
So how did the computer know the di
- Page 391 and 392:
These 'user defined characters' can
- Page 394 and 395:
User defined characters One of the
- Page 396 and 397:
The function S P C takes a numeric
- Page 398:
Floating dollar and pound signs may
- Page 401 and 402:
.... and the words 'hello there' wi
- Page 403 and 404:
The 6128 maintains a real time cloc
- Page 405 and 406:
10 READ a$ 20 WHILE a$"*" 30 PRINT
- Page 407 and 408:
1000 REM section to draw the screen
- Page 409 and 410:
To play on more than one channel, a
- Page 411:
If 64 (2 t 6) is added to the chann
- Page 415 and 416:
This first example of ENT specifies
- Page 417 and 418:
The sounds that you might expect fr
- Page 419 and 420:
10 FOR octave=-1 TO 2 20 FOR x=1 TO
- Page 421:
10 REM mask and tag in window 20 MO
- Page 424 and 425:
But what are the arrows after the n
- Page 426 and 427:
140 NEXT 150 TAG 160 FOR y=60 TO 31
- Page 429:
On the screen the graphics are ORed
- Page 434 and 435:
1830 RETURN 1840 ' @ 1850 norx=1:un
- Page 436 and 437:
2660 CLS:PRINT"Do you wish to tore"
- Page 438:
Further details .... Many AMSOFT an
- Page 441:
2. Licence You may: 1. U se the pro
- Page 444 and 445:
Appendix 2 Glossary of Terms Some c
- Page 446 and 447:
Architecture The plan relationship
- Page 448 and 449:
BIOS Basic Input/Output System. Thi
- Page 450 and 451:
CCP Console Command Processor. This
- Page 452:
Cursor control keys Keys that move
- Page 455 and 456:
File A collection of data, generall
- Page 458 and 459:
Instruction set The prime logical a
- Page 460 and 461:
Light Pen Another alternative input
- Page 462 and 463:
Modem A MOdulator DEModulator that
- Page 464 and 465:
Paddle An alternative name for ajoy
- Page 466 and 467:
Programming language The medium thr
- Page 468:
Remark A non-executing statement in
- Page 471 and 472:
Stream The route used for the outpu
- Page 473 and 474:
Utility Any complete program used t
- Page 475 and 476:
350 IF x1=3 OR x1=38 THEN xa=-xa 36
- Page 478 and 479:
560 I 570 LOCATE x-1,y:PRINT CHR$(3
- Page 480 and 481:
370 xb=21:dx=1 380 GOTO 400 390 xb=
- Page 482:
Electric fencing Try to 'foil' your
- Page 485 and 486:
1140 ' 1150 b$="ELECTRIC FENCING" 1
- Page 487:
Amthello The thinking person's game
- Page 491:
1520 X%=X%+1 1530 IF X%=61 GOTO 155
- Page 494 and 495:
2680 IF C%(2,8)=Q% AND C%(5,8)=N% A
- Page 496:
Raffles Break into His Lordship's h
- Page 500:
1580 IF ASC(ht$»239 AND ASC(ht$)0
- Page 503:
2840 DATA W,1,H,6,3 2850 DATA D,1,V
- Page 506 and 507:
CLOSEIN ...........................
- Page 509 and 510:
F G B FALSE .......................
- Page 511 and 512:
M LAST ............................
- Page 513:
p OR (LOGO) .......................
- Page 516 and 517:
SETSPLIT ..........................
- Page 518 and 519:
u UC ..............................
- Page 520:
t . I i I I I I . L JAABPCA01D 0 0