diff --git a/desmume/src/ARM9.h b/desmume/src/ARM9.h new file mode 100644 index 000000000..c3e33b836 --- /dev/null +++ b/desmume/src/ARM9.h @@ -0,0 +1,29 @@ +#ifndef ARM9_H +#define ARM9_H + +#include "../types.h" + +typedef struct { + //ARM9 mem + u8 ARM9_ITCM[0x8000]; + u8 ARM9_DTCM[0x4000]; + u8 ARM9_WRAM[0x1000000]; + u8 MAIN_MEM[0x400000]; + u8 ARM9_REG[0x1000000]; + u8 ARM9_BIOS[0x8000]; + u8 ARM9_VMEM[0x800]; + u8 ARM9_ABG[0x80000]; + u8 ARM9_BBG[0x20000]; + u8 ARM9_AOBJ[0x40000]; + u8 ARM9_BOBJ[0x20000]; + u8 ARM9_LCD[0xA4000]; + u8 ARM9_OAM[0x800]; + + u8 * ExtPal[2][4]; + u8 * ObjExtPal[2][2]; + u8 * texPalSlot[4]; +} ARM9_struct; + +extern ARM9_struct ARM9Mem; + +#endif