Subversion Repositories svn.mios

Rev

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

Rev 301 Rev 360
Line 1... Line 1...
1
; $Id: cs_menu_ms.inc 301 2008-04-27 13:17:57Z tk $
1
; $Id: cs_menu_ms.inc 360 2008-06-21 20:03:46Z tk $
2
;
2
;
3
; SID Control Surface Master/Slave SID Functions
3
; SID Control Surface Master/Slave SID Functions
4
;
4
;
5
; ==========================================================================
5
; ==========================================================================
6
;
6
;
Line 565... Line 565...
565
	;; reload TX counter
565
	;; reload TX counter
566
	movlw	0x01
566
	movlw	0x01
567
	movwf	INDF1
567
	movwf	INDF1
568
568
569
	;; skip if 'sent' flag set
569
	;; skip if 'sent' flag set
-
 
570
	SET_BSR	CS_MENU_SID_M_PATCH
570
	BRA_IFSET CS_MENU_SID_M_PATCH, 7, ACCESS, CS_MENU_MS_Send_SysExDump_End
571
	BRA_IFSET CS_MENU_SID_M_PATCH, 7, BANKED, CS_MENU_MS_Send_SysExDump_End
571

572
572
	;; store patch/bank number of master in SID_PATCH/SID_BANK
573
	;; store patch/bank number of master in SID_PATCH/SID_BANK
573
	movff	CS_MENU_SID_M_PATCH, SID_PATCH
574
	movff	CS_MENU_SID_M_PATCH, SID_PATCH
574
	movff	CS_MENU_SID_M_BANK, SID_BANK
575
	movff	CS_MENU_SID_M_BANK, SID_BANK
575
576
576
	bsf	CS_MENU_SID_M_PATCH, 7	; set 'sent' flag
577
	bsf	CS_MENU_SID_M_PATCH, 7, BANKED	; set 'sent' flag
577
578
578
	;; transfer EEPROM content into SID patch buffer and init patch
579
	;; transfer EEPROM content into SID patch buffer and init patch
579
	call	SID_PATCH_LoadPatchBuffer
580
	call	SID_PATCH_LoadPatchBuffer
580

581

581
	;; restore CS_MENU_SID
582
	;; restore CS_MENU_SID