/[VRac]/M6502/M6502.xs
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/M6502.xs

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

revision 91 by dpavlin, Thu Aug 2 12:37:06 2007 UTC revision 93 by dpavlin, Thu Aug 2 12:53:00 2007 UTC
# Line 179  reset (void) { Line 179  reset (void) {
179  }  }
180    
181  int exec(int cycles) {  int exec(int cycles) {
182            int left;
183          debugf(("exec for %d cycles", cycles));          debugf(("exec for %d cycles", cycles));
184    
185          if (!R) reset();          if (!R) reset();
186    
187          update_C_R();          update_C_R();
188          Exec6502(R, cycles);          left = Exec6502(R, cycles);
189          update_perl_R();          update_perl_R();
190          debugf(("end of %d cycles CPU run\n", cycles));          debugf(("end of %d cycles CPU run\n", cycles));
191            return left;
192  }  }
193    
194  int set_debug(int state) {  int set_debug(int state) {

Legend:
Removed from v.91  
changed lines
  Added in v.93

  ViewVC Help
Powered by ViewVC 1.1.26