GSCALE

This command allows you to set the number of logical pixels per device pixel on either axis. The number of logical pixels per device pixel usually depends on the MODE you are currently using.

For example, if you entered the following command:

*GSCALE 16

you would have 16 logical pixels per device pixel. As the calculator's screen has 96 physical pixels horizontally and 64 physical pixels vertically this gives you a logical resolution of 1536×1024, which is near to the BBC Micro's logical resolution of 1280×1024.

On the other hand,

*GSCALE 1

would have one logical pixel per device pixel. Assuming the graphics origin was in the bottom-left hand corner of the screen (as it is by default) the top-right corner would be at (95,63) in this mode.

You can set a different scale factor on the X axis to the scale factor on the Y axis by passing two arguments:

*GSCALE 2,4

This mode would have two logical pixels per device pixel in the X axis and four logical pixels per device pixel in the Y axis.

The valid scale factors are 1, 2, 4, 5, 8, 16, 32, 64 and 128. No other value is permitted.

Syntax