Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > VICE remote monitor memdump refresh
2015-04-29 12:34
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
2015-04-29 12:45
chatGPZ

Registered: Dec 2001
Posts: 11100
when you break into the monitor you are at the start of the frame.
2015-04-29 12:55
Conjuror

Registered: Aug 2004
Posts: 168
So by making the connection I'm at the start of the frame?
2015-04-29 13:00
chatGPZ

Registered: Dec 2001
Posts: 11100
i think so, yes
2015-04-29 13:05
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.
2015-04-29 13:12
chatGPZ

Registered: Dec 2001
Posts: 11100
you could, for example, step 312*63 cycles (in PAL)
2015-04-29 13:16
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.
2015-04-29 13:24
chatGPZ

Registered: Dec 2001
Posts: 11100
that program does really ugly hacks and reads directly from VICEs memory - you cant do that using remote monitor, i guess.
2015-04-29 13:28
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
2015-04-29 19:19
Endurion

Registered: Mar 2007
Posts: 72
Did you get the binary mem dump to work?

Or only the text version of it?
2015-04-29 20:53
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.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
niallquinn
Dymo/G★P
hedning/G★P
Didi/Laxity
iceout/Avatar/HF
Brittle/Dentifrice^(?)
moraff/Panic/Gorbat ..
kbs/Pht/Lxt
E$G/hOKUtO fOrcE
Guests online: 145
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Stinsen  (9.6)
4 Mutetus  (9.6)
5 Linus  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.062 sec.