358 Appendix A Command Reference
Class Custom image primitive
Description Draws a crosshatch of a given color and forms a given number of boxes in each direction.
All lines are 1 pixel thick. All of the lines in a given direction are equally spaced. Any
remaining pixels are distributed as equally as possible around the perimeter of the grid.
This may cause the first and last lines in each direction not to be at the very edges of
video.
Command syntax GRID color horizontal_boxes vertical_boxes
color
available colors
horizontal_boxes
number of horizontal boxes (half of number of pixels)
vertical_boxes
number of vertical boxes (half of number of lines)
Other required
commands The FMTU command instructs the generator to use the new settings. The ALLU command
updates the hardware to the new settings and redraws the test image.
Example
GRID gray75 14 10 // Draw a gray75 grid with 14 horizontal
// and 10 vertical boxes
ALLU // Update hardware to current buffer contents