Parent Directory | Revision Log | Patch
revision 82 by dpavlin, Wed Aug 1 21:40:17 2007 UTC | revision 83 by dpavlin, Wed Aug 1 21:46:23 2007 UTC | |
---|---|---|
# | Line 7 static PerlInterpreter *my_perl; | Line 7 static PerlInterpreter *my_perl; |
7 | ||
8 | static M6502 *R; | static M6502 *R; |
9 | ||
#if DUMP_R | ||
#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 ); | ||
#else | ||
#define dump_R | ||
#endif | ||
10 | void pull_R(M6502 *R) { | void pull_R(M6502 *R) { |
11 | R->A = SvIV( get_sv("M6502::A", FALSE) ); | R->A = SvIV( get_sv("M6502::A", FALSE) ); |
12 | R->P = SvIV( get_sv("M6502::P", FALSE) ); | R->P = SvIV( get_sv("M6502::P", FALSE) ); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |