mk90.basic.statements
Statement CLS
Clear the complete LCD framebuffer and text console.
Syntax
CLSParameters
No parameters.
Behavior
Zeros all 960 framebuffer bytes, resets the 30×10 text buffer and invalidates the text shadow. Text output resumes at column 0, row 0. Unlike the shell’s text CLEAR, this includes pixels between glyph rows and the bottom graphics rows.
Example
10 CLS
20 PRINT "NEW SCREEN"
30 ENDLimits and diagnostics
The common MBC-16 program and stack limits apply.
See also
LOCATE · PSET · PRESET · LINE · Language syntax