LTjake's JournalLTjake's use Perl JournalGames::NES::Emulator 0.03- August 13, 2007 Another week, another release. This time I&39;ve totally revamped the code for the instructions. It&39;s been simplified to the point where it actually makes sense at a glance. For example, DEY (decrement the Y register by 1) looked like this: my $self = shift;my $reg = $self->registers; $reg-> y = ( $reg-> y - 1 ) & 0xff;$reg-> status &= CPU::Emulator::6502::CLEAR_SIGN;$reg-> status &= CPU::Emulator::6502::CLEAR_ZERO; $reg-> status =...http://use.perl.org/~LTjake/journal/34096?from=rss Games::NES::Emulator 0.02- August 7, 2007 I released a new version of Games::NES::Emulator. It still doesn&39;t work. :) But, I&39;m getting closer. Ive added a bunch of the 6502 operations. My interpretation of their functionality may be, uh, well, off -- but I&39;ve added some debugging to see what the state of the emulator is after each instruction..------+------+----+----+----+----------+------. PC&160;&160; SP&160;&160; A&160; X&160; Y&160; Status&160;&160; OP&160;&160; +------+------+----+----+----+----------+------+ 8000 ..http://use.perl.org/~LTjake/journal/34017?from=rss |