Play-/Source/Ps2Const.h
Unknown W. Brackets fadcd63886 Add vu1's micromem to the memory map.
It may not be working yet, but vu1's mem is there after all.
2015-04-20 07:56:41 -07:00

73 lines
824 B
C++

#ifndef _PS2CONST_H_
#define _PS2CONST_H_
namespace PS2
{
enum
{
EE_RAM_SIZE = 0x02000000
};
enum
{
EE_CLOCK_FREQ = 0x11940000
};
enum
{
EE_BIOS_SIZE = 0x00400000,
};
enum
{
EE_SPR_SIZE = 0x00004000,
};
enum
{
IOP_RAM_SIZE = 0x00200000
};
enum
{
IOP_SCRATCH_SIZE = 0x00000400
};
enum
{
IOP_CLOCK_BASE_FREQ = (44100 * 256 * 3),
IOP_CLOCK_OVER_FREQ = (48000 * 256 * 3)
};
enum
{
VUMEM0ADDR = 0x11004000,
VUMEM0SIZE = 0x00001000,
};
enum
{
MICROMEM0ADDR = 0x11000000,
MICROMEM0SIZE = 0x00001000,
};
enum
{
VUMEM1ADDR = 0x1100C000,
VUMEM1SIZE = 0x00004000,
};
enum
{
MICROMEM1ADDR = 0x11008000,
MICROMEM1SIZE = 0x00004000,
};
enum
{
SPU_RAM_SIZE = 0x00200000,
};
}
#endif