Frode wrote:
> http://sourceforge.net/projects/z88dk/

> C cross-compiler to Z80. SAM Support included. No IDE and no debugger,

> but I guess SimCoupe could be used as a debugger?

The problem is that without an IDE, then a debugger is pretty useless.
You need something which will allow you to track the current position of
code and refer it back to a particular section of source, and
automatically take you to that source.

It's the kind of thing that only a tight level of integration between
the tools (the assembler, the editor and the simulator) can really
bring.

What I want is to be able to set a break condition within the IDE, click
"debug" and have the system automatically upload the code to SimCoupe,
along with those break conditions (be they PC=nn, HL=nn, int0, NMI,
(NN)=NN or whatever) and when that occurs SimCoupe automatically stops
execution, passes the program counter back to the IDE and the IDE takes
me to the code, and lets me check the values of registers from within
the code, by (eg) hovering over the register (or memory pointers) in the
source, as well as modifying registers and the stack.

There'd also need to be a certain amount of cleverness to handle
self-modifying code - perhaps the listing could show a disassembly of
the current state next to the original (if it had changed)?

I'd also want an include file with all the memory mappings, port
addresses etc defined.

Now if you can get all that, I'll consider writing a Sam game :)

Geoff


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

Reply via email to