1
0
mirror of https://github.com/jborza/emu6502.git synced 2024-11-25 03:34:40 +00:00
Commit Graph

113 Commits

Author SHA1 Message Date
Juraj Borza
d726027da8 makefile added a test target 2020-04-16 08:20:46 +02:00
jborza
477ebabeeb more stripping for nestest so it can be directly compared to the output of the 'nestest' target binary 2019-05-07 21:45:09 +02:00
jborza
3ecf732beb fixed page wraparound for indirect y addressing + wraparound test for LDA_INDY 2019-05-07 21:44:37 +02:00
jborza
1b2074d493 swapped opcodes for ROR abs and abs_x 2019-05-07 21:43:13 +02:00
jborza
4823b81978 fixed swapped opcodes for ROR abs and ROR abs,X 2019-05-07 21:36:17 +02:00
jborza
d1a4c35f9a added a 'nestest' vc++ solution for executing the nestest 2019-05-07 21:10:28 +02:00
jborza
c4b2b70d96 refactored the read_word function to allow for wrap 2019-05-07 21:04:04 +02:00
jborza
94aea533a9 wraparound handling if crossing a page boundary at reading a word 2019-05-07 20:24:16 +02:00
jborza
d0e5449ae1 added a test for a wraparound at indirect X addressing 2019-05-07 20:24:02 +02:00
jborza
6dec18dada fixed ROR + added ROR tests 2019-05-07 15:39:43 +02:00
jborza
dc88cf14e6 fixed a bug setting the carry flag in ASL 2019-05-07 14:09:38 +02:00
jborza
4186df1468 RTI implementation fix - applying the status register 2019-05-04 16:03:54 +02:00
jborza
80b1af1a30 disassembler outputting branch target address 2019-05-04 15:24:58 +02:00
jborza
5dee89df61 test framework assert_pc message typo fix 2019-05-04 14:54:49 +02:00
jborza
dfdca60d85 test framework header update 2019-05-04 14:54:31 +02:00
jborza
295f73e874 split test framework code into test_framework.c+h, leaving test6502 just for tests 2019-05-04 14:19:33 +02:00
jborza
836a076d1c fixed PHP flag handling + test 2019-05-04 14:11:39 +02:00
jborza
8754aaef9f fixed flag handling (to none) in TXS 2019-05-01 23:30:46 +02:00
jborza
9c361533d0 fixed Z flag handling in AND, ORA, EOR 2019-05-01 23:15:43 +02:00
jborza
de70338f49 attempted to fix flag handling of PLP 2019-05-01 22:59:15 +02:00
jborza
5ae9274ab9 correct way to clear the B flag in PLP 2019-05-01 22:15:03 +02:00
jborza
adb70b62c3 fixed status register handling in PLP (bit 4 now not read) 2019-05-01 21:10:12 +02:00
jborza
9f0a6bc40b added a test vc++ project 2019-05-01 20:30:35 +02:00
jborza
a2f4d4ef72 better handling of nestest 2019-05-01 07:21:36 +02:00
jborza
2b52c43605 attempt to run nestest 2019-04-29 06:37:56 +02:00
jborza
be5bd3aa27 added nestest 2019-04-29 06:37:20 +02:00
jborza
3541eaaf41 fixed debugger frame 2019-04-28 20:23:53 +02:00
jborza
1b9604c260 snake gif 2019-04-27 21:57:35 +02:00
jborza
cece1dedc1 rewrote print_mem to use Windows Console API to paint memory buffer in one call 2019-04-27 21:39:29 +02:00
jborza
bc929a4d14 added hex files for the sample binaries 2019-04-27 21:14:23 +02:00
jborza
676c62c171 test binaries for the graphic emulator 2019-04-27 21:13:15 +02:00
jborza
ea7c3bf731 small debugger updates 2019-04-27 21:12:07 +02:00
jborza
00d5b22846 Windows 6502 debugger / frontend similar to easy6502 2019-04-27 20:49:07 +02:00
jborza
6be44b3136 disassembler outputs current line in hex 2019-04-27 19:22:21 +02:00
jborza
6df5c3f7e6 fixed RTS 2019-04-27 19:22:06 +02:00
jborza
ddac9a14d0 memory function name refactoring (pop->fetch) 2019-04-27 13:57:47 +02:00
jborza
682cde7f7d added flags test to PLA 2019-04-27 13:18:36 +02:00
jborza
8b841b3227 refactored PHP, PLP, PLA 2019-04-27 13:18:28 +02:00
jborza
4ad8a47739 implemented the remaining branching instructions 2019-04-27 13:02:04 +02:00
jborza
b4e260d3d4 fixed branching tests 2019-04-27 12:54:40 +02:00
jborza
ec702335fa added test for rest of branch instructions 2019-04-27 12:53:39 +02:00
jborza
2ddcf62212 fixed zero flag handling in LDA, LDX, LDY
added BEQ+test
split memory function to a separate module
2019-04-27 12:43:15 +02:00
jborza
7b0a3a0de9 makefile fix 2019-04-27 12:19:50 +02:00
jborza
afc5bbe232 added a makefile 2019-04-27 12:18:24 +02:00
jborza
a1259fa544 fixed the carry flag in SBC 2019-04-26 12:14:25 +02:00
jborza
0d932b7f61 improved SBC tests (still failing) and compared the expected results with another emulator 2019-04-26 11:53:10 +02:00
jborza
bce63b3ae2 removed accidental file 2019-04-26 11:28:49 +02:00
jborza
6b6fcd677b longer test for JSR and RTS 2019-04-26 11:28:20 +02:00
jborza
eb1134b0da changed initial stack pointer to 0xff in tests
fixed pop_word_from_stack
2019-04-26 11:24:49 +02:00
jborza
047efec29c BRK test 2019-04-26 11:24:18 +02:00