gxsubmod.s
1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*---------------------------------------------------------------------*
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 ========*/