Viitor_cc65/usr/share/doc/cc65/webdoc/debugging-2.html
kueller 223cc6685e Neue Version V963
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_cc65@5933 504e572c-2e33-0410-9681-be2bf7408885
2011-01-03 10:48:06 +00:00

53 lines
1.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.20">
<TITLE>Using VICE with cc65: What is VICE?</TITLE>
<LINK HREF="debugging-3.html" REL=next>
<LINK HREF="debugging-1.html" REL=previous>
<LINK HREF="debugging.html#toc2" REL=contents>
</HEAD>
<BODY>
<A HREF="debugging-3.html">Next</A>
<A HREF="debugging-1.html">Previous</A>
<A HREF="debugging.html#toc2">Contents</A>
<HR>
<H2><A NAME="s2">2.</A> <A HREF="debugging.html#toc2">What is VICE?</A></H2>
<P>VICE is an emulator for many of the CBM machines. It runs on Unix, DOS and
Windows 95. It emulates the Commodore 64, 128, VIC20, PET and the 600/700
machines. For more information see the VICE home page:</P>
<P>
<A HREF="http://www.cs.cmu.edu/~dsladic/vice/vice.html">http://www.cs.cmu.edu/~dsladic/vice/vice.html</A></P>
<P>VICE has a builtin machine language monitor that may be used for debugging
your programs. Using an emulator for debugging has some advantages:</P>
<P>
<UL>
<LI>Since you're using a crossassembler/-compiler anyway, you don't need to
transfer the program to the real machine until it is done.
</LI>
<LI>An emulator allows many things that are almost impossible one of the
original machines. You may set watchpoints (detect read or write access to
arbitary addresses), debug interrupt handlers and even debug routines that run
inside the 1541 floppy.
</LI>
<LI>You may use the label file generated by the linker to make much more use
from the monitor.
</LI>
</UL>
</P>
<P>Please note that you need at least VICE version 0.16 for the label file
feature to work. This version has still some problems (see
<A HREF="debugging-5.html#problems">Problems and workarounds</A>), but older versions had even more problems
and do <EM>not</EM> work correctly.</P>
<HR>
<A HREF="debugging-3.html">Next</A>
<A HREF="debugging-1.html">Previous</A>
<A HREF="debugging.html#toc2">Contents</A>
</BODY>
</HTML>