Emulator Issues #103
closedTLB needs TLC bad.
0%
Description
I traced the crash in metroid prime when the HUD comes up to a invalided
memory address. I noticed there was some test code there trying to decode
it but TLB needs a lot of help yet :)
Updated by josh.lar.JL over 16 years ago
TLB (or lack of it) is also preventing F-Zero X from booting
Updated by hrydgard over 16 years ago
- Status changed from New to Questionable
The TLB stuff is mostly a red herring and we should probably disable it if the games
don't explicitly ask for it, since what would otherwise be regular crashes often
manifests itself as TLB errors.
Updated by MasterPhW over 16 years ago
Could also be a part of the game.ini...
An TLBDisable=1 or something... just a thought
Updated by tommyhl2.SS over 16 years ago
How is this bug "questionable"? These TLB errors are stopping so many games from
running or getting further in-game. This should be a vital part of fixing the
emulator to get the compatibility up.
Updated by XTra.KrazzY about 16 years ago
- Category set to jit
- Relates to performance set to Yes
- Operating system N/A added
I think it should be JIT'd
Updated by raineyames about 16 years ago
Definitely. Its causing most game-stopping errors i see.
Updated by omegadox about 16 years ago
Not all the TLB messages mean it is a TLB-related error, it can also mean some bug in
the core caused an invalid read.
Updated by tinctorius almost 16 years ago
Issue 448 is probably related. MP1 crashes for me with errors about the TLD
sometimes, but sometimes generates segmentation faults before getting there.
Updated by earthwormjeff almost 16 years ago
I commented the following code in "memmap.cpp" and now I can access to in-game in
mario party 8 and kororinpa, I don't think this will cause problem in other games.
u32 CheckDTLB(u32 _Address, XCheckTLBFlag _Flag)
{
//return 0;
/* if (Core::GetStartupParameter().bWii) {
// TLB is never used on Wii (except linux and stuff, but we don't care about that)
PanicAlert("%s invalid memory region (0x%08x)\n\n"
"There is no way to recover from this error,"
"so Dolphin will now exit. Sorry!",
_Flag == FLAG_WRITE ? "Write to" : "Read from", _Address);
}
else {
PanicAlert("%s invalid memory region (0x%08x)\n\n"
"This is either the game crashing randomly, or a TLB write."
"Several games uses the TLB to map memory. This\n"
"function is not supported in Dolphin. "
"Unfortunately there is no way to recover from this error,"
"so Dolphin will now exit abruptly. Sorry!",
_Flag == FLAG_WRITE ? "Write to" : "Read from", _Address);
}
exit(0);*/
Updated by lpfaint99 almost 16 years ago
@earthwormjeff, that causes lots of issue with other games, although it may "work"
with some games
Updated by earthwormjeff almost 16 years ago
hello lpfaint99,
can you give me an example of a game that will have isues without this part of the
code that would work fine with it ? I would like to try it, to see if I can help...
Updated by Isamu99 almost 16 years ago
Hi guys :)
Any progress on the TLB issue? Earthworm, will your trick allow F-ZeroGX to be
playable? :)
Updated by slink_3_ almost 16 years ago
the TLBHack is what you may be looking for :)
Updated by lpfaint99 almost 16 years ago
earthwormjeff: slink is correct with recent changes you can use the TLBHack to
accomplish the same thing as commenting out those lines
Updated by hrydgard almost 16 years ago
- Status changed from Questionable to Invalid
Updated by swiftsword94 over 15 years ago
in some games -zelda twilight princess- you cant use TLBHack because it somehow
crashes... why not instead of TLBHack just fix the TLB write feature, and add a
button under the game configuration window. that way you can use the feature only
when it is needed
Updated by swiftsword94 over 15 years ago
I dont see anything wrong with making the feature optional... or is it just the fact
that the function cant be added and must be a part of the core?