Emulator Issues #670
closedtwi - instruction not implemented
0%
Description
What steps will reproduce the problem?
- What i did was play metroid prime with STC off, to see if STC was the
cause of the issue at issue 636. - For the first time in hundreds of builds, it's stable enough to play as
long as you want with STC off. - When i reach the area where the emulator always hangs, the emulator
started spamming me with twi - instruction not implemented. Holding enter
for some seconds made it go away, and i could keep playing normally.
Eventually the thing popped up again, and i did the enter thing, once
again. The third time it popped up, the emulator slowed down to less than 1
fps, like it always does, and when i resized the screen it crashed again.
What is the expected output? What do you see instead?
Normal gameplay, no slowdowns to less than 1fps out of nowhere, no
shutdowns when resizing.
What version of the product are you using? On what operating system?
r2495
Please provide any additional information below.
Once the slowdown hits, it's impossible to get good fps back, only when
leaving fullscreen the game returns to somewhere around 10fps, and then
slowly starts going to less than 1fps again, that's when if you resize the
window, the emulator hangs.
Updated by prismsub7 over 15 years ago
Updated by federelli over 15 years ago
The errors are different, i just get "twi - instruction not implemented" nothing else.
Updated by Anonymous over 15 years ago
- Status changed from New to Work started
- Issue type set to Feature request
- Priority set to Low
please let us know exactly where it happens, and if it happens in that location
dependably. I think tw/twi is the game trying to save itself (or else it is just
getting ready to die). Just for the sake of completeness we should emulate it though.
I added the code from Dolwin, but need something to test it on...
Updated by Anonymous over 15 years ago
p.s. - currently the instruction is implemented but the exception type isn't handled.
so don't bother testing until that changes :)
Updated by federelli over 15 years ago
Reproducing this is extremely hard, i've been unable to do it since r2728. Whoever it
happens in the room in magmoor cavern where there's a huge grate on the floor, in the
same room you have platforms that lead up to a door. This very same room made the
emulator slow down to a crawl and then hang, but since that was fixed, the twi pop-up
has not appeared.
Updated by XTra.KrazzY over 15 years ago
Maybe it was sync issues that caused the game to call twi.
I would not hurry up and call it fixed though. Still have the exception types to trap.
But what the heck, mark as fixed.
Updated by Anonymous over 15 years ago
- Status changed from Work started to Fixed
trap is the only thing we currently handle for EXCEPTION_PROGRAM. so tw/twi is done,
but not other program exceptions...
Marking as fixed. I've never actually been able to cause a twi in order to test, but
the handling is correct, afaik :)