Jump to content

MB SID classic with 4x20 LCD setup question


Noise-Generator
 Share

Recommended Posts

My MBSID is now ready to work.

Unfortunately I found out now that a 4x20 lcd is just supported by the wilba and the classic mbsid just supports a 2x20 by default "fimware"

(Its also cheaper than a 2x20)

I still struggling with programming, I tried to setup the win7 chain but I stucked as I couldn't activate some plug in settings as described and gave up.

I want to set it up at my mac but I'm not sure if the manual is still working with mojave.

Some things are also not clear to understand for me.

Do I just have to change the program line for initialising a 4x20 or do I have to crawl in the wilba code and copy/redesign the lcd code for showing up all the stuff?

If it would be so easy to just change a line would be someone so kind to edit the code for me? 

D92F1BA6-04CD-400E-97F8-82FFE60C16D2.jpeg

Link to comment
Share on other sites

in the asm file, change to this, compile, upload  and Bob's your uncle:

	;; number of LCD lines (supported: 2 for 2x* LCDs and 4 for 4x* LCDs)
#define DEFAULT_LCD_LINES 4

	;; LCD line -> cursor offsets
#define DEFAULT_LCD_LINE_Y0	0x40
#define DEFAULT_LCD_LINE_Y1	0x14
#define DEFAULT_LCD_LINE_Y2	0x00
#define DEFAULT_LCD_LINE_Y3	0x54

 

Edited by eptheca
  • Like 1
Link to comment
Share on other sites

Ok, that means I really just have to change some lines but as I said I did not get the program chain working and I don't really know if I need to install all the stuff because this looks like installing stuff for realtime editing via mios studio. So I thought I just could open the asm file with the microchip ide and I need to include some files...

Whatever, one other way I imagined was to translate the lines to hex and just exchange them but this did not work because the translation was not "satisfying"

But if this the one and only way as it is described in the mios manual and still not obsolete ok, I will try to go trough this hell, again. 

Link to comment
Share on other sites

14 hours ago, eptheca said:

Here's the two versions of V2_044 compiled with settings for 4x20

Enjoy :)

 

setup_6581.hex

setup_8580.hex

Thank you very much eptheca - I love you!

I was trying to copy sdcc to the Developer dir, but get error messages, it does not exist. Well, I´m going to annoy you guys later with this stuff, sooner or later I want/need to modify code.

 

2 hours ago, the_duckchild said:

your build looks great btw! 

Thank you, it´s still a cardbox with cables and pcbs but I´m so glad all connections work...

  • Like 1
Link to comment
Share on other sites

  • 4 years later...

Hi!

I am trying to achieve the same, use a 4x20 LCD display. I followed the instruction, and noticed the 2 default lines have shifted down 1 row. They are now in the middle two lines of the LCD. I guess that's fine for now. 

 

 


 

#define CS_MENU_DISPLAYED_ITEMS 10

#define DEFAULT_LCD_LINE_Y0     0x40
#define DEFAULT_LCD_LINE_Y1     0x14
#define DEFAULT_LCD_LINE_Y2     0x00
#define DEFAULT_LCD_LINE_Y3     0x54


But I'm not sure about these:

        ;; NOTE: if CS_MENU_DISPLAYED_ITEMS > 5, you have to adapt the DIN settings
        ;; in CS_MENU_DIN_TABLE below


In the code:

        DIN_ENTRY       CS_MENU_BUTTON_Sel6,     0,      0      ; define this if CS_MENU_DISPLAYED_ITEMS > 5
        DIN_ENTRY       CS_MENU_BUTTON_Sel7,     0,      0      ; define this if CS_MENU_DISPLAYED_ITEMS > 5
        DIN_ENTRY       CS_MENU_BUTTON_Sel8,     0,      0      ; define this if CS_MENU_DISPLAYED_ITEMS > 5
        DIN_ENTRY       CS_MENU_BUTTON_Sel9,     0,      0      ; define this if CS_MENU_DISPLAYED_ITEMS > 5
        DIN_ENTRY       CS_MENU_BUTTON_Sel10,    0,      0      ; define this if CS_MENU_DISPLAYED_ITEMS > 5

How do I need to interpret this? 

 

Please remember I am a real MB newbie :-)

 

 

Thanks,

 

Ron

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...