Games::NES::Emulator - An object-oriented NES (6502) emulator
use Games::NES::Emulator; my $emu = Games::NES::Emulator->new; $emu->load_rom( 'mario.nes' ); $emu->run;
Don't get too excited -- this code doesn't really do anything yet. Don't complain to me that "Blaster Master" isn't working. It's not ready yet.
Games::Emulator::NES contains a set of modules to emulate a classic NES gaming machine.
I've always been interested in hardware emulation. I grew up playing the NES, so I figured it would be a decent place to start. Over the last year I've written some (non-functioning) code based on some freely available emulators on the web. Hopefully by putting the skeleton of the code online, it will spur me on to continue the development.
As for choosing Perl for the emulation language, Perl is what I'm most comfortable with, and I don't particularly care about speed -- yet. Perhaps some bits can be rewritten in XS, but I'll cross that bridge when i get to it.
Create a new instance of the emulator. Initializes the CPU.
Loads the rom from $filename.
$filename
Begins execution of the code found in the ROM.
Brian Cassidy <bricas@cpan.org>
Copyright 2007 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Games::NES::ROM
Games::NES::Emulator::CPU
Games::NES::Emulator::APU
Games::NES::Emulator::PPU
To install Games::NES::Emulator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::NES::Emulator
CPAN shell
perl -MCPAN -e shell install Games::NES::Emulator
For more information on module installation, please visit the detailed CPAN module installation guide.