FemtoBasic Clear Screen
Humanoido
Posts: 5,770
I was looking for a CLS function to clear the screen after listing my program. Is there a trick to doing this?
Comments
DISPLAY $00 : rem Send a $00 to the display to clear the screen
One thing leads to another, and while viewing the code, I see many statements involving color. Is there a color version FemtoBasic with operating manual and examples?
The DISPLAY statement makes it easy to handle these screen command sequences.
It's possible to change to a different display driver. I've used Chip's 1024 x 768 pixel tile-based driver for example. It takes a little work to add it because the driver doesn't include much in the way of interface routines. FemtoBasic needs things like .dec / .bin / .hex / .str and ways to position the cursor, backspace, fiddle with color, etc.
Post Edited (Mike Green) : 5/3/2009 8:55:39 PM GMT
I did a AiGeneric mod of Femto that does color, etc but currently only works under NTSC.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Post Edited (humanoido) : 5/4/2009 11:38:40 AM GMT