Created
July 23, 2016 16:37
-
-
Save freem/d23b974948a24b17959a45ccc5d6caf2 to your computer and use it in GitHub Desktop.
Output of my Lua 6502 simulator (2016/07/23 11:37 WIP version)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
freem@freemtop ~/freemdev/lua6502sim $ lua sim.lua test.bin c000 | |
lua6502sim, hacked together by freem | |
Loading contents of test.bin at 0xC000 | |
$C000: 78 sei A:00 X:00 Y:00 P:24 SP:00 | |
$C001: D8 cld A:00 X:00 Y:00 P:24 SP:00 | |
$C002: A2 FF ldx #$FF A:00 X:FF Y:00 P:A4 SP:00 | |
$C004: 9A txs A:00 X:FF Y:00 P:A4 SP:FF | |
$C005: 8A txa A:FF X:FF Y:00 P:A4 SP:FF | |
$C006: 29 64 and #$64 A:64 X:FF Y:00 P:A4 SP:FF | |
$C008: 48 pha A:64 X:FF Y:00 P:A4 SP:FE | |
$C009: 4C 09 C0 jmp $C009 A:64 X:FF Y:00 P:A4 SP:FE | |
$C009: 4C 09 C0 jmp $C009 A:64 X:FF Y:00 P:A4 SP:FE | |
$C009: 4C 09 C0 jmp $C009 A:64 X:FF Y:00 P:A4 SP:FE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment