Subversion Repositories svn.mios

Rev

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

Rev 1034 Rev 1102
Line 1... Line 1...
1
; $Id: sid_se_l.inc 1034 2012-03-31 21:11:37Z tk $
1
; $Id: sid_se_l.inc 1102 2012-12-30 20:39:10Z tk $
2
;
2
;
3
; MIDIbox SID
3
; MIDIbox SID
4
; Lead Engine
4
; Lead Engine
5
;  
5
;  
6
; ==========================================================================
6
; ==========================================================================
Line 1271... Line 1271...
1271
	BRA_IFCLR PLUSW0, SID_I_ENV_MODE_CLKSYNC, ACCESS, SIDSE_L_ENV_NoClkSync
1271
	BRA_IFCLR PLUSW0, SID_I_ENV_MODE_CLKSYNC, ACCESS, SIDSE_L_ENV_NoClkSync
1272
SIDSE_L_ENV_ClkSync
1272
SIDSE_L_ENV_ClkSync
1273
	BRA_IFCLR SID_SE_STATE, SID_SE_STATE_GLOBAL_CLK_EVENT, BANKED, SIDSE_L_ENV_ClkSync_Skp
1273
	BRA_IFCLR SID_SE_STATE, SID_SE_STATE_GLOBAL_CLK_EVENT, BANKED, SIDSE_L_ENV_ClkSync_Skp
1274
	movf	SID_SE_GLOBAL_CLK_CTR, W, BANKED
1274
	movf	SID_SE_GLOBAL_CLK_CTR, W, BANKED
1275
	andlw	0x0f
1275
	andlw	0x0f
-
 
1276
	bz	SIDSE_L_ENV_ClkSync_Cont
-
 
1277
	xorlw	0x06
1276
	bz	SIDSE_L_ENV_ClkSync_Cont
1278
	bz	SIDSE_L_ENV_ClkSync_Cont	
1277
SIDSE_L_ENV_ClkSync_Skp
1279
SIDSE_L_ENV_ClkSync_Skp
1278
	;; transfer current ENV counter into MIOS_PARAMETER[12]
1280
	;; transfer current ENV counter into MIOS_PARAMETER[12]
1279
	movff	POSTINC1, MIOS_PARAMETER1
1281
	movff	POSTINC1, MIOS_PARAMETER1
1280
	movff	POSTDEC1, MIOS_PARAMETER2
1282
	movff	POSTDEC1, MIOS_PARAMETER2