Hessel Schut hessel@isquared.nl
(c) 2009,2013 isquared.nl, Licensed under Creative Commons CC BY-SA 3.0
UDGFB is a 20x16 framebuffer for Psion Organiser II devices based on the eight user-defined characters for the Hitachi HD44780 LCD controller in these devices.
The framebuffer uses the user-defined characters printed in the following configuration:
udg0 udg1 udg2 udg3
udg4 udg5 udg6 udg7
See this and this blog posts for more details.
The following functions are defined:
-
clears the framebuffer
-
print framebuffer UDGs at location (xpos, ypos)
-
set pixel at (x, y) to state s, where "s" is 0 or 1
-
get value of pixel at (x, y)
-
scroll all pixels one row up, duplicates row 15
The following functions are for internal use:
-
write value to udg row of udg character
-
read byte defining row of udg character