/[VRac]/M6502/config.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /M6502/config.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 81 by dpavlin, Wed Aug 1 15:53:54 2007 UTC revision 82 by dpavlin, Wed Aug 1 21:40:17 2007 UTC
# Line 10  EXTERN_C void xs_init (pTHX); Line 10  EXTERN_C void xs_init (pTHX);
10  // do we wont to dump registars?  // do we wont to dump registars?
11  #define DUMP_R 1  #define DUMP_R 1
12    
13    #if DEBUGF
14    #define debugf(x)  do {         \
15            PerlIO_stdoutf("#> ");  \
16            PerlIO_stdoutf x ;      \
17            PerlIO_stdoutf("\n");   \
18    } while (0)
19    #else
20    #define debugf(x)
21    #endif
22    
23    #if 1
24    #define dump_R printf("# PC: %04x A:%02x P:%02x X:%02x Y:%02x S:%02x\n", R->PC.W, R->A, R->P, R->X, R->Y, R->S );
25    #else
26    #define dump_R
27    #endif
28    

Legend:
Removed from v.81  
changed lines
  Added in v.82

  ViewVC Help
Powered by ViewVC 1.1.26