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 18 run (void) { | Line 18 run (void) { |
18 | void | void |
19 | reset (void) { | reset (void) { |
20 | debugf(("M6502::reset called")); | debugf(("M6502::reset called")); |
21 | if ( ! R ) { | |
22 | debugf(("allocating space for R")); | |
23 | R = malloc(sizeof(M6502)); | |
24 | if (!R) { | |
25 | printf("can't alloc %d bytes for M6502", sizeof(M6502)); | |
26 | exit(1); | |
27 | } | |
28 | } | |
29 | Reset6502(R); | Reset6502(R); |
30 | dump_R; | dump_R; |
31 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |