Parent Directory | Revision Log | Patch
revision 30 by dpavlin, Mon Jul 30 17:56:13 2007 UTC | revision 31 by dpavlin, Mon Jul 30 18:07:29 2007 UTC | |
---|---|---|
# | Line 80 sub poke_code { | Line 80 sub poke_code { |
80 | $mem[$addr++] = $_ foreach @_; | $mem[$addr++] = $_ foreach @_; |
81 | } | } |
82 | ||
83 | =head2 write_chunk | |
84 | ||
85 | $emu->write_chunk( $address, $chunk_of_data ); | |
86 | ||
87 | =cut | |
88 | ||
89 | sub write_chunk { | |
90 | my ($self, $addr, $chunk) = @_; | |
91 | my $len = length($chunk); | |
92 | splice @mem, $addr, $len, unpack('C*', $chunk); | |
93 | } | |
94 | ||
95 | =head2 ram | =head2 ram |
96 | ||
97 | Read searies of bytes from memory without passing through MMU | Read searies of bytes from memory without passing through MMU |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |