Subversion Repositories svn.mios

Rev

Rev 296 | Rev 368 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 296 Rev 360
Line 1... Line 1...
1
; $Id: cs_menu_buttons.inc 296 2008-04-25 22:22:20Z tk $
1
; $Id: cs_menu_buttons.inc 360 2008-06-21 20:03:46Z tk $
2
;
2
;
3
; SID Control Surface Button Handler
3
; SID Control Surface Button Handler
4
;
4
;
5
; ==========================================================================
5
; ==========================================================================
6
;
6
;
Line 790... Line 790...
790
	return
790
	return
791
	;; exit with message if SID player mode enabled and SID1 selected
791
	;; exit with message if SID player mode enabled and SID1 selected
792
	BRA_IFSET SID_STAT, SID_STAT_SIDPLAYER_CS_DISABLE, ACCESS, CS_MENU_BUTTON_SP_IgnoreMsg
792
	BRA_IFSET SID_STAT, SID_STAT_SIDPLAYER_CS_DISABLE, ACCESS, CS_MENU_BUTTON_SP_IgnoreMsg
793
	;; else increment Filter setting
793
	;; else increment Filter setting
794
	movff	SID_EDIT_BUFFER + SID_Ix_ENGINE, WREG
794
	movff	SID_EDIT_BUFFER + SID_Ix_ENGINE, WREG
795
	andlw	0x03		; different cursor pos in bassline mode
795
	andlw	0x02		; different cursor pos in drum and multi mode (bit #1 of engine mode set)
796
	xorlw	0x01
796
	xorlw	0x02
797

797

798
	movlw	0x04		; cursor pos != bassline
798
	movlw	0x04		; cursor pos drum and multi
799
	skpnz
799
	skpz
800
	movlw	0x05		; cursor pos bassline mode
800
	movlw	0x05		; cursor pos lead/bassline mode
801
	movwf	MIOS_PARAMETER1
801
	movwf	MIOS_PARAMETER1
802

802

803
	movlw	0x00		; page offset != bassline
803
	movlw	0x00		; page offset drum and multi
804
	skpnz
804
	skpz
805
	movlw	0x01		; page offset bassline mode
805
	movlw	0x01		; page offset lead/bassline mode
806
	movwf	MIOS_PARAMETER2
806
	movwf	MIOS_PARAMETER2
807
	call	CS_MENU_GetMenuID_FIL	; menu page
807
	call	CS_MENU_GetMenuID_FIL	; menu page
808
	goto	CS_MENU_ButtonInc
808
	goto	CS_MENU_ButtonInc
809

809

810
	;; ------------------------------------------------------------------
810
	;; ------------------------------------------------------------------