beautypg.com

6 file system commands – Matrix Orbital GLC24064 User Manual

Page 38

background image

Command

Syntax

Notes

Draw Outline Rectangle

FE

72

[color][x1][y1][x2][y2]
254

114

[color][x1][y1][x2][y2]
254

’r’

[color][x1][y1][x2][y2]

Draws a rectangular outline using
color [color].

Draw Solid Rectangle

FE

78

[color][x1][y1][x2][y2]
254

120

[color][x1][y1][x2][y2]
254

’x’

[color][x1][y1][x2][y2]

Draws a solid rectangle using color
[color].

Initialize Bar Graph

FE
67[ref][type][x1][y1][x2][y2]
254

103

[ref][type][x1][y1][x2][y2]
254

’g’

[ref][type][x1][y1][x2][y2]

Sets aside space for a bar graph.
[ref] is reference number (0-15) for
use by the Write to Bar Graph com-
mand. [type] has values: 0 = ver-
tical, starting from bottom 1 = hor-
izontal, starting from left 2 = verti-
cal, starting from top 3 = horizontal,
starting from right

Write to Bar Graph

FE 69 [ref][value] 254
105 [ref][value] 254 ’I’
[ref][value]

Fills the bar graph referred to as [ref]
from start to [value]. [value] is in
pixels.

Display Saved Bitmap

FE 62 [ref][x][y] 254
98 [ref][x][y] 254 ’b’
[ref][x][y]

Causes bitmap [ref] to be displayed
with its top left corner starting at po-
sition (x,y).

Initialize Strip Chart

FE

6A

[ref][x1][y1][x2][y2]
254

106

[ref][x1][y1][x2][y2] 254
’j’ [ref][x1][y1][x2][y2]

[ref] is a reference number from 0 -
6, allowing 7 strip charts to be de-
fined.

Shift Strip Chart

FE 6B [ref]
254 107 [ref]
254 ’k’ [ref]

[ref] selects the strip chart and
the direction in which it moves.
Movement is always 8 pixels at a
time.MSB = 0 shifts left MSB = 1
shifts right.

7.6 File System Commands

In addition to these commands, the mogd.exe program is used to download fonts and graphics to the

display.

Table 19: File System Commands

Matrix Orbital

GLC24064

34