togster510 10 Posted July 7, 2020 Quick question: is it possible to view the contents of vram in the debugger? If so, how? Sent from my iPhone using Tapatalk Quote Share this post Link to post Share on other sites
0 StephenHorn 289 Posted July 7, 2020 Not at present, I'm afraid. The debugger's sections are as follows: Disassembly view of memory. CPU status, Banks, program counter, stack pointer, current breakpoint, VERA Address ($9f20-$9f22), Data0 ($9f23), Data1 ($9f24), and Control ($9f25) registers. Stack memory System memory view Debugger command line It probably wouldn't be too bad to add a VRAM display, and maybe I'll get around to it at some point if nobody beats me to it. The emulator's source code is available, and its maintainer is accepting pull requests again. 1 Quote Share this post Link to post Share on other sites
0 togster510 10 Posted July 7, 2020 Thanks for the info. Quote Share this post Link to post Share on other sites
0 SlithyMatt 525 Posted July 7, 2020 Hint, hint, @Michael Steil, that would be a great feature for the next/future version of the emulator. Quote Share this post Link to post Share on other sites
0 Michael Steil 66 Posted July 7, 2020 I don't personally use built-in debugger for my development (I use "-trace" for everything), so it's unlikely I'll get around to adding this myself, but I'd be happy about a pull request! 1 Quote Share this post Link to post Share on other sites
0 ChrisL 29 Posted July 7, 2020 It is possible with the emulator '-log V' command-line flag to log reads/writes to VRAM addresses, so it might be useful to support some add-on filtering of that emulator output so you could narrow things down to specific VRAM addresses (maybe even specific to the layout of what you're putting where in VRAM). A first cut at this might be to pipe emulator output to a separate script (python?) that could do this filtering; ultimately it would be faster for this to be done in the emulator itself. Quote Share this post Link to post Share on other sites
0 Justin Baldock 18 Posted September 30, 2020 You now can with R38. If you use the -debug command when starting the X16 emulator and then press F12 to start it. Then type v %address and it will display the contents of VERAs memory. I think its worth noting I only found this out when looking at code for debugger.c in the repo. 2 Quote Share this post Link to post Share on other sites
0 StephenHorn 289 Posted October 1, 2020 15 hours ago, Justin Baldock said: You now can with R38. If you use the -debug command when starting the X16 emulator and then press F12 to start it. Then type v %address and it will display the contents of VERAs memory. I think its worth noting I only found this out when looking at code for debugger.c in the repo. Yup, thanks for pointing this out! I had completely forgotten about this thread. 1 Quote Share this post Link to post Share on other sites
0 Justin Baldock 18 Posted October 2, 2020 You now can with R38. If you use the -debug command when starting the X16 emulator and then press F12 to start it. Then type v %address and it will display the contents of VERAs memory. I think its worth noting I only found this out when looking at code for debugger.c in the repo. Found this question while trying to figure out tiles / sprites and why I was having issue Quote Share this post Link to post Share on other sites
Quick question: is it possible to view the contents of vram in the debugger? If so, how?
Sent from my iPhone using Tapatalk
Share this post
Link to post
Share on other sites