lab313ru / ghidra_psx_ldr

Sony Playstation PSX executables loader for GHIDRA
231 stars 31 forks source link

Detect and load Parallel IO port ROMs(Action Replay, GameShark, Caetla, etc) #27

Open asmblur opened 4 years ago

asmblur commented 4 years ago

The Parallel I/O port on the back of the console maps to memory address 0x1F000000. Valid ROMs can be identified with offsets: 0x00000004: "Licensed by Sony Computer Entertainment, Inc." 0x00000084: "Licensed by Sony Computer Entertainment, Inc."

By default, the BIOS creates a memory region of 0x1F000000-0x1F07FFFF for the PIO port but software can easily change the size anywhere between 1 and 0x00800000 bytes. I would suggest and "uninitialized" segment be used and 0x00800000 be the size.

Entry points will be the 32-bit addresses at offset 0x00000000 and 0x00000080. If value is NULL(0x00000000) that entry point wont be used.