BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - iv_pb

Pages: [1]
1
Discussion - EVE / accessing custom font Glyphs in Flash
« on: January 13, 2021, 07:54:01 PM »
Currently I am setting the “start_of_Graphic_data”  (p + 32),  to the location of where the glyph file is in RAM.

        local Xfont = assetLoader.ImageInfo[xfont].index;
        local Glyph = assetLoader.ImageInfo[glyph].index;
        MCU_WriteMem32(Xfont + 32, Glyph);



For a glyph stored in Flash ([0x02F000 -> 0x057000]) for instance,
How would I compute the flash address to store in the “start_of_Graphic_data”  ?
Is there anything else I need to modify in the xfont (Font Metrics Block)?




2
Discussion - EVE / Re: BT Flash questions...
« on: January 05, 2021, 09:41:13 PM »
Rudolph,

Thank you for the clarification and sample code.

Do you know what the memory between the RAM_G and ROM_FONT is used for?

iv

3
Discussion - EVE / BT Flash questions...
« on: December 28, 2020, 02:55:46 PM »
When accessing the BT Flash, do we use the address 0x800000 for access/reference once its been initialized or use a relative address (0x00000) ?
Is the BT Flash persistent, or does it need to be initialized after every GPU reset?

4
Discussion - EVE / Re: UTF 8 characters with Keys widget
« on: October 21, 2020, 02:30:58 PM »
@Rudloph - Thank you for checking.

Am I reading this wrong?

//BRT_AN_033_BT81X_Series_Programming_Guide.pdf

5.5 ROM and RAM Fonts
In the BT815/6, fonts are treated as a set of bitmap-graphics with metrics block and used by the
following co-processor commands, indexed by bitmap handles 0 to 31:
- CMD_BUTTON
- CMD_KEYS
- CMD_TOGGLE
- CMD_TEXT
- CMD_NUMBER

For any EVE series ICs before BT81X Series, each font supports up to 128 ASCII characters.
In addition to ASCII character support, BT81X Series introduces extended font metrics format to
support a full range of Unicode characters with UTF-8 coding points.

Yes, I do agree that this strongly implies that CMD_KEYS supports UTF-8 chars.
However, every other command explicitly states that it supports UTF-8, like in chapter 5.12 on page 105.
The only exceptions are CMD_KEYS which does suprise me a little, and CMD_NUMBER which should never use anything else than numeric chars.

As evidently UTF-8 does not work with CMD_KEYS my guess would be that this is an oversight in the programming guide for chapter 5.5., unless there is something else to activate it, like an undocumented flag for the options field.

Thank you Rudolph.
I too agree as I have run in to other document errors, but was hoping to get a definitive answer from the BRT dev team.

5
Discussion - EVE / Re: UTF 8 characters with Keys widget
« on: October 13, 2020, 07:43:40 PM »
@Rudloph - Thank you for checking.

Am I reading this wrong?

//BRT_AN_033_BT81X_Series_Programming_Guide.pdf

5.5 ROM and RAM Fonts
In the BT815/6, fonts are treated as a set of bitmap-graphics with metrics block and used by the
following co-processor commands, indexed by bitmap handles 0 to 31:
- CMD_BUTTON
- CMD_KEYS
- CMD_TOGGLE
- CMD_TEXT
- CMD_NUMBER

For any EVE series ICs before BT81X Series, each font supports up to 128 ASCII characters.
In addition to ASCII character support, BT81X Series introduces extended font metrics format to
support a full range of Unicode characters with UTF-8 coding points.

6
Discussion - EVE / UTF 8 characters with Keys widget
« on: October 09, 2020, 02:48:01 PM »
Has anyone tried using the Keys, CMD_KEYS,  widget with custom (UTF8) characters?
I am able to display international characters (Ä ö Ü ü ß â é è î ô) in Text and Button, but not in the Keys widget.  BT81X Is there anything special needed to be done for the Keys widget?

Pages: [1]