progress definining core1 .data & .rodata sections

This commit is contained in:
Banjo Kazooie
2022-11-29 20:12:31 -06:00
parent 8badd5bb3e
commit 644ce813b0
45 changed files with 289 additions and 206 deletions

View File

@@ -5,11 +5,31 @@
#define BAD_DTOR (BAD_PI/180.0)
/* .data*/
extern u16 *D_80276CB8; //! ml_acosPrecValTblPtr
u32 D_80276CB0 = 0xD22FFFD8; //WHAT IS THIS?
u32 D_80276CB4 = 0xDEFEF692; //WHAT IS THIS?
u16 *D_80276CB8 = NULL; //! ml_acosPrecValTblPtr
//! Might not be 90, but 91 or 92? Initial lowerIdx is OOB if 90
extern f32 ml_acosValTbl[90]; //D_80276CBC
f32 ml_acosValTbl[90] = { //D_80276CBC
1.0000000000, 0.9998480080, 0.9993910190, 0.9986299870, 0.9975640180,
0.9961950180, 0.9945219760, 0.9925460220, 0.9902679920, 0.9876880050,
0.9848080280, 0.9816269870, 0.9781479840, 0.9743700030, 0.9702960250,
0.9659259920, 0.9612619880, 0.9563050270, 0.9510570170, 0.9455189700,
0.9396929740, 0.9335799810, 0.9271839860, 0.9205049870, 0.9135450120,
0.9063079950, 0.8987939950, 0.8910070060, 0.8829479810, 0.8746200200,
0.8660249710, 0.8571670060, 0.8480479720, 0.8386710290, 0.8290380240,
0.8191519980, 0.8090170030, 0.7986360190, 0.7880110140, 0.7771459820,
0.7660440210, 0.7547100190, 0.7431449890, 0.7313539980, 0.7193400260,
0.7071070080, 0.6946579810, 0.6819980140, 0.6691309810, 0.6560590270,
0.6427879930, 0.6293200250, 0.6156619790, 0.6018149850, 0.5877850060,
0.5735759740, 0.5591930150, 0.5446389910, 0.5299190280, 0.5150380130,
0.5000000000, 0.4848099950, 0.4694719910, 0.4539909960, 0.4383710030,
0.4226180020, 0.4067370000, 0.3907310070, 0.3746069970, 0.3583680090,
0.3420200050, 0.3255679910, 0.3090170030, 0.2923719880, 0.2756370010,
0.2588190140, 0.2419220060, 0.2249509990, 0.2079119980, 0.1908089970,
0.1736480000, 0.1564340000, 0.1391730010, 0.1218689980, 0.1045280020,
0.0871559978, 0.0697569996, 0.0523359999, 0.0348990001, 0.0174519997
};
// extern
f32 func_8024C788(void);
// .h