talion Posted November 8, 2006 Report Share Posted November 8, 2006 Ok, i found out, that in your post was something missing:CS_MENU_ButtonIncDec_End ;; force a display update and exit bsf CS_STAT, CS_STAT_DISPLAY_UPDATE_REQ returnthis is needed by CS_MENU_ButtonDec1 and has to be added to the code....Greets Chris Quote Link to comment Share on other sites More sharing options...
Sasha Posted November 8, 2006 Report Share Posted November 8, 2006 Hay Chris, that is very neat job you have done. Congratulations! Really great, and clean PCBs. Could you publish your design somewhere? I would like to make it once you finish it completly. Thx. Sascha Quote Link to comment Share on other sites More sharing options...
talion Posted November 8, 2006 Report Share Posted November 8, 2006 No problem... but the control-surface needs some enhancements because in my version the encoders are splitted over the shift registers - this wont work so easy i found out... and also the pcb's need some documentation because bridges and so on are not documented... when i'm finished with this i'll do all this and put the pcb's in the wiki...Chris Quote Link to comment Share on other sites More sharing options...
Sasha Posted November 8, 2006 Report Share Posted November 8, 2006 OK, I have my SEQ to have fun making it. When this CS and your PCBs be finished i`ll do it.If you need some help with diagrams or drawing when documenting I`l be glad to contribute. ;) Quote Link to comment Share on other sites More sharing options...
Ixox Posted November 10, 2006 Author Report Share Posted November 10, 2006 Hi Talion,That's great to see your beautifull work ;DI absolutely must find some time to finish mine... You should have sent me an email to know what's missing..But you found exacly what was missing.... congratulations.Sorry for the problem and thank you to have posted the fix :(For the record the missing line is "CS_MENU_ButtonIncDec_End" at the end of CS_MENU_ButtonInc function in cs_menu.inc.)Ok, i found out, that in your post was something missing:CS_MENU_ButtonIncDec_End ;; force a display update and exit bsf CS_STAT, CS_STAT_DISPLAY_UPDATE_REQ returnthis is needed by CS_MENU_ButtonDec1 and has to be added to the code....Greets ChrisPlease post a picture of your finished box.I'll do the same.... ;)Xavier Quote Link to comment Share on other sites More sharing options...
TK. Posted May 3, 2007 Report Share Posted May 3, 2007 This topic has been moved to MIDIbox of the Week.[iurl]http://www.midibox.org/forum/index.php?topic=9157.0[/iurl] Quote Link to comment Share on other sites More sharing options...
bosone Posted October 29, 2007 Report Share Posted October 29, 2007 could a layout like this be used with SID 2.0?are the code modification for the control surface still (more or less) the same for the 2.0? Quote Link to comment Share on other sites More sharing options...
TK. Posted October 30, 2007 Report Share Posted October 30, 2007 I don't know the modifications which have been made, but they should be more or less the same.Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted October 31, 2007 Report Share Posted October 31, 2007 Moral of story: document your masterpiece on the wiki :)I sound like a broken record.......... Quote Link to comment Share on other sites More sharing options...
jdelgoulet Posted February 6, 2008 Report Share Posted February 6, 2008 Hi all,I'm trying to build the mini-sid from this thread : http://www.midibox.org/forum/index.php/topic,7569.0.html but the code (in the thread) is based on the 1.7x B version of the sid not the 1.7x C ... so I get lots of "macro" errors (with IFSET missing etc etc).Now I was wondering if there is a simple way to port that code easily 'cos to be honest ... I don't get it when it womes to ASM ...Thanks for your help.(By the way, if someone has already built it and has the source code ... I'll be very pleased).PS : did I say that toomorrow is my birthday ? ;-) Quote Link to comment Share on other sites More sharing options...
TK. Posted February 6, 2008 Report Share Posted February 6, 2008 It took me 10 minutes to move your posting to a location where the interesting information doesn't get lost!It took me 10 seconds to convert the macros (converter works only under Linux/MacOS, the result sometimes requires manual editing - therefore it isn't public...)CS_MENU_BUTTON_Row_Inc ;; do nothing if button has been depressed btfsc MIOS_PARAMETER2, 0 return movlw 0x06 cpfsgt CS_MENU_SELECTED_ROW, ACCESS goto CS_MENU_BUTTON_Row_Inc_DoIt clrf CS_MENU_SELECTED_ROW goto CS_MENU_BUTTON_Row_ChangeMenuCS_MENU_BUTTON_Row_Inc_DoIt incf CS_MENU_SELECTED_ROW, F goto CS_MENU_BUTTON_Row_ChangeMenuCS_MENU_BUTTON_Row_Dec ;; do nothing if button has been depressed btfsc MIOS_PARAMETER2, 0 return movlw 0x01 cpfslt CS_MENU_SELECTED_ROW, ACCESS goto CS_MENU_BUTTON_Row_Dec_DoIt movlw 0x07 movwf CS_MENU_SELECTED_ROW goto CS_MENU_BUTTON_Row_ChangeMenuCS_MENU_BUTTON_Row_Dec_DoIt decf CS_MENU_SELECTED_ROW, F goto CS_MENU_BUTTON_Row_ChangeMenuCS_MENU_BUTTON_Row_ChangeMenu ;; update TMP6 for easy menu switching movf CS_MENU_SELECTED_ROW, W call MIOS_HLP_GetBitORMask movwf TMP6 ;; menu display movlw 0x00 ; cursor pos movwf MIOS_PARAMETER1 movlw 0x00 ; page offset movwf MIOS_PARAMETER2 movlw CS_MENU_FIL ; menu structure btfsc TMP6, 0 movlw CS_MENU_OSC btfsc TMP6, 1 movlw CS_MENU_OSC btfsc TMP6, 2 movlw CS_MENU_OSC btfsc TMP6, 3 movlw CS_MENU_ENV btfsc TMP6, 4 movlw CS_MENU_ENV btfsc TMP6, 5 movlw CS_MENU_FIL btfsc TMP6, 6 movlw CS_MENU_LFO GOTO_IFSET TMP6, 7, ACCESS, CS_MENU_BUTTON_DisplayUpdateReq goto CS_MENU_BUTTON_Hlp_MenuChangeOkCS_MENU_BUTTON_MatrixRow_Inc ;; do nothing if button has been depressed btfsc MIOS_PARAMETER2, 0 return ;; just show menu if not already on the LCD movlw CS_MENU_MOD cpfseq CS_MENU, ACCESS rgoto CS_MENU_BUTTON_Hlp_MenuChangeOk movlw 0x00 ; cursor pos movwf MIOS_PARAMETER1 movlw 0x00 ; page offset movwf MIOS_PARAMETER2 movlw CS_MENU_MOD ; menu structure goto CS_MENU_ButtonIncCS_MENU_BUTTON_MatrixRow_Dec ;; do nothing if button has been depressed btfsc MIOS_PARAMETER2, 0 return ;; just show menu if not already on the LCD movlw CS_MENU_MOD cpfseq CS_MENU, ACCESS rgoto CS_MENU_BUTTON_Hlp_MenuChangeOk movlw 0x00 ; cursor pos movwf MIOS_PARAMETER1 movlw 0x00 ; page offset movwf MIOS_PARAMETER2 movlw CS_MENU_MOD ; menu structure goto CS_MENU_ButtonDec ;; ------------------------------------------------------------------CS_MENU_BUTTON_General1 btfsc MIOS_PARAMETER2, 0 return BRA_IFSET TMP6, 0, ACCESS, CS_MENU_BUTTON_Osc_Sel;; IFSET TMP6, 1, rgoto ;; IFSET TMP6, 2, rgoto BRA_IFSET TMP6, 3, ACCESS, CS_MENU_BUTTON_Env_Sel;; IFSET TMP6, 4, rgoto BRA_IFSET TMP6, 5, ACCESS, CS_MENU_BUTTON_Fil_Sel BRA_IFSET TMP6, 6, ACCESS, CS_MENU_BUTTON_LFO_Sel;; IFSET TMP6, 7, rgoto returnCS_MENU_BUTTON_General2 btfsc MIOS_PARAMETER2, 0 return BRA_IFSET TMP6, 0, ACCESS, CS_MENU_BUTTON_Osc_Wav;; IFSET TMP6, 1, rgoto ;; IFSET TMP6, 2, rgoto BRA_IFSET TMP6, 3, ACCESS, CS_MENU_BUTTON_Env_Curve;; IFSET TMP6, 4, rgoto BRA_IFSET TMP6, 5, ACCESS, CS_MENU_BUTTON_Fil_Mod BRA_IFSET TMP6, 6, ACCESS, CS_MENU_BUTTON_LFO_Wav;; IFSET TMP6, 7, rgoto returnCS_MENU_BUTTON_General3 btfsc MIOS_PARAMETER2, 0 return BRA_IFSET TMP6, 0, ACCESS, CS_MENU_BUTTON_Osc_RS;; IFSET TMP6, 1, rgoto ;; IFSET TMP6, 2, rgoto ;; IFSET TMP6, 3, rgoto ;; IFSET TMP6, 4, rgoto ;; IFSET TMP6, 5, rgoto ;; IFSET TMP6, 6, rgoto ;; IFSET TMP6, 7, rgoto return[/code]Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
jdelgoulet Posted February 6, 2008 Report Share Posted February 6, 2008 Thanks a lot TK !!!That was quick !!Sorry for posting this into another thread than this one.As the problem I had was with the macros, I tought it was best to publish it in your thread about the GPASM compil chain.Again thanks so much ! Now I know ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.