Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

6 GCOL 0,1 PLOT 85,0,0 If the computer says No such variable then you are probably pressing the letter O instead of the number 0. PLOT 86,1000,750 VDU 19,1,4,0,0,0 VDU 19,3,2,0,0,0 VDU 19,0,1,0,0,0 DRAW 200,0 DRAW 0,200 As you can see, the DRAW command is used to draw lines while PLOT 85 and PLOT 86 are used to plot and fill in triangles on the screen. When using the graphics the points on the screen are numbered from 0 to 1279 (left to right) and from 0 to 1023 (bottom to top). They are like positions on a piece of graph paper. Words can also be plotted in colours, as you will have seen. Clear the screen by typing MODE 5 and then type the following: COLOUR 1 This selects a red foreground.

COLOUR 2 This selects a yellow foreground. COLOUR 3 This selects a white foreground. COLOUR 129 This selects a red background. COLOUR 0 This selects a black foreground. COLOUR 130 This selects a yellow background. The computer can create sound as well. Try typing this in: SOUND 1,-15,100,200 and then press RETURN . That gives a simple, crude sound. It is also possible to alter the quality of the sound. Try this: ENVELOPE 2,3,2,-4,4,50,50,50,127,0,0,0,126,0