Annotation of generator/extra/DEBUGGING, revision 1.1

1.1     ! root        1: Debugging
        !             2: -=-=-=-=-
        !             3: 
        !             4: Nobody will want to do this, but I thought I'd write a text file describing
        !             5: it anyway :)
        !             6: 
        !             7: This has no use unless you're building the tcl/tk version.
        !             8: 
        !             9: There are quite a few debugging options - but to get them, you need
        !            10: to edit the source, specifically:
        !            11: 
        !            12: gen68k.c:  int DEBUG_BRANCH = 0;
        !            13: gen68k.c:  int DEBUG_SR = 0;
        !            14: gen68k.c:  int DEBUG_RTE = 0;
        !            15: 
        !            16: and
        !            17: 
        !            18: vdp.c:#undef DEBUG_VDP
        !            19: vdp.c:#undef DEBUG_VDPDMA
        !            20: vdp.c:#undef DEBUG_VDPDATA
        !            21: 
        !            22: and
        !            23: 
        !            24: mem68k.c:#undef DEBUG_BUS
        !            25: mem68k.c:#undef DEBUG_SRAM
        !            26: mem68k.c:#undef DEBUG_RAM
        !            27: mem68k.c:#undef DEBUG_UNIMPL
        !            28: 
        !            29: and
        !            30: 
        !            31: generator.c:unsigned int gen_debugmode = 0;
        !            32: 
        !            33: Note that the last one is passed along to the gen.tcl script, and hence
        !            34: all the user interface debugging facilities are enabled.  gen68k.c is the
        !            35: generating C source, so editing the DEBUG options means it'll have to
        !            36: create new C source files and recompile them... <yawn>.  The DEBUG_xxx flags
        !            37: just print stuff to stdout, so they're not too interesting.
        !            38: 
        !            39: If you're doing any debug at all, you'll want to enable DEBUG_UNIMPL, I
        !            40: added it just before releasing this source because I felt that I should try
        !            41: and print out nothing whilst attempting to run a game - most of the warnings
        !            42: are rather important if a game uses an unimplemented memory access!
        !            43: 
        !            44: -=- James Ponder -=- [email protected] -=- http://www.squish.net/ -=-

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.