ts

(text screen) Selects a full text screen.

?ts

type

Displays the input object(s) on the text screen, removes list's outer brackets, does not follow last input with a carriage return (compare with pr and show).

?type [a b c] a b c

4.10.8 GRAPHIC SCREEN:

Note that the screen is in Mode 1, giving four colours, and that the same co-ordinate system is used as in AMSTRAD BASIC. In other words all screen positions will be rounded to the nearest even-numbered screen dot. Red, green, and blue colours can have amounts of 0,1,or 2.

clean

Erases the graphic screen without affecting the turtle.

?fd 50 ?clean

cs

(clear screen) Erases the graphic screen and puts the turtle at [0,0] heading 0 (north) with the pen down.

?rt 90 fd 50 ?cs

dot

Plots a dot at the position specified by the input coordinate list in the current pen colour.

?dot [50 10]

fence

Establishes a boundary that limits the turtle to the visible graphics screen. window removes the boundary.

?fence ?fd 300

Turtle out of bounds

Chapter 4.13

AMSTRAD Disc Drive & Interface DDI-1 Manual

Page 71
Image 71
Amstrad DDI-1 manual Graphic Screen, Type, Clean, Dot, Fence