view src/xsf/desmume/ARM9.h @ 3085:ac0af6b39272

Introduce new GIO plugin to buildsystem. stdio is now deprecated. Thoughts: - getc()/ungetc() should be moved to VFS core now
author William Pitcock <nenolod@atheme.org>
date Wed, 29 Apr 2009 20:58:36 -0500
parents 70b0973e7b70
children
line wrap: on
line source

#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];

  const u8 *textureSlotAddr[4];

  u8 *blank_memory[0x20000];
} ARM9_struct;

extern ARM9_struct ARM9Mem;

#endif