Acme-6502
view release on metacpan or search on metacpan
lib/Acme/6502.pm view on Meta::CPAN
=item C<read_16( $addr )>
Read a sixteen bit (low, high) word at the specified address.
=item C<read_32( $addr )>
Read a 32 bit word at the specified address.
=item C<read_chunk( $start, $end )>
Read a chunk of data from C<$start> to C<$end> - 1 into a string.
=item C<read_str( $addr )>
Read a carriage return terminated (0x0D) string from the
specified address.
=item C<run( $count [, $callback ] )>
Execute the specified number of instructions and return. Optionally a
callback may be provided in which case it will be called before each
lib/Acme/6502.pm view on Meta::CPAN
=item C<write_16( $addr, $value )>
Write a sixteen bit (low, high) value at the specified address.
=item C<write_32( $addr, $value )>
Write a 32 bit value at the specified address.
=item C<write_chunk( $addr, $string )>
Write a chunk of data to memory.
=back
=head1 DIAGNOSTICS
=over
=item C<< Bad instruction at %s (%s) >>
The emulator hit an illegal 6502 instruction.
( run in 0.345 second using v1.01-cache-2.11-cpan-8d75d55dd25 )