From 80ff7320059776acd4e704234e7b4acd6fc53b9f Mon Sep 17 00:00:00 2001 From: The Mystical One Date: Fri, 6 Nov 2026 13:03:37 +0000 Subject: [PATCH 1/2] Add Playstation 2 ram notes to console-specific tips doc https://discord.com/channels/310192285306454017/962817919698501702/1568245575290331308 --- docs/developer-docs/console-specific-tips.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/developer-docs/console-specific-tips.md b/docs/developer-docs/console-specific-tips.md index 59e1bd0c..56a4f513 100644 --- a/docs/developer-docs/console-specific-tips.md +++ b/docs/developer-docs/console-specific-tips.md @@ -206,6 +206,12 @@ B8B0 63 64 72 6F 6D 3A 5C 53 43 55 53 5F 39 34 32 2E 32 38 3B 31 c d r o m : \ S C U S _ 9 4 2 . 2 8 ; 1 ``` +## PlayStation 2 + +PlayStation 2 physical RAM is addressed at `0x00000000-0x01ffffff`, which matches the mapping RA uses. You do not usually need to mask or do any tricks to adapt pointers. Just use them straight with `Add Address`. + +However, the system also has an uncached alias for its physical RAM addressed at `0x20000000–0x21FFFFFF` which mirrors this physical RAM. You may rarely find a game that needs to use such a pointer. When using them, mask them with 0x01ffffff: `Add Address Mem MyPointer & 0x01ffffff`. + ## PlayStation Portable When working with PSP make sure to check if your game has any DLC as this form of content is able to be accessed by players without altered saves or patched versions of the game and will need to be accounted for and in some cases protected against if it provides advantages that you don't want players to exploit. From 7d2215754511906cf62654533d5e7e1811d908bd Mon Sep 17 00:00:00 2001 From: The Mystical One Date: Fri, 6 Nov 2026 08:12:02 -0500 Subject: [PATCH 2/2] Apply feedback --- docs/developer-docs/console-specific-tips.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/developer-docs/console-specific-tips.md b/docs/developer-docs/console-specific-tips.md index 56a4f513..940d413c 100644 --- a/docs/developer-docs/console-specific-tips.md +++ b/docs/developer-docs/console-specific-tips.md @@ -208,9 +208,9 @@ B8B0 63 64 72 6F 6D 3A 5C 53 43 55 53 5F 39 34 32 2E 32 38 3B 31 ## PlayStation 2 -PlayStation 2 physical RAM is addressed at `0x00000000-0x01ffffff`, which matches the mapping RA uses. You do not usually need to mask or do any tricks to adapt pointers. Just use them straight with `Add Address`. +PlayStation 2 physical RAM is addressed at `0x00000000-0x01ffffff`, which matches the mapping RA uses. You do not usually need to mask or do any tricks to adapt pointers. Just use them straight with `Add Address` with `32-bit` size, which works because of the mapping despite technically being a 25-bit addressable space. -However, the system also has an uncached alias for its physical RAM addressed at `0x20000000–0x21FFFFFF` which mirrors this physical RAM. You may rarely find a game that needs to use such a pointer. When using them, mask them with 0x01ffffff: `Add Address Mem MyPointer & 0x01ffffff`. +However, the system also has an uncached alias for its physical RAM addressed at `0x20000000–0x21FFFFFF` which mirrors this physical RAM. You may rarely find a game that needs to use such a pointer. When using them, mask them with 0x01ffffff: `Add Address Mem 32-bit MyPointer & 0x01ffffff`. ## PlayStation Portable