libretro / beetle-psx-libretro

Standalone port/fork of Mednafen PSX to the Libretro API.
GNU General Public License v2.0
311 stars 131 forks source link

Memory Maps #845

Open RPDevJesco opened 2 years ago

RPDevJesco commented 2 years ago

I am working on an application that consumes the data from Retroarch. The issue that I am facing is that the memory map does not seem to reflect the ones as described with the PSX documentation.

"KSEG1", 0xA0000000 , 0xBFFFFFFF "KSEG2", 0xC0000000 , 0xFFFFFFFF "KSEG0", 0x80000000 , 0x9FFFFFFF

I have found that the memory range for "KSEG", 0x00000000 , 0x8FFFFFFF, when accessed will crash Retroarch.

What is the memory map that Beetle actually uses and how is it split in Retroarch? I have tried searching through the code, but I have not been successful in locating this information effectively.