M
MysticLord
Guest
What assemblers and disassemblers exist for Linux?
I think that binutils has what I need, but I'm unsure how to use them.
I think that binutils has what I need, but I'm unsure how to use them.
You need special emulator with debugger built-in like no$psx or ePSXe debug edition.Also I'm curious, but how would one attach a debugger/memory viewer to an emulator?
There are three functions listed in the bit of code listed above - cdrom: setloc, read byte, and write byte. Are they built into the PS1, or are they implemented via other assembly instructions?How do you find these LBA tables? Well you need to run pSX with logging enabled and you need to log all CDROM IO. now just play the game as normal and save the log. Any time you see a line in the log such as
[015b009c] cdrom: setloc 00000000:00000002:00000005
it will be closely followed by lines such as these
[015b00a4] cdrom: read byte 07801800 = 09 (800584dc)
[015b00a4] cdrom: write byte 07801800 = 01 (800584ec)
Those address in the brackets
(800584dc)
(800584ec)
Are a part of the function "setloc". mark the entry point of that function in your disassembly.
From what I understand, emulator memory can be accessed using something like Cheat Engine or a hex editor that can view and edit processes. How could I view memory on an emulator without a debugger?You need special emulator with debugger built-in like no$psx or ePSXe debug edition.