I figured it out. Many of the subroutines change the Page/Column Address Order of the 36h register, for example:
[code:1:f2259a31d1]Sub Lcd_clear(byval Color As Word)
Ssd1963_select_reg &H36 'Change X/Y order
Ssd1963_write_data &H03
...(then back)
Ssd1963_select_reg &H36 'Normal X/Y order
Ssd1963_write_data &H23[/code:1:f2259a31d1]
So just modifying the initialization routine will not work. This is what I did to find the settings I needed:
[code:1:f2259a31d1]Const Xynormal = &H28
Const Xyflipped = &H08[/code:1:f2259a31d1]
and the subroutines:
[code:1:f2259a31d1]Ssd1963_select_reg &H36 'Change X/Y order
Ssd1963_write_data Xyflipped
...
Ssd1963_select_reg &H36 'Normal X/Y order
Ssd1963_write_data Xynormal[/code:1:f2259a31d1]
↧