Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: machine code monitor #151

Open
lagomorph opened this issue Jun 15, 2020 · 5 comments
Open

Feature request: machine code monitor #151

lagomorph opened this issue Jun 15, 2020 · 5 comments

Comments

@lagomorph
Copy link

A built in monitor (even if extremely basic) that could simply examine an address and change its value would be an extremely useful enhancement. While various monitors exist in cartridge and software form, they alter the system and are not always functional in all situations.

@Zibri
Copy link
Contributor

Zibri commented Apr 20, 2023

I agree. Pressing the freeze button with no cartridge loaded should go straight into a Monitor.
The one of retroreplay would suffice.

@ghost
Copy link

ghost commented Apr 29, 2023

Even memory poke functionality would be a nice addition. It probably is not too difficult to implement.

@ghost
Copy link

ghost commented Apr 30, 2023

A memory dump display and accompanying hex input would be a good start and far easier to implement.

@GideonZ
Copy link
Owner

GideonZ commented Apr 30, 2023 via email

@chrisgleissner
Copy link

chrisgleissner commented Jul 8, 2023

@GideonZ I am currently experimenting and checking how we could expose a hex monitor for the C64 RAM which allows users to modify the RAM on the fly. This could lend itself to small machine code monitor, possibly a disassembler.

I found some poke functionality in the context-sensitive menu of the U64 (u64config.cc) which you tied to a feature flag, but disabled in prod. I enabled and extended it, and it seems exactly what we need as a starting point. I can peek values of the C64 RAM (C64 running, Ultimate UI in overlay) and poke them, and both sides (C64 and Ultimate UI) see the correct values.

Was there any reason why you decided to not expose the Poke functionality in prod, and should this feature also work for non-Ultimate-64 devices?

I added my changes to the Draft PR #358 for further discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants