devinacker / bsnes-plus

debug-oriented fork of bsnes
http://bsnes.revenant1.net
327 stars 94 forks source link

Symbols not appearing on the disassembly window #318

Open rulojuka opened 2 years ago

rulojuka commented 2 years ago

I remember my symbols appearing written down, like , as this screenshot taken from http://bsnes.revenant1.net/img/debug-cpu.png shows:

But they are not showing up. This is my screenshot: Screenshot 2022-04-24 042828

For instance, it should appear <SNES.MDMAEN> instead of $420b at the 0fa21e line.

Any idea what I did wrong?

P.S.: Sorry for putting this as an issue. I didn't find any other place to ask this question.

rulojuka commented 2 years ago

More info:

symbols

search

devinacker commented 2 years ago

This is just because the disassembly window doesn't currently pay attention to address mirroring when displaying symbols. In the second screenshot, since DB is 0F, sta $420b writes to $0f420b, not $00420b. This can probably be improved pretty easily though.

when I search for something like 420b nothing shows up. It only finds by name. (I don't know if that is the intended way)

The search is just for names, not addresses.

rulojuka commented 2 years ago

Thanks for the clarification!