BizHawk icon indicating copy to clipboard operation
BizHawk copied to clipboard

Additional scopes for memory read/write callbacks in BSNES

Open Serah64 opened this issue 2 years ago • 2 comments

Hi!

Disrupt developer here, in Bizhawk using the BSNES core, the debugger does not allow me to set the memory domain of a breakpoint I create. I have no idea how to determine what the memory address would be in complete memory.

The address in particular is for Kirby's Dreamland 3 USA. It's 0x39CF within the CARTRAM domain. However, when I go to add a breakpoint to the debugger, I cannot specify that it is in CARTRAM even though the address is being modified internally as well as read from internally during specific in-game events.

Thanks!

Serah64 avatar Apr 05 '22 00:04 Serah64

Breakpoints in the Debugger do not work (except with C64Hawk IIRC). Use memory read/write callbacks.

YoshiRulz avatar Apr 05 '22 08:04 YoshiRulz

You're mistaking breakpoints with stepping (which the latter is locked to a few cores such as C64Hawk and some others, which even then it doesn't work entirely right anyways). Internally breakpoints in the debugger use memory read/write callbacks anyhow. The request here is being able to specify a memory domain for the breakpoint (although nearly every core only has System Bus as a possible scope, except for Gambatte, so in most cases using other domains wouldn't even be possible with a UI change). At the very least BSNES (well, more likely BSNESv115) could have add support for multiple scopes so memory read/write callbacks would actually suffice for their request.

CasualPokePlayer avatar Apr 06 '22 00:04 CasualPokePlayer