Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
BASCOM AVR, help reference (2007).PDF
Скачиваний:
286
Добавлен:
12.08.2013
Размер:
17.02 Mб
Скачать

© MCS Electronics, 1995-2007

When you use your own drawing routine you can also save the pictures uncompressed by setting the Uncompressed check box. The resulting BGF files can not be shown with the showpic or showpicE statements anymore in that case!

The BGF format is made up as following:

first byte is the height of the picture

second byte is the width of the picture

for each row, all pixels are scanned from left to right in steps of 6 or 8 depending on the font size. The resulting byte in stored with RLE compression

The RLE method used is : byte value, AA(hex), repeats.

So a sequence of 5, AA, 10 means that a byte with the value of 5 must be repeated 16 times (hex notation used)

Option

Description

Height

The height in pixels of the image.

Width

The width in pixels of the image.

Font

The T6963 supports 6x8 and 8x8 fonts. This is the font select that must

 

match the CONFIG statement. For other displays, use 8*8.

Type

The size of the display. When the size is not listed, use one with the same

 

width.

SED Series

If your display is a SEDxxxx chip, select this option.

Uncompressed

Images are RLE encoded. Select this option when you do not want to

 

compress the image.

Tools Stack Analyzer

The Stack analyzer helps to determine the proper stack size.

See $DBG for the proper usage of this option.

Tools Plugin Manager

The Plugin Manager allows you to specify which Plug-in's needs to be loaded the next time you start BASCOM.

page -60-

© MCS Electronics, 1995-2007

Just select the plug in's you want to load/use by setting the check box. The plug in's menu's will be loaded under the Tools Menu.

To add a button to the toolbar, right click the mouse on the menu bar, and choose customize.

When you want to write your own plug in's, contact support@mcselec.com

Tools Batch Compile

The Batch Compiler is intended to compile multiple files.

Shortcut : CTRL+B

The Batch compile option was added for internaltest usage. It is used by MCS to test the provided test samples.

The following window is shown :

page -61-

© MCS Electronics, 1995-2007

There are a number of menu options.

File Load Batch

Load an earlier created and saved batch file list from disk.

File Save Batch

Save a created list of files to disk

When you have composed a list with various files it is a good idea to save it for later re usage.

File Save Result

Save the batch compile log file to disk. A file named batchresult.txt will be saved in the BASCOM application directory.

File Exit

Close window

Batch Compile

Compile the checked files. By default all files you added are checked. During compilation all files that were compiled without errors are unchecked.

page -62-