beautypg.com

2 using mogd.exe, 3 commands – Matrix Orbital GLK24064-25 Legacy User Manual

Page 28

background image

Of course, the average module will simply have files loaded into it and will then get to work without

ever having to perform this file reorganization task. The file space may be rewritten up to 100 000 times, but

most users will simply load in their fonts and bitmaps once and that will be it.

6.2 Using mogd.exe

The Matrix Orbital interface program "mogd.exe", which is provided on the disk and the website, gen-

erates and saves fonts larger than 14 pixels in height. It is also used to save graphic images (bitmaps) to the

display.

To make use of smaller fonts it is recommended that a pre-generated font be used. These fonts can

be located on the disk or the website. Unfortunately, integrating these fonts is not as straight forward as

generating the fonts. To make use of these fonts the user must place the font files in their font directory as

defined in the interface program. This directory can be found under "settings".

A font file consists of a single file with an extension.mgf and a directory which contains bitmaps for

every character. All .mgf files are contained within the font directory and all bitmap directories are sub

directories of the font directory. After download of a font file use a "Zip" program to "UnZip" the .mgf file

and bitmap sub-directory into the font directory. Start or restart mogd.exe and click on the font tab. The font

list of mogd should now display the new pre-generated font list.

6.3 Commands

In addition to the commands listed below, the mogd.exe program saves fonts and bitmaps to the display’s

flash memory.

6.3.1 Erase file (254 173 [type] [ref])

This command erases a file within the display memory, and will erase a single file at a time.
The command must be given two parameters: [type] and [ref]. The file type and reference number are

defined when the file is saved to the display using mogd.exe. Since there is no command to list files in

memory, the user must keep track of the memory contents.

• [type] = 1 is a font file
• [type] = 5 is a bitmap

Once this command is completed all files ’move up’ and recover the empty space for efficient memory

management.

6.3.2 Purge memory (254 33 89 33)

This command completely erases the display’s non volatile memory. This removes all fonts, font metrics,

bitmaps, and settings (current font, cursor position, communication speed, etc.). It is an ’odd’ command in

that it is three bytes in length. This is to prevent accidental execution.

Matrix Orbital

GLK24064-25

24