home | ||||||||||||||||||||||||||
links |
|
|||||||||||||||||||||||||
developer's mag main page article part 1 part 2 part 3 part 4 part 5 part 6 part 7 part 8 part 9 |
2 - Layers Upon LayersThe functions to access the ebm's display are organized into three layers, with the tradeoffs of complexity and flexibility. The display buffer is organized as an array of bytes; at four bits or 16 colors per pixel, each byte contains two pixel entries, for a total of about 24k for the entire screen. This buffer is used to communicate between a user program and the Operating System, which handles the data transfer to the LCD display.Interacting with that plane of data is the responsibility of the LCD_ functions (found at /franklin/SDK/sneak32/include/lcd.h):
At this level, the responsibility for graphics is entirely in the developer's hands. You will need to make calls to initialize and close down, get the bit plane depth, the screen orientation and size, as well as handling clipping, updating, and so forth. An example of programming at this low level is shown in the Jogwheel application, available on the ebm website. Previous Section Next Section |
|||||||||||||||||||||||||
Copyright © 2001-2006 ebmDevMag.com - Legal Notice |