1
0
mirror of https://github.com/jborza/emu6502.git synced 2024-11-28 08:49:46 +00:00
Commit Graph

54 Commits

Author SHA1 Message Date
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
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
2b52c43605 attempt to run nestest 2019-04-29 06:37:56 +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
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
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
a1259fa544 fixed the carry flag in SBC 2019-04-26 12:14:25 +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
1e5809e72f Merge branch 'master' of https://github.com/jborza/emu6502 2019-04-26 10:45:06 +02:00
jborza
e40450a740 SBC tests and code fix 2019-04-26 10:44:57 +02:00
jborza
a4bc64ec43 JSR and RTS 2019-04-26 07:22:42 +02:00
jborza
b53eef7d91 fixed ADC tests 2019-04-22 10:17:26 +02:00
jborza
1845eb4692 BIT implementation + tests
ADC, SBC fixes
2019-04-21 15:31:53 +02:00
jborza
f5fd1d21c5 implemented the overflow flag for ADC and SBC 2019-04-21 09:38:38 +02:00
jborza
80d7e2efea ADC implementation (without the overflow flag, as on SBC) 2019-04-21 09:28:07 +02:00
jborza
a11d260f98 implemented ROR 2019-04-20 08:49:28 +02:00
jborza
a4a56ddc9f ROL implementation 2019-04-19 11:55:17 +02:00
jborza
2d86c1df28 LSR implementation 2019-04-19 11:44:20 +02:00
jborza
411d4e8241 implemented SBC, ASL 2019-04-19 11:38:52 +02:00
jborza
1c4e2f45b5 added tests for CPX, CPY 2019-04-19 10:36:14 +02:00
jborza
df2f125588 fixed pop_byte_from_stack, fixed JMP_IND, added tests for CMP 2019-04-19 10:34:07 +02:00
jborza
285bb840af JMP + tests, PHP_PLP tests 2019-04-17 19:46:56 +02:00
jborza
e6a8c7934c PHA, PLA, TXS, TYS, TSX, TSY + tests 2019-04-16 22:46:28 +02:00
jborza
86dd2eaf99 STA (without tests) 2019-04-16 00:09:55 +02:00
jborza
891bb328a4 EOR + tests 2019-04-16 00:03:48 +02:00
jborza
1ebb7da6c3 CLC, SEC, CLD, SEC, CLI, SEI, CLV + tests 2019-04-15 23:44:07 +02:00
jborza
99eee8b5f4 INC, DEC + tests 2019-04-15 23:34:21 +02:00
jborza
c8824992c6 implemented TAX,TXA,TAY,TYA, DEX, DEY, INX, INY 2019-04-14 23:40:53 +02:00
jborza
c034141ee5 STX, STY + tests 2019-04-14 23:05:37 +02:00
jborza
43d3d11f31 LDY instruction + tests 2019-04-14 22:20:32 +02:00
jborza
d0af0057b7 LDX implementation 2019-04-14 22:04:16 +02:00
jborza
4bfeb62112 AND_INDX and AND_INDY implemented 2019-04-14 21:25:23 +02:00
jborza
8dcea919ed AND instructions and tests 2019-04-14 20:45:24 +02:00
jborza
555568c10b added stubs for missing instructions to cpu 2019-04-14 15:15:15 +02:00
jborza
6dfa71c5dc fixed ORA_INDX and ORA_INDY 2019-04-14 15:08:29 +02:00
jborza
da24007a36 code cleanup 2019-04-14 13:24:02 +02:00
jborza
65f7f959f9 introduced test6502 module for tests 2019-04-14 12:39:56 +02:00
jborza
8f218de40d re-enabled tests 2019-04-14 11:55:35 +02:00
jborza
d4bbfaba95 LDA_INDX and LDA_INDY implementation + test 2019-04-14 11:49:24 +02:00
jborza
f47fed9d33 LDA + simple tests 2019-04-14 10:57:25 +02:00
jborza
686ba9b601 ORA indirect 2019-04-14 09:38:09 +02:00