Skip to content

Machine Memory pane "flash" when switching to it #1066

@nww02

Description

@nww02

Hi There,
When I'm debugging, I frequently need to check the running state of RAM to view memory locations. In the absence of a "Watch" list for memory locations (variable), I have to switch to the Machine Memory tab to quickly check the value of a byte, and then switch back to the running program.

When I switch to the Machine Memory tab, it initially shows Bottom of RAM, and then turns black, then redraws moments later showing the last observed memory location. Sometimes the location it returns to isn't quite where I was at, but usually it is. This makes it distracting to flip back and forth between the panes.

Is it possible to remove this "flash" of black, and the return to $0000 before going back to (say) $8000?

If it is not impolite to ask for features which might be alternatives if this fix is not possible... It could make the debug experience easier if the Machine Memory could be a separate floating window (or a different panel to the code) so I could see them side-by-side without needing to ask it to redraw the window each time.

Or, alternatively, if that isn't possible, then if a particular byte of RAM was given a LABEL: in code, that it appeared in a Watch List underneath the REGS. CALL STACK, ULA & I/O etc.0 If the watch list could have a column of "number of bytes to watch" too, that would help with 16bit counters. For example:

Code:
VAR_i:
.db $00,$00
VAR_j:
.db $00,$00
VAR_str:
.dm "Hello World"

Watch list:

VAR_i | 2 bytes | 22 0E
VAR_j | 2 bytes | 24 01
VAR_str| 11 bytes | 48 65 6c 6c 6f 20 ....

If the above isn't possible, then a fallback may be to be able to right-click on a LABEL, and have a Context-Menu "Go To Memory", which switches to the Machine Memory panel, and sets the address to that of the label.

Any of these would help when I'm trying to figure out why my binary search / sprite copy routines seem to be resulting in garbage :)

Thanks again for this amazing project. I hope that this bug report and possible suggestions are helpful!

I am running the new v0.49.4 on Linux Mint, OS version #33~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC

Have a wonderful day.

Nick

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions