Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of LTjake (4001)

Monday August 06, 2007
09:20 PM

Games::NES::Emulator 0.02

[ #34017 ]

I released a new version of Games::NES::Emulator. It still doesn't work. :) But, I'm getting closer. Ive added a bunch of the 6502 operations. My interpretation of their functionality may be, uh, well, off -- but I've added some debugging to see what the state of the emulator is after each instruction.

.------+------+----+----+----+----------+------.
| PC   | SP   | A  | X  | Y  | Status   | OP   |
+------+------+----+----+----+----------+------+
| 8000 | ff   | 0  | 0  | 0  | ..-B.... | 78   |
'------+------+----+----+----+----------+------'
.-------. .------+-----------------------------.
| Stack | | Addr | Code                        |
+-------+ +------+-----------------------------+
| 0     | | 8000 | 78                          |
| 0     | | 8001 | d8                          |
| 0     | | 8002 | a9                          |
| 0     | | 8003 | 40                          |
| 0     | | 8004 | 8d                          |
| 0     | | 8005 | 0                           |
| 0     | | 8006 | 20                          |
| 0     | | 8007 | a2                          |
| 0     | | 8008 | ff                          |
| 0     | | 8009 | 9a                          |
'-------' '------+-----------------------------'

Eventually I'll do some disassembling and fix up the "Code" section to reflect the actual op names and params.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.