//-----------------------------------------------------------------------------
// MAPPING INTOR
//-----------------------------------------------------------------------------
	;init_fx
	DB	T_FX_INI

	; start music after first effect init
	DB	2		;COMM_ASM
	CALL	MUSIC_ON
	;---
	DI
	LD	BC,1664-104	; call im2 subroutine with play music while counter <= this value
WAITMUSLP	
	CALL	IM2EXEC
	LD	HL,(MUSPOS)
	AND	A
	SBC	HL,BC
	JP	NZ,WAITMUSLP
	;---
	LD	IY,$+5
	RET

	DB	T_FX_NOP
	DW	1664-1		; pause while fx-local frame counter <= this value

	;run_fx
	DB	T_FX_RUN
	DW	#FFFF		; fx run while fx-local frame counter <= this value