Re: [cc65] Debugging with VICE

From: Gábor Lénárt <lgb1lgb.hu>
Date: 2012-03-16 01:20:12
On Thu, Mar 15, 2012 at 10:45:19PM +0100, Ullrich von Bassewitz wrote:
> 
> On Thu, Mar 15, 2012 at 10:13:32PM +0100, Gábor Lénárt wrote:
> > What I wanted to say is something like in mplayer (I was a developer of it):
> > it has got a "slave" mode, and most GUIs for it etc are external stuffs
> > controlling mplayer itself through that "slave mode".
> 
> Do you know of a (Commodore) emulator that has such a slave mode (or is
> embeddable by some other means)? Or, do you think Vice can be stripped down in
> this way?

Dunno, to be honest. What I tried is to use in vicerc:

MonitorServerAddress="ip4://:6510"
MonitorServer=1

Then you can connect to tcp port 6510 to get monitor access. I started to
write some simple program in python which would give you a GUI with
communicating vice via this monitor "channel". Eg, you need to find sprite
data: I use monitor command to dump memory and the hex dump is parsed by my
program. However this method is quite hmmm ugly and as I told, vice seems to
be quite unstable sometimes crashing etc :(

In theory one can make a program to load source and symbol labels while
controlling vice through this "monitor server" port to query system state,
place breakpoints, read/write memory, and even vice's monitor can dump
register values of I/O chips etc.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Mar 16 01:20:30 2012

This archive was generated by hypermail 2.1.8 : 2012-03-16 01:20:33 CET