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

memdump in words #30

Closed
maziac opened this issue Oct 1, 2020 · 12 comments
Closed

memdump in words #30

maziac opened this issue Oct 1, 2020 · 12 comments
Labels
enhancement New feature or request

Comments

@maziac
Copy link
Owner

maziac commented Oct 1, 2020

Hi There i just want to say awesome work on this, I have been using it on the spectrum next, and i was looking to see if the memory dump could be displayed as words rather than just bytes. I can't find the command :(

Many thanks

Patricia
luckyredfish.com

Originally posted by @infromthecold in #25 (comment)

@maziac maziac added the enhancement New feature or request label Oct 1, 2020
@maziac
Copy link
Owner Author

maziac commented Oct 1, 2020

The z80 ist an 8-bit machine, so what is
your use case here.

If you e.g. just want to lookup an array of defw values you can also simply add the label to the WATCH window with selecting the label, right click and "Add to Watch".
E.g.

Bildschirmfoto 2020-10-01 um 19 31 25

@maziac maziac mentioned this issue Oct 1, 2020
@infromthecold
Copy link

infromthecold commented Oct 2, 2020 via email

@maziac
Copy link
Owner Author

maziac commented Oct 2, 2020

I understand that it can be useful to see the dump as words.
But for that use case shouldn't the watch mentioned above be helpful

@infromthecold
Copy link

infromthecold commented Oct 3, 2020 via email

@maziac
Copy link
Owner Author

maziac commented Oct 10, 2020

I renamed command "md" to "mv" and added 2 new commands:
"-md address size [dec|hex] [word] [little|big]": Memory dump at 'address' with 'size' bytes. Output is in 'hex' (default) or 'dec'imal. Per default data will be grouped in bytes. But if chosen, words are output. Last argument is the endianess which is little endian by default.
"-ms address size filename": Saves a memory dump to a file. The file is saved to the temp directory.

Please test if it suits your needs.

You find the release here: https://github.com/maziac/DeZog/releases/tag/v1.4.10

@infromthecold
Copy link

infromthecold commented Oct 11, 2020 via email

@maziac
Copy link
Owner Author

maziac commented Oct 11, 2020

I'm currently thinking of adding an option to all all commands to redirect output to a window.
But: you cannot copy text from a window. I haven't found any way to convince vscode to do so. Could be a vscode bug.

Could you enter a new bug for the other issue.

@maziac
Copy link
Owner Author

maziac commented Oct 11, 2020

Just saw: you can copy with CTRL-C. Only right-mouse is disabled.

@maziac
Copy link
Owner Author

maziac commented Oct 11, 2020

You can forget about entering a bug. I think I have corrected it here:
https://github.com/maziac/DeZog/releases/tag/v1.4.11

Please let me know if it works.

@maziac maziac closed this as completed Oct 11, 2020
@maziac
Copy link
Owner Author

maziac commented Oct 31, 2020

I tried to reach you via email, but maybe the address was wrong...

Have just found your web site and like it very much. A great source of information.

I saw that you have written a feature that includes DeZog as development tool.
(https://luckyredfish.com/coding-for-the-spectrum-next-emulator-cspect/)

In GitHub/DeZog there is a section with links to DeZog tutorials and I would like to add it there if that is OK to you.

@infromthecold
Copy link

infromthecold commented Nov 3, 2020 via email

@maziac
Copy link
Owner Author

maziac commented Nov 4, 2020

Thanks, I will add the link.
And get well soon.

BTW the email address I found on your web site has a problem.
https://luckyredfish.com/doomsday-demo/
This is the error I got:
"A message that you sent could not be delivered to one or more of
its recipients. This is a permanent error.
Reason:
multiple delivery attempts failed"

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

No branches or pull requests

2 participants