SCANTECH ID (Champtek company) Discovery SG-20 User Manual

Page 98

Advertising
background image

90

Appendices

E

DOWNLOADING IMAGES, ICONS AND FONTS INTO THE

DISCOVERY

The Discovery is equipped with re-programmable Flash Memory which can hold

the following information:

9 Character sets (fonts), 6 are free definable.

36 Full screen images

32 Icons

Fonts

Every character set consists of character numbers 32 (= space) through 255 (=

224 characters). A single character is defined inside a pixelarea of 10 x 16

pixels. Only bits 0-5 of the flash memory bytes are used for pixel information;

Therefore 1 character uses 32 bytes of memory.

Example of a simple 'A' character :

PIXEL BINARY NOTATION HEX NOTATION
----------

00000000 00000000

0x00 0x00

----------

00000000 00000000

0x00 0x00

---- -----

00000000 00100000

0x00 0x20

--- - ----

00000001 00010000

0x01 0x10

-- --- ---

00000010 00001000

0x02 0x08

-- --- ---

00000010 00001000

0x02 0x08

-- --- ---

00000010 00001000

0x02 0x08

--

---

00000011 00111000

0x03 0x38

- ----- --

00000100 00000100

0x04 0x04

- ----- --

00000100 00000100

0x04 0x04

- ----- --

00000100 00000100

0x04 0x04

- ----- --

00000100 00000100

0x04 0x04

- ----- --

00000100 00000100

0x04 0x04

- ----- --

00000100 00000100

0x04 0x04

----------

00000000 00000000

0x00 0x00

----------

00000000 00000000

0x00 0x00

A whole character set uses 224 x 32 = 7168 (0x1C00) bytes. Only Set3, which

contains the Sg10 special character set, contains 255 characters (0 - 254) and

therefore takes 8160 bytes of memory.

The Discovery uses 1 complete sector of flash memory (= 65536 bytes) for its

character sets :

Advertising