EasyManua.ls Logo

AMSTRAD CPC464 - Demonstration Program

AMSTRAD CPC464
249 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
In this case 15 is the PEN number, while 0 is the colour black, and 26 is the alternate colour bright
white.
Finally, it is possible to make the BORDER flash between two colours by adding an extra colour
number to the BORDER command. Type in:
border 6,9 [ENTER]
You will now see that the BORDER is flashing between bright red and green.
Now reset the computer [CTRL] [SHIFT] [ESC]
DEMONSTRATION PROGRAM
For further demonstration of the colours available, type in the following program, then run it.
We have included some sound in the program. This will be explained in a later section.
10 mode 0:ink 0,2:ink 1,24:paper 0[ENTER]
20 pen 1: for b=0 to 26: border b[ENTER]
30 locate 3,12:print”BORDER COLOUR”;B[ENTER]
40 sound 4,(40-b) [ENTER]
50 for t=1 to 600:next t:next b:cls[ENTER]
60 for p=0 to 15:paper p:pen 5:print “paper”;
p:print[ENTER]
70 for n=0 to 15:pen n:print “pen”;n[ENTER]
80 sound 1,(n*20+p) [ENTER]
90 for t=1 to 100:next t:next n[ENTER]
100 for t=1 to 1000:next t:cls:next p[ENTER]
110 cls:paper 0: pen 1:locate 7,12:print
“THE END” : for t=1 to 2000: next t[ENTER]
120 mode 1: border 1:ink O,1 :ink 1,24:paper 0
pen 1 [ENTER]
run [ENTER]

Table of Contents

Other manuals for AMSTRAD CPC464

Related product manuals