Jump to content

changing button behaviour?


bosone
 Share

Recommended Posts

i recently upgraded to seq3.3c and i have a problem in restoring the old customization i did to the buttons.

in particular, i changed the "metronome" button to have direct access to the events page.

this is my "old" code:

seq_buttons.inc

;; --------------------------------------------------------------------------

;;  Enable/Disable Metronome

;; --------------------------------------------------------------------------

SEQ_BUTTON_Metronome

IFSET MIOS_PARAMETER2, 0, return

;; branch to events menu

movlw CS_MENU_PAGE_EVENTS

goto CS_M_HLP_ChangePage

but now, if i compile, i get an error message.

how should i modify it??

thanks!

Link to comment
Share on other sites

Paste the error message...

./src\seq_buttons.inc:679:Error [179] Unknown opcode "IFSET"

from the "unknow opcode" i supposed that there was something completely different in the new seq3.3c code (even because i had to install other programs to compile it, as found in the midibox.org dokuwiki

now i will look at the other thread

EDIT: it seems too complicated for me, i don't know anything about ASM, even if i have some very very very very very basic knowledge about general programming...

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...