Amstrad DDI-1 manual Pal, Setpal, Window

Models: DDI-1

1 103
Download 103 pages 20.5 Kb
Page 72
Image 72

fs

(full screen) Selects a full graphic screen. ?fs

pal

(palette) Outputs numbers representing the amount of red, green, and blue colour assigned to a pen.

?pal 2 [0 2 2]

setpal

(set palette) Sets the pen colour palette. Assign an amount of red, green, and blue to a pen.

?setpal 3 [1 1 2] ?pal 3

[1 1 2]

sf

(screen facts) Outputs information about the graphic screen. The <format> is [<bgcolour> <screen-state> <split-size> <window-state> <scrunch>] where <bgcolour> is the background pen number, always 0. <screen-state> indicates ss (Split screen), fs (Full screen) or ts (Text screen). <split-size> is the number of text lines displayed on the split screen's text window and <window-state> indicates window, wrap or fence mode. <scrunch> is permanently set to 1

?sf

[0 SS 5 FENCE 1]

ss

(split screen) Displays a window of text on the graphic screen. 9ss

window

Allows the turtle to plot outside the visible graphic screen after a wrap or fence expression.

?fence fd 300 Turtle out of bounds ?window

?fd 300

AMSTRAD Disc Drive & Interface DDI-1 Manual

Chapter 4.14

Page 72
Image 72
Amstrad DDI-1 manual Pal, Setpal, Window