Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
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: 11386
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: 11386
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: 11386
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: 11386
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: 73
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
MWR/Visdom
Airwolf/F4CG
B.A./QUANTUM
Walt/Bonzai
Trap/Bonzai
Case/Padua
Titus/Rabenauge
Paulko64
Alakran_64
grasstust/Hoaxers
Mike
RS-232
iceout/Avatar/HF
St0rmfr0nt/Quantum
Holy Moses/Role
HOL2001/Quantum
Fred/Channel 4
Guests online: 129
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Diskmag Editors
1 Magic  (9.8)
2 hedning  (9.6)
3 Jazzcat  (9.5)
4 Elwix  (9.1)
5 Remix  (9.1)

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