Parent Directory | Revision Log | 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 | }; | }; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |