hi thorsten,
cool that this is possible.
as always i don´t know what to do exactly…
i just pasted the original code here:
CS_MENU_BUTTON_InsOP1
movlw 1 << 0
rgoto CS_MENU_BUTTON_InsOP_Cont
CS_MENU_BUTTON_InsOP2
movlw 1 << 1
rgoto CS_MENU_BUTTON_InsOP_Cont
CS_MENU_BUTTON_InsOP3
movlw 1 << 2
rgoto CS_MENU_BUTTON_InsOP_Cont
CS_MENU_BUTTON_InsOP4
movlw 1 << 3
;; rgoto CS_MENU_BUTTON_InsOP_Cont
CS_MENU_BUTTON_InsOP_Cont
movwf TMP1
;; pointer to _FLAGS register which should be modified in FSR0
lfsr FSR0, CS_MENU_SELECTED_INS_FLAGS
btfsc CS_MENU_MODE, CS_MENU_MODE_INS_OP
lfsr FSR0, CS_MENU_SELECTED_OP_FLAGS
and now i would put in four extra Op_buttons like this:
CS_MENU_BUTTON_OP1 for example.
but how to set the CS_MENU_MODE_INS_OP flag there? like this?
CS_MENU_BUTTON_OP1
lfsr FSR0, CS_MENU_SELECTED_OP_FLAGS
rgoto CS_MENU_MODE_INS_OP
and how can i clear the flag within the instrument button functions? like this?
lfsr FSR0, CS_MENU_SELECTED_INS_FLAGS
btfsc CS_MENU_MODE, CS_MENU_MODE_INS_OP
when i do that i get following error:
MIDIBO_FM_V1_0 MODIFIED\MACROS.H 161 : Argument out of range (-6901 not between -1024 and 1023)
MIDIBO_FM_V1_0 MODIFIED\MACROS.H 161 : Argument out of range (-6904 not between -1024 and 1023)
MIDIBO_FM_V1_0 MODIFIED\MACROS.H 161 : Argument out of range (-6907 not between -1024 and 1023)
thanks
chriss