1 |
|
2 |
#pragma once |
3 |
|
4 |
namespace Ps2MemSize |
5 |
{ |
6 |
static const uint Base = 0x02000000; // 32 MB main memory! |
7 |
static const uint Rom = 0x00400000; // 4 MB main rom |
8 |
static const uint Rom1 = 0x00040000; // DVD player |
9 |
static const uint Rom2 = 0x00080000; // Chinese rom extension (?) |
10 |
static const uint ERom = 0x001C0000; // DVD player extensions (?) |
11 |
static const uint Hardware = 0x00010000; |
12 |
static const uint Scratch = 0x00004000; |
13 |
|
14 |
static const uint IopRam = 0x00200000; // 2MB main ram on the IOP. |
15 |
static const uint IopHardware = 0x00010000; |
16 |
|
17 |
static const uint GSregs = 0x00002000; // 8k for the GS registers and stuff. |
18 |
} |
19 |
|
20 |
typedef u8 mem8_t; |
21 |
typedef u16 mem16_t; |
22 |
typedef u32 mem32_t; |
23 |
typedef u64 mem64_t; |
24 |
typedef u64 mem128_t; |