Commit Graph

20 Commits

Author SHA1 Message Date
Rob McMullen
986a9f33b6 Handle zero page wraparound in ($xx,X)
* fixes line #1100: CFF4  C9 5D     CMP
2017-12-18 11:58:03 -08:00
Rob McMullen
44dfdfaca5 Handle JMP ($xxFF) bug 2017-12-18 11:27:17 -08:00
Rob McMullen
145de40872 Fixed PLP to always clear B flag
* line #103: C826  D0 09     BNE
2017-12-18 10:37:23 -08:00
Rob McMullen
3471e9aa3a Fixed PHP to only modify B flag in byte written, status reg itself is unchanged
* line #71: C7E8  68        PLA
* see http://visual6502.org/wiki/index.php?title=6502_BRK_and_B_bit
2017-12-18 10:11:25 -08:00
Rob McMullen
4bfc5655b6 Removed DECIMAL message to allow comparisons to NES log 2017-12-18 09:52:50 -08:00
Rob McMullen
1e52aaa154 Added -c flag to run for specified number of cycles and exit 2017-12-18 09:52:11 -08:00
Rob McMullen
c5e9cf084e Added command line args to set initial machine state
* changed debug print to match a validation run found on nesdev.com
2017-12-18 09:15:02 -08:00
DavidBuchanan314
b9d74c2a85 Fixed backspace, mostly 2017-02-08 15:37:31 +00:00
DavidBuchanan314
622a2dda85 Add framework for cycle counting 2017-01-08 16:28:32 +00:00
DavidBuchanan314
16dc57ba2b use scientific notation for big decimals 2017-01-08 16:28:13 +00:00
DavidBuchanan314
4d9a788f7f Make status bits bools 2017-01-07 21:25:34 +00:00
DavidBuchanan314
851ac5fe1e Make status structs unsigned 2017-01-07 21:12:27 +00:00
DavidBuchanan314
eb70f8a7c7 Added -Wpedantic 2017-01-03 22:02:00 +00:00
DavidBuchanan314
04e228bfef Fixed memory wrapping in address-mode decoders 2017-01-03 21:51:21 +00:00
DavidBuchanan314
09f394cc45 Adjust wording 2017-01-03 21:30:18 +00:00
DavidBuchanan314
10eeb1a503 Add TODO section 2017-01-03 21:07:58 +00:00
DavidBuchanan314
1da995b11a Made variable names slightly more consistent 2017-01-03 20:19:58 +00:00
DavidBuchanan314
12f80f409c Improve/simplify Makefile. main.c also renamed. 2017-01-03 20:01:18 +00:00
DavidBuchanan314
378169d56b Initial commit 2017-01-03 19:39:48 +00:00
David Buchanan
d085b5699c Initial commit 2017-01-03 19:29:36 +00:00