i have some problem to set in the best way my 4 X 20 LCD.
I explain better, since my LCD has some problems in displayng characters in the first row (it seems that something is broken) I would like to use only the second and third row.
I really don’t know why you guys are trying to use displays which are definitely not properly supported by the application… :-/
George talks about MIDIbox64, and not about MIDIbox SID. In MBSID, the menu interface is implemented on a very different way. There is no simple solution to change the layout for a “more-than-2-line” display. I never considered this, therefore you won’t find such a switch in the code.
So far the general statement in order to avoid that anybody else comes to the same idea!
Inofficial statement (maybe I should delete this after one week ;-)): so long you only want to center the screen (menu items displayed in second and third line), following code in USER_Init (-> main.asm) should do the trick:
USER_Init
movlw 0x40 ; first line -> 2nd line of 4x20 LCD
movwf MIOS_PARAMETER1
movlw 0x14 ; second line -> 3rd line of 4x20 LCD
movwf MIOS_PARAMETER2
movlw 0x00 ; third line not supported by MBSID, mapped to 1st line of 4x20 LCD
movwf MIOS_PARAMETER3
movlw 0x54 ; fourth line not supported by MBSID, mapped to 4th line of 4x20 LCD
call MIOS_LCD_YAddressSet
[/code]
CS\_MENU\_DISPLAYED\_ITEMS should be set to 5!
Best Regards, Thorsten.