VS1005 BitMap Graphics example

Discussion about writing software for VS1005 and the VSOS Operating System. Also posts about VS1005-related hardware design and device drivers should be posted here.
Post Reply
User avatar
Henrik
VLSI Staff
Posts: 1199
Joined: Tue 2010-06-22 14:10

VS1005 BitMap Graphics example

Post by Henrik » Thu 2021-01-28 15:23

Hello!

For many projects which use an LCD display, it would be very convenient to show pre-rendered bit-mapped graphics. This is now made possible with a new toolchain which allows you to convert an arbitrary number of palette-based graphics to a format that is convenient for VS1005 to render.

Feature of this system is:
  • User can combine a number images to one single BitMap Graphics file.
  • VS1005 can quickly render thse graphics to present things like icons etc.
  • BitMap graphics can be from 1 to 4 (and with one modification to the renderer, up to 8) bits per pixel.
  • Each graphic symbol has its own independent palette.
  • Palettes can be modified on the fly to create for instance different colour buttons or knobs from the same BitMap.
Below is a screen dump from a 160x128 LCD with the demonstration program running:
ExampleGfxScreen2.png
RenderEx screen dump.
ExampleGfxScreen2.png (2.7 KiB) Viewed 154 times
Attached to this message are the following pieces of software and documentation:
  • BitMap Graphics rendering example solution RenderEx.dl3. Along with the separate documentation, the source code of this small Solution serves as an example on how to use the new system. It also contains a PC executable program vs1005gfxgen.exe that can be used to generate VS1005 BitMaps.
  • Documentation file VS1005BitMapGraphics_v100.pdf. This tells how to generate and use the BitMap Graphics, as well as a documetation of the format itself.
  • Replacements for three LCD drivers (lcd288, lcd288v, and LCD177) with BitMap rendering capability added.
Have fun with this new library!

Kind regards,
- Henrik
Attachments
RenderEx_v100.zip
Bitmap Graphics Rendering Solution. Read README.TXT for details.
(197.44 KiB) Downloaded 25 times
VS1005BitMapGraphics_v100.pdf
Documentation for the BitMap Graphics: how to use it, and format specification.
(161.21 KiB) Downloaded 12 times
lcd288_210128.zip
2.88" parallel bus LCD driver with BitMap capability, horizontal.
(15.96 KiB) Downloaded 6 times
lcd288v_210128.zip
2.88" parallel bus LCD driver with BitMap capability, vertical.
(15.99 KiB) Downloaded 6 times
LCD177_210128.zip
1.88" SPI bus LCD driver with BitMap capability, horizontal and vertical.
(16.54 KiB) Downloaded 9 times
Good signatures never die. They just fade away.

Post Reply