-
Notifications
You must be signed in to change notification settings - Fork 47
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
Comments
I agree. Pressing the freeze button with no cartridge loaded should go straight into a Monitor. |
Even memory poke functionality would be a nice addition. It probably is not too difficult to implement. |
A memory dump display and accompanying hex input would be a good start and far easier to implement. |
Indeed. For this, the 'viewer' class should start supporting editing.
INterestingly the class is called "Editor", but it never got the edit
functions.
Sub classes could implement special operations for reading and writing, so
it would be relatively easy to edit memory.
It is just a hassle to implement this with just 'move' and 'out' functions.
… Message ID: ***@***.***>
|
@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. |
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.
The text was updated successfully, but these errors were encountered: