Well, LCDOUT is designed for 44780 compatible controllers. A quick look at the ST7920 datasheet seems to indicate that it's sort of compatible but with extended functionallity. It may or may not work with LCDOUT.
Do you have it connected with 4-bit or 8-bit interface?
I would let the compiler do the initial initalization, setting 4/8-bit interface etc. Then I would make two manual writes enabling graphics mode and extended function set mode, making SURE I don't change the 4/8-bit mode flag when doing so. See the note in the datasheet that you can't change DL, RE, and G at the same time, hence the multiple writes. Provided 4-bit interface is used I would try:
Code:
LCDOUT $FE, %00100100 ' Enable extended instruction set, keep 4-bit interface.
LCDOUT $FE, %00100110 ' Enable graphics mode, keep 4-bit interface and extended instruction set.
Bookmarks