JaCzekanski / Avocado

🥑 PlayStation 1 emulator
GNU General Public License v2.0
536 stars 31 forks source link

Loading PS-X EXE causes unresolved exception [LFC-002] #94

Open spacepaw opened 3 years ago

spacepaw commented 3 years ago

First of all, I'm very impressed by how good Avocado's emulation is.

I tried various emulators to run homebrew, demos and intros, but Avocado is by far the most accurate for me. Avocado runs most of these files really well, but here is one production that doesn't start though.

Informations

Game: lfc-002 (not a game, but intro) Version: windows64-20201221-2fd5325 Hardware: AMD Ryzen 9 3900X, GeForce RTX 2080, 64GB, Windows 10 BIOS: SCPH1001

Behavior

Loading the PS-X EXE file causes Avocado to output the following exception: ←[31mUnresolved exception←[0m: ←[1m←[37maddressErrorStore←[0m (5), epc=←[34m0x80010aa4←[0m, ra=←[34m0x00001b10 ←[0m←[34m0x80010a8c: ←[0m←[37mlb at, -0x3220(zero)←[0m ←[34m0x80010a90: ←[0m←[37mlb at, -0x3218(zero)←[0m ←[34m0x80010a94: ←[0m←[37mlb at, -0x3210(zero)←[0m ←[34m0x80010a98: ←[0m←[37mlb at, -0x3208(zero)←[0m ←[34m0x80010a9c: ←[0m←[37mnop ←[0m ←[34m0x80010aa0: ←[0m←[37maddiu sp, sp, 0xffe0←[0m ←[34m0x80010aa4: ←[0m←[37msw ra, 0x0018(sp)←[0m←[1m←[37m <---- Caused the exception ←[0m←[31mThis is most likely bug in Avocado, please report it. ←[0m←[1m←[31mEmulation stopped. ←[0mEmulation stopeed, see console for logs

Attachments

You can download the PS-X EXE from the pouet demo scene website: http://www.pouet.net/prod.php?which=34346 You can also find a screenshot and youtube video of the PS-X EXE on that same site.

JaCzekanski commented 3 years ago

@spacepaw Indeed - I'm able to load the .exe on PSX without any issues while it crashes on Avocado. It's a wild guess, but I think it might be a CPU bug on my side.

Thanks for the report, having isolated test cases like this demo program makes my life much easier.

spacepaw commented 3 years ago

having isolated test cases like this demo program makes my life much easier

That's good to know. In this case I can file a few more reports where I found some visual glitches in such demo programs.