Subversion Repositories svn.mios

Rev

Rev 843 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 843 Rev 934
Line 1... Line 1...
1
; $Id: sid_midi.inc 843 2009-10-28 20:05:03Z tk $
1
; $Id: sid_midi.inc 934 2010-11-01 19:50:06Z tk $
2
;
2
;
3
; MIDIbox SID
3
; MIDIbox SID
4
; MIDI Interface part
4
; MIDI Interface part
5
;
5
;
6
; Activate this #define to measure the performance with a scope
6
; Activate this #define to measure the performance with a scope
Line 195... Line 195...
195
	;; transfer EEPROM/BankStick content into patch buffer and re-init patch
195
	;; transfer EEPROM/BankStick content into patch buffer and re-init patch
196
	call	SID_PATCH_LoadPatchBuffer
196
	call	SID_PATCH_LoadPatchBuffer
197
	goto	USER_DISPLAY_Init
197
	goto	USER_DISPLAY_Init
198
198
199
SID_MIDI_CC_No00
199
SID_MIDI_CC_No00
-
 
200
-
 
201
	;; this switch enables the CC#32 filter for programs which send this CC always
-
 
202
	;; together with CC#0 on bank changes
-
 
203
#if DEFAULT_CC32_FILTER
-
 
204
	movlw	0x20
-
 
205
	xorwf	SID_MIDI_PARAMETER1, W, BANKED
-
 
206
	skpnz
-
 
207
	return
-
 
208
#endif
200
209
201
	;; NRPN address/LSB?
210
	;; NRPN address/LSB?
202
	;; always stored independent from channel for more consistent usage
211
	;; always stored independent from channel for more consistent usage
203
	;; (e.g. for Multi Engine, where up to 6 instruments could be assigned
212
	;; (e.g. for Multi Engine, where up to 6 instruments could be assigned
204
	;; to different MIDI channels)
213
	;; to different MIDI channels)