Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2345

acorn & bbc micro user group (abug) events • Re: ABUG Scotland #3 - Thu 18th January 2024

$
0
0
Sounds good Chris - the Z88 will be interesting to see. I wonder how the MODE statement copes with it's limited sized screen?
Incompatibly, but it still does something:
MODE n: MODE statement

The MODE statement allows selection of the normal text-only mode (MODE 0) or a text-and-graphics mode (MODE 1). In MODE 1 the display is split into two parts: a text-window on the left and a graphics-window on the right. The text window consists of 8 rows of 50 characters, and the graphics window is 64 pixels high by 256 pixels wide; you cannot (normally) mix text and graphics in the same window.

Points in the graphics window are addressed as x,y coordinates from 0,0 (the bottom-left corner) to 255,63 (the top-right corner), although the origin can be moved using the PLOT -1 statement (q.v.).

Although MODE 1 sets up the window positions and sizes as described, it is possible to change these using the VDU statement. However the method of doing this is outside the scope of this document. It is not advisable to cause the text and graphics windows to overlap, although this may occasionally be useful.

MODE clears the display (both text and graphics windows), moves the text cursor to 0,0 (the top left of the text window), resets the
graphics origin and moves the graphics cursor to 0,0 (the bottom left of the graphics window).

In MODE 0 (the normal 94-column text mode) the other graphics statements have no effect.

Statistics: Posted by scruss — Tue Jan 16, 2024 1:15 am



Viewing all articles
Browse latest Browse all 2345

Trending Articles