Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05518 Debugger Minor Always Apr 10, 2014, 23:01 Apr 16, 2014, 23:23
Tester rimsky82 View Status Public Platform MESS (Self-compiled)
Assigned To Resolution Open OS Windows Vista/7/8 (64-bit)
Status [?] Acknowledged Driver
Version 0.153 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary MESS-specific 05518: jaguar n64: When attempting a cheat init from the debugger, it reports "No writable bytes found in this area"
Description maincpu region-

Possibly affecting other systems, but without knowing too much about the internals of MESS I would assume this is a per-system issue.
Steps To Reproduce Start a jaguar game with the -debug parameter, type "ci" in the debugger console.
Additional Information Can't search RAM for values, making it hard to find cheat values, or values for watchpoints.
Github Commit
Flags
Regression Version
Affected Sets / Systems jaguar n64
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
3
User avatar
No.10574
Pugsy
Developer
Apr 15, 2014, 20:59
edited on: Apr 15, 2014, 21:04
I've encountered it a few times over the years and I've worked around it by bypassing the memory sanity check - which is obviously the wrong thing to do (which is why I've never submitted it). Each system should ideally be fixed for cheat searching individually, but it's such a minor issue that I can't see anybody being that bothered about it.

This is a global fiddle that does allow you to search, though you will likely need to enter the search areas manually eg CI UB 0,FFFFFF instead of CI.

in debugcmd.c

Change the INLINE int cheat_address_is_valid function to always RETURN TRUE :-

INLINE int cheat_address_is_valid(address_space &space, offs_t address)
{
return TRUE; //bypass the validity check
}

I think that's the only line and file that I needed to change ( I might be wrong ) but cheat searching in jaguar has worked for me some time (hence the jaguar cheat collection).
User avatar
No.10578
rimsky82
Tester
Apr 16, 2014, 21:56
Thanks Pugsy. That should do well until a more proper fix is submitted.

Not many seem to be as excited as me when it comes to the capabilities, and more-so the potential of the debugger.
User avatar
No.10579
Pugsy
Developer
Apr 16, 2014, 23:23
edited on: Apr 16, 2014, 23:23
No problem.

Yes, over a decade of using MAME/MESS debugger has ruined me for other emulators/cheat engines. Why drive a Trabant when there's a Bugatti Veyron in the garage. Unfortunately the emulation of some systems in MESS means the roads you want to drive the Veyron on are either dead ends or pot-holed to buggery ;)