Re: [cc65] Debugging with VICE

From: Christopher Pow <christopher.s.pow1gmail.com>
Date: 2012-03-16 03:02:01
Ok I'm not getting emails back from the list when I post, so hopefully
this comes through.  I'm trying to follow the rules.  =]

> I've seen that already and I would really love something similar for the
> platforms I use most (which are Commodore machines). If it is possible to
> adapt part of Nesicide for VICE, that would be great. Or maybe it's easier to
> add the necessary I/O chip emulation to Nesicide, I don't know. Anyway, I
> would immediately switch emulators if I get one that supports debugging for
> the Commodores (and runs under Linux).

Well certainly the UI of NESICIDE could be adapted to be an IDE for
any emulated platform, and will run on any host platform that Qt
builds for [Linux, OSX, Windows, ...].  As I mentioned in a prior
reply the emulator is a .dll/.so with a fairly clean-cut API so really
all that would need to be done would be to replace the NES-emulation
core with a C=64-emulation core and adapt the necessary APIs to the
new core.

I've written a wrapper-layer around the CC65 dbginfo APIs for NESICIDE
that kind of helps 'wade through' the dbginfo data to retrieve what is
necessary to support things like being able to figure out machine
addresses from source file name and line number [for supporting
setting breakpoints] and to do the reverse [for tracing execution
while stepping].  At the moment that wrapper-layer uses Qt internals
such as QString and QStringList so it wouldn't be directly exportable
as a DLL to be used by Vice to get what it needs to get--but it
probably wouldn't take too long to rework it to use standard library
stuff instead of Qt stuff.

> Does Nesicide support the current version? How about support for types? I
> haven't got any feedback since the last bigger change. Especially the support
> for types is experimental, and I would be glad to know how it works.

I just downloaded the snapshot and the dbinfo.c/.h are no different
than the one I'd been using since February.  I took a look and, no, I
have not yet added support for types [that'll come in handy for the
symbol watch window].  I haven't even added support yet for csym's.  I
should do that!
----------------------------------------------------------------------
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 03:02:10 2012

This archive was generated by hypermail 2.1.8 : 2012-03-16 03:02:13 CET