beautypg.com

2 using mogd.exe, 3 commands – Matrix Orbital GLC24064 User Manual

Page 26

background image

When a file is being downloaded with the same ’name’ or reference number as the previously existing

file, the old file needs to be deleted first. It is impossible to know if the new file is exactly the same size as
the old file since the space vacated by the old files are filled by moving previously existing files down to fill
up the vacated space. This ensures that no file space is wasted.

Of course, the average module will simply have files loaded into it and it will work without ever having

to perform this file reorganization task. The file space may be rewritten up to 100 000 times. However, most
users will simply load in their fonts and bitmaps once and that will be it.

5.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 are located

on the disk or the website. Unfortunately, integrating these fonts is not as straight forward as generating the
fonts personally. 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 may be used and 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, the user should use a "Zip" program to
"UnZip" the .mgf file and bitmap sub-directory into their font directory. Start or restart mogd.exe and click
on the font tab. The user should now see their new pre-generated font listed in the font list of mogd.

5.3 Commands

In addition to the commands listed below, the user may use the mogd.exe program to save fonts and

bitmaps to the display’s flash memory.

5.3.1 Erase File (254 176 [type] [ref])

This command erases a file within the display memory, in addition to erasing a single file at a time.
The command needs to 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.

Matrix Orbital

GLC24064

22