Segger Logo Embedded Software Solutions
Software productsHardware productsDownloadsPricesCustomersOur PartnersSitemapForumAbout us
emWin: LCDVesa driver

This driver supports any PC-compatible hardware compatible with the VESA BIOS Extension standard (VBE) V1.2. It uses the INT 10h ROM BIOS functions to provide the VBE services. The driver has been written and tested with the Open Watcom com-piler V1.0 but it should also work with other compilers.

Supported hardware

Any PC-compatible hardware as described above.

Supported resolutions

The following resolutions are supported by the driver:

  • 320 x 200
  • 640 x 480
  • 800 x 600

Bits per pixel

Supported color depths are 8 and 16 bpp.

Display data RAM organization

Display data is organized in banks of up to 64Kb as described by the VESA standard.

RAM requirements of the driver

About 50 bytes for some static variables.

Additional driver functions

None.

Hardware configuration

This driver uses the INT 10h ROM BIOS functions to provide the VBE services. Therefore this driver does not need any additional hardware configuration.

Color format (R/B swap)

Red and blue needs to be swapped in the low level configuration. This can be done by setting the config switch LCD_SWAP_RB to 1 in the configuration file.

Example:

LCDConf.h for a VGA display 640x480, 16bpp:

#define LCD_XSIZE 640 /* X-resolution of LCD, Logical coor. */
#define LCD_YSIZE 480 /* Y-resolution of LCD, Logical coor. */
#define LCD_BITSPERPIXEL 16
#define LCD_CONTROLLER 8600
#define LCD_SWAP_RB 1

Additional configuration switches

None.

Special requirements for certain LCD controllers

None.

Copyright SEGGER Microcontroller GmbH & Co.KG. All rights reserved.
For more information, please visit our web site www.segger.com or contact us at info@segger.com
Last update: December 7, 2007