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

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

revision 90 by dpavlin, Thu Aug 2 12:23:18 2007 UTC revision 92 by dpavlin, Thu Aug 2 12:49:19 2007 UTC
# Line 56  Setup read and write memory hooks (to im Line 56  Setup read and write memory hooks (to im
56    
57  our $_rw_hooks = {  our $_rw_hooks = {
58          read => sub {          read => sub {
59                    warn sprintf("# callback read(%04x) not implemented", @_) if $debug;
60                  return $mem[$_[0]];                  return $mem[$_[0]];
61          },          },
62          write => sub {          write => sub {
63                    warn sprintf("# callback write(%04x,%02x) not implemented", @_) if $debug;
64                  $mem[$_[0]] = $_[1];                  $mem[$_[0]] = $_[1];
65          },          },
66  };  };

Legend:
Removed from v.90  
changed lines
  Added in v.92

  ViewVC Help
Powered by ViewVC 1.1.26