| |
Conjuror
Registered: Aug 2004 Posts: 168 |
VICE remote monitor memdump refresh
I'm connecting to the VICE remote monitor via a JAVA socket and I'm successfully issuing the memdump command and retrieving the data.
What I need to know is, when is this command executed? Is it at the beginning of a frame? If not, is there anyway to synchronise with a frame update? and how often can it grab the live memory?
Thanks |
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
when you break into the monitor you are at the start of the frame. |
| |
Conjuror
Registered: Aug 2004 Posts: 168 |
So by making the connection I'm at the start of the frame? |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
i think so, yes |
| |
Conjuror
Registered: Aug 2004 Posts: 168 |
So the next part is how to keep in sync with frame updates once the connection is made and then issue additional calls to memdump at a consistent time as far as VICE is aware not the system doing the calling.
Guess this is something I will have to test as its obviously not well documented. The memdump command 'example' came from the source.
Thanks that's a starting point. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
you could, for example, step 312*63 cycles (in PAL) |
| |
Conjuror
Registered: Aug 2004 Posts: 168 |
I was hoping for something that works in real-time but stepping through would achieve what I want. IE to watch changes to my event queues.
I can't imagine my program would continue to run at normal speed while stepping and memdumping. ICU64 looks like its reading in realtime but I'm not sure. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
that program does really ugly hacks and reads directly from VICEs memory - you cant do that using remote monitor, i guess. |
| |
Conjuror
Registered: Aug 2004 Posts: 168 |
So I've been told and its GUI makes using it hard work. I can get by with the simple version of what I need as once my event queue code is fully tested I wont need it for this particular purpose.
Thanks |
| |
Endurion
Registered: Mar 2007 Posts: 73 |
Did you get the binary mem dump to work?
Or only the text version of it? |
| |
Conjuror
Registered: Aug 2004 Posts: 168 |
The binary one is the one I'm using. But got the text one to issue commands as well. |