IonicWind Software

Aurora Compiler => Software Projects => Topic started by: sapero on July 28, 2008, 08:43:57 AM

Title: HD61202U (LCD with chip) simulator
Post by: sapero on July 28, 2008, 08:43:57 AM
HD61202U is a column (segment) driver for dot matrix liquid crystal graphic display systems. It stores
the display data transferred from a 8-bit micro controller in the internal display RAM and generates dot
matrix liquid crystal driving signals.

So, instead connecting LCD controller to your LPT port, try my simulator first :)
The virtual controller resides on LPT ports and waits for exceptions generated while you access these ports directly. This is possible on NT systems.
This project requires Windows XP/Server 2003, because I've used AddVectoredExceptionHandler function, that makes things easier.

All what is needed to control the device you find in example program test.src, the (not included) datasheet and predefined constants in hd61202u.inc.
The example program combines two controllers into one wider device, and uses the CS (chip select) lines to access one device each time.
The left device displays 'A' character, the second 'B'. Both devices are scrolling its content by incrementing the Z register.
Port/line mapping is represented by BUSENUM enumeration.

Not tested with a real controller, because my laptop has no LPT.