Page 1 of 1
psxsdk Caetla/Catflap issue
Posted: August 20th, 2017, 12:25 am
by danhans42
Hi All,
Does anyone use psxsdk with catflap/caetla?
Every EXE I send to my PSX that is built using psxsdk comes up with the following error
Obviously some of the psxsdk examples have data files on the CD, so I didnt bother trying those. I read the notes in the readme and made sure I had a CD in the drive, still no bacon.
Any ideas?
Re: psxsdk Caetla/Catflap issue
Posted: August 20th, 2017, 3:20 am
by Administrator
Looks like the stack was setup correctly, and it then tried to load something into V1 but after execution of a particular function it's done something wrong. No idea why the PC register is 0xFFFFFFFF. That's odd. It looks like something wasn't loaded correctly into an address it was expecting to pull data from.
Re: psxsdk Caetla/Catflap issue
Posted: August 27th, 2017, 7:36 am
by nocash
What's that RA=80020070h from? Is that something in your uploaded EXE code (or is it an address from the caetla rom)? If it's from the EXE, disassemble the code at 80020070h and up, and the function being called at 8002006xh, either there it must have crashed. Or if it's from the ROM, try to disassemble the same code in there (eg. if loading the ROM works well enough in no$psx to copy code to 800200xxh).
Or, make sure that the EXE file size is a multiple of 800h. And compare the 800h-byte EXE header entries with other non-psxsdk EXE files (especially the entrypoint, stack pointer values, zerofill area, and the ASCII ID).