Subversion Repositories svn.mios

Rev

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

Rev 1083 Rev 1176
Line 1... Line 1...
1
; $Id: seq_core.inc 1083 2012-11-11 10:17:13Z tk $
1
; $Id: seq_core.inc 1176 2014-07-20 18:50:23Z tk $
2
;
2
;
3
; MIDIboxSEQ
3
; MIDIboxSEQ
4
; Sequencer core functions
4
; Sequencer core functions
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 115... Line 115...
115
	;; select section A by default, assume that buttons deselected
115
	;; select section A by default, assume that buttons deselected
116
	movlw	(1 << 0) | 0xf0
116
	movlw	(1 << 0) | 0xf0
117
	movwf	SEQ_SELECTED_ABCD, BANKED
117
	movwf	SEQ_SELECTED_ABCD, BANKED
118
	movwf	SEQ_NEXT_SELECTED_ABCD, BANKED
118
	movwf	SEQ_NEXT_SELECTED_ABCD, BANKED
119
119
120
	;; select gate layer by default, assume that buttons deselected
120
	;; select gate and aux layer by default, assume that buttons deselected
121
	movlw	(1 << 0) | 0xf0
121
	movlw	(3 << 0) | 0xf0
122
	movwf	SEQ_SELECTED_LAYERS, BANKED
122
	movwf	SEQ_SELECTED_LAYERS, BANKED
123
123
124
	;; go into edit mode by default
124
	;; go into edit mode by default
125
	movlw	(1 << SEQ_MODE0_STEP_EDIT)
125
	movlw	(1 << SEQ_MODE0_STEP_EDIT)
126
	movwf	SEQ_MODE0, BANKED
126
	movwf	SEQ_MODE0, BANKED