I have spent some time trying to get a HD44780 LCD working with the S12XE. I now have working code that I want to share with others.
It is based on a driver libary by Armandas Jarusauskas. I have modified the code and added things I wanted. I have tested at 16 mHz and 50 mHz and it works as expected.
Original Attachment has been moved to: HD44780lcd.zip