Hi,
DAZZLER SUPPORT FOR MBASIC:
All DAZZLER commands are in the format: DZOP “<action>” [, <argument>…]
ACTION
“I” – Initialize
ARGUMENTS
None
DESCRIPTION
Initializes the DAZZLER. This is optional. If omitted, the DAZZLER will be initialized automatically on the first call to any of the other actions.
ACTION
“P” – Position
ARGUMENTS
X, Y
DESCRIPTION
Sets the cursor to the specified coordinates.
ACTION
“D”—Dot
ARGUMENTS
None
DESCRIPTION
Displays a dot in the current color at the current cursor position.
ACTION
“C”—Color
ARGUMENTS
Color code
DESCRIPTION
This sets the color for the next sketch command.
ACTION
“L”—Line
ARGUMENTS
X, Y
DESCRIPTION
Draws a line in the current cole or from the current cursor position to the specified X, Y coordinate. This will include a dot at each end of the line. The cursor position is moved to X, Y.
ACTION
“R”—Rectangle
ARGUMENTS
X, Y
DESCRIPTION
Fills in a rectangle in the current color from the current cursor position to the location (X, Y), inclusive. The cursor position and (X,Y) are the two ends of either of the two diagonals of the rectangle, in any order.
ACTION
“S”—String
ARGUMENTS
String
DESCRIPTION
A string expression of characters to be sent via the CHAR entry point. Each character must have an ASCII code in the range 0 through 127. Each character can be a printable character, or a control code as described in the DAZZLER GRAPHICS LIBRARY documentation.
ACTION
“Z”—Zap
ARGUMENTS
None
DESCRIPTION
Clears the entire display
ACTION
“W”—Wait
ARGUMENTS
Time
DESCRIPTION
Waits 0.1 second times the value of “Time”.
ACTION
“A”--Animate“
ARGUMENTS
None
DESCRIPTION
“Flips” to the other page of display memory. You can write to one page while the other is displayed.
ACTION
“Y’—cYcle
ARGUMENTS
None
DESCRIPTION
Cycles the display through the palette(??)
.