Hi,
This HowTo describes the required procedure to edit the code and to build a new .hex file.
For editing you need to open the setup_sammich_sid.asm file with the Wordpad in the Windows OS.
Here is a default button section
CS_MENU_DIN_TABLE
;; Function name SR# Pin#
DIN_ENTRY CS_MENU_BUTTON_Dec, 0, 0 ; only valid if rotary encoder not assigned to these pins
DIN_ENTRY CS_MENU_BUTTON_Inc, 0, 0 ; (see MIOS_ENC_PIN_TABLE) and CS_MENU_USE_INCDEC_BUTTONS == 1
DIN_ENTRY CS_MENU_BUTTON_Exec, 2, 0
DIN_ENTRY CS_MENU_BUTTON_Sel1, 1, 4
DIN_ENTRY CS_MENU_BUTTON_Sel2, 1, 5
DIN_ENTRY CS_MENU_BUTTON_Sel3, 1, 6
DIN_ENTRY CS_MENU_BUTTON_Sel4, 1, 7
DIN_ENTRY CS_MENU_BUTTON_Sel5, 1, 0
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
DIN_ENTRY CS_MENU_BUTTON_SID1, 0, 0
DIN_ENTRY CS_MENU_BUTTON_SID2, 0, 0
DIN_ENTRY CS_MENU_BUTTON_SID3, 0, 0
DIN_ENTRY CS_MENU_BUTTON_SID4, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Shift, 2, 2 ; was: link button
DIN_ENTRY CS_MENU_BUTTON_CC_PageUp, 2, 1 ; combined CC/PageUp -- CC actived together with shift button (no error)
DIN_ENTRY CS_MENU_BUTTON_Edit_PageDown, 2, 3 ; combined Edit/PageDown -- Edit actived together with shift button (no error)
DIN_ENTRY CS_MENU_BUTTON_Osc_Sel, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Osc_Ctrl, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Osc_Wav, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Osc_RS, 0, 0
DIN_ENTRY CS_MENU_BUTTON_LFO_Sel, 0, 0
DIN_ENTRY CS_MENU_BUTTON_LFO_Wav, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Env_Sel, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Env_Ctrl, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Fil_Sel, 0, 0
DIN_ENTRY CS_MENU_BUTTON_Fil_Mod, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_O1Ptch, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_O2Ptch, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_O3Ptch, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_O1PW, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_O2PW, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_O3PW, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_Filter, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_E1, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_E2, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_L1, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_L2, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_L3, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_L4, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_L5, 0, 0
DIN_ENTRY CS_MENU_BUTTON_M_L6, 0, 0
;; new for MBSID V2 (additional ***optional*** buttons)
;; don't worry, you still have full access to all functions w/o these buttons!
;; note that you could also re-arrange the pin assignments if required (e.g. if you don't like a certain button function)
DIN_ENTRY CS_MENU_BUTTON_M_Vol, 0, 0 ; matrix: button below M_Filter
DIN_ENTRY CS_MENU_BUTTON_Play, 1, 3 ; direct access to play function
DIN_ENTRY CS_MENU_BUTTON_SID_LR, 0, 0 ; direct access to L/R toggling
DIN_ENTRY CS_MENU_BUTTON_M_Mode, 0, 0 ; direct access to meter on/off function
DIN_ENTRY CS_MENU_BUTTON_Fil_ExtIn, 0, 0 ; direct access to Filter ExtIn Flag
DIN_ENTRY CS_MENU_BUTTON_Sync, 0, 0 ; jumps to ENS->CLK menu
DIN_ENTRY CS_MENU_BUTTON_Arp, 1, 1 ; enables/disables the arpeggiator of *all* oscillators
DIN_ENTRY CS_MENU_BUTTON_Knob, 1, 2 ; changes to knob menu
;; sammichSID buttons (SR#, Pin#) are F1=1,3 F2=1,2 F3=1,1
;; don't remove this "end-of-table" entry!
DIN_ENTRY_EOT
Changed it for you and recompiled .
Regards,
Janis