gxsubmod.s 1.53 KB
/*---------------------------------------------------------------------*
	Copyright (C) 1997, Nintendo.
	
	File		gxsubmod.s
	Coded    by	Yoshitaka Yasumoto.	Oct 29, 1997.
	
	$Id: gxsubmod.s,v 1.1.1.1 2002/05/02 03:29:11 blythe Exp $
 *---------------------------------------------------------------------*/

#ifndef	OVERLAY
        #---------------------------------------------------------------------
	#  サブモジュールのコード領域
        #---------------------------------------------------------------------
			.align	8
CODE_TOP_SUBMOD:	.symbol	CODE_TOFS_SUBMOD, @codecount
# if		defined(UCODE_F3DEX2)||defined(UCODE_F3DEX2_NoN)
#  include	"F3DEX2/gxsubmod_ex.s"
# elif		defined(UCODE_F3DEX2_Rej)
#  include	"F3DEX2.Rej/gxsubmod_exrej.s"
# elif		defined(UCODE_F3DLX2_Rej)
#  include	"F3DLX2.Rej/gxsubmod_lxrej.s"
# elif		defined(UCODE_L3DEX2)
#  include	"L3DEX2/gxsubmod_ln.s"
# endif
	
        #---------------------------------------------------------------------
	#	PADDING
        #---------------------------------------------------------------------
CODE_TOP_FREE_MAIN:	.bound	4
			.space	0x1fac
CODE_BTM_FREE_MAIN:	.symbol	CODE_BOFS_SUBMOD, (@codecount+7)&~7

#else		/* OVERLAY */
# if		defined(UCODE_F3DEX2)||defined(UCODE_F3DEX2_NoN)
#  include	"F3DEX2/gxsubmod_ex.s"
# elif		defined(UCODE_F3DEX2_Rej)
#  include	"F3DEX2.Rej/gxsubmod_exrej.s"
# elif		defined(UCODE_F3DLX2_Rej)
#  include	"F3DLX2.Rej/gxsubmod_lxrej.s"
# elif		defined(UCODE_L3DEX2)
#  include	"L3DEX2/gxsubmod_ln.s"
# endif
#endif		/* OVERLAY */
				
/*======== End of gxsubmod.s ========*/