Annotation of generator/src/.extra/DEBUGGING, revision 1.1

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