PlayStation Architecture

copetti.org

150 points by gregsadetsky 6 hours ago


malkia - an hour ago

There are memory regions that are mapped to the same physical memory - https://psx-spx.consoledev.net/memorymap/

I worked on the Metal Gear Solid port from PSX to PC, and Konami programmers chose a wild trick to store how the "C4" bomb was planted - either on the wall, or on the ground.

Essentially the pointer pointed to the same physical memory address, but if it was planted on the wall (or on the ground, I forgot) - then it was OR-ing it with 80000000h or was A0000000h - or maybe something else - lol was long time ago.

It was fun porting this on PC, and right now I don't even remember what I did exactly - hahaha

MrDOS - 4 hours ago

This is great, but it was originally published in 2019. See the past discussions in 2020: https://news.ycombinator.com/item?id=22932134 (114 comments) and 2021: https://news.ycombinator.com/item?id=27576902 (114 comments also).

Forgeties79 - 4 hours ago

Love Copetti. Even as someone who is not particularly knowledgeable of everything he’s talking about, I I really enjoy thumbing through his writing and diagrams. There’s just something really fun about trying to understand what is going on under the hood with these machines, especially fifth and sixth generation consoles

Scroll_Swe - 3 hours ago

These articles are always excellent.

PS1 games do not hold up so good, but PS2 games uprezzed to 1440p-4k are basically perfect imo.

vortegne - 4 hours ago

Did read this years ago and read it today again. Just so happy that there are people producing such quality work. Even if I personally don't know much about any of it, I still find myself being totally sucked in while reading.

maoliofc - 2 hours ago

[flagged]

helf - 5 hours ago

[dead]