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

Author Topic: Long text on BT 815  (Read 775 times)

FlorianG

  • Newbie
  • *
  • Posts: 34
    • View Profile
Long text on BT 815
« on: April 23, 2024, 02:05:43 AM »

Hi,

do you know if it is possible to display long texts with the BT 815 chip?  I use the Gameduino 3x Dazzler so it is equipped with 8 mega of external RAM.  if I display too much text it crashes because I suppose I am saturating the list of instructions.  List which is too small and remains a big limitation on these chips. 

Ps. my CPU is at teensy 4.0
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 748
    • View Profile
Re: Long text on BT 815
« Reply #1 on: April 23, 2024, 08:53:00 AM »

Hi,

Could you advise what lengths of strings you were needing to use?

Best Regards, BRT Community
Logged

FlorianG

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Long text on BT 815
« Reply #2 on: April 23, 2024, 02:50:58 PM »

Thank you for your reply. 
It can be long text of more than 2000 characters
Logged

BRT Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 748
    • View Profile
Re: Long text on BT 815
« Reply #3 on: April 24, 2024, 10:21:58 AM »

Hi,

In addition to a few instructions for the actual setup of the font bitmap properties, each character will require at least a Vertex command.

For characters which are beyond the reach of VERTEX2II (e.g. more than 511) there is also a CELL() instruction since EVE needs to use VERTEX2F and that needs a preceding command to set which cell/character.

Therefore, you should budget at least 4 bytes per character and 8 bytes in some cases.

if the text is fixed, you may be able to write it to a bitmap or display it and take a snapshot after start-up and that would save some DL space by displaying the sentence as a bitmap.

Best Regards, BRT Community


Logged

FlorianG

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Long text on BT 815
« Reply #4 on: April 24, 2024, 04:44:13 PM »

Thank you for your response but I can't.  the text is dynamic.
we can't use the 8m of external ram?
Logged

FlorianG

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Long text on BT 815
« Reply #5 on: April 25, 2024, 02:11:05 AM »

Another solution that I am considering is to generate an image directly via the CPU with the generated text and then send it to the GPU and display it.
But currently I have a problem with my graphics library because I cannot send uncompressed images via it.
If I send the data to the bt815 memory with uncompressed data it systematically crashes and I can't figure out why. 

I use the Gameduino 3 Dazler library. 

With compressed data it works but I don't know how to compress them directly via the CPU of the teensy 4. So I always have to go through a PC to compress the images and send them to the Teensy which will send it to the graphics chip.  but this prevents me from generating images directly at the heart of teensy
Logged