mirror of https://github.com/PCSX2/pcsx2.git
25 lines
728 B
C++
25 lines
728 B
C++
|
|
#pragma once
|
|
|
|
namespace Ps2MemSize
|
|
{
|
|
static const uint Base = 0x02000000; // 32 MB main memory!
|
|
static const uint Rom = 0x00400000; // 4 MB main rom
|
|
static const uint Rom1 = 0x00040000; // DVD player
|
|
static const uint Rom2 = 0x00080000; // Chinese rom extension (?)
|
|
static const uint ERom = 0x001C0000; // DVD player extensions (?)
|
|
static const uint Hardware = 0x00010000;
|
|
static const uint Scratch = 0x00004000;
|
|
|
|
static const uint IopRam = 0x00200000; // 2MB main ram on the IOP.
|
|
static const uint IopHardware = 0x00010000;
|
|
|
|
static const uint GSregs = 0x00002000; // 8k for the GS registers and stuff.
|
|
}
|
|
|
|
typedef u8 mem8_t;
|
|
typedef u16 mem16_t;
|
|
typedef u32 mem32_t;
|
|
typedef u64 mem64_t;
|
|
typedef u64 mem128_t;
|