155 Commits

Author SHA1 Message Date
31aa639a3c NOP 2022-11-27 09:10:36 -05:00
253201c6c5 LSR instruction 2022-11-27 09:08:44 -05:00
9980ce2c9f INC, INX and INY instructions 2022-11-26 22:23:20 -05:00
53cb8b1d9e EOR 2022-11-26 22:15:51 -05:00
fdb324686a alu XOR 2022-11-26 22:02:08 -05:00
82f8676a39 DEC, DEX and DEY instructions 2022-11-26 21:51:51 -05:00
b1b80e0c48 Small refactor for CMP instructions 2022-11-26 19:45:28 -05:00
df6424a6c4 CPX and CPY instructions 2022-11-26 19:19:27 -05:00
c37a4c3ba1 cmp instruction 2022-11-26 18:44:39 -05:00
912099cf8d unimplemented brk instruction 2022-11-25 21:56:46 -05:00
e13b93d9e3 Branch instructions 2022-11-25 21:52:57 -05:00
ab6c526892 CLC, CLD, CLI and CLV instructions 2022-11-24 23:23:18 -05:00
0ea8fdca2c BIT instruction 2022-11-24 23:10:02 -05:00
e9f3cd24c7 Refactor affected flags on alu function 2022-11-23 23:05:00 -05:00
fbee6fa8e9 set_flags function 2022-11-23 21:57:41 -05:00
fa230e4a52 Refactor BCD operations 2022-11-23 21:07:57 -05:00
d0e02cd9cd set overflow flag for adc and sbc 2022-11-21 21:51:13 -05:00
cc9968dd93 Small refactor to cycles module 2022-11-21 19:06:26 -05:00
89a81917e0 Refactur alu tests 2022-11-21 18:53:58 -05:00
686069dd03 Refactor asl 2022-11-21 18:45:09 -05:00
7a17cb4038 Refactor and 2022-11-21 18:34:05 -05:00
992112229e refactor sbc_bin 2022-11-21 18:26:55 -05:00
6706daa872 Refactor adc_bin 2022-11-21 18:18:24 -05:00
20747f5fad ASL instruction 2022-11-20 23:19:39 -05:00
f78883257a AND instructions 2022-11-20 20:55:23 -05:00
49bb3a04cc Refactor increment cycles function 2022-11-20 19:54:36 -05:00
d00581011f condition for adding cycle to indexed addressing modes 2022-11-20 17:38:47 -05:00
9fc1fd66d0 update readme 2022-11-20 17:09:10 -05:00
794cbef477 Base byte and cycles calculation based on addressing mode 2022-11-20 17:07:21 -05:00
6178e223ba Merge branch 'main' of github.com:FranLMSP/snes 2022-11-20 12:19:27 -05:00
50ce162ea6 set_low_a function 2022-11-20 12:18:25 -05:00
4ddc3b3aa7 SBC opcodes 2022-11-20 12:11:36 -05:00
f8a6872b8c Fix BCD substraction 2022-11-20 11:32:02 -05:00
8a1e04d32a Create LICENSE 2022-11-09 22:08:52 -05:00
d90017111c WIP DEC functions 2022-11-09 21:06:09 -05:00
c12d721da2 update readme 2022-10-13 12:23:43 -05:00
391e29c365 Fix bcd additions 2022-10-13 12:15:22 -05:00
e1f9542cca Refactor opcode execution and adc instruction 2022-10-13 00:37:03 -05:00
6acf97c7bd Small refactor for match statement 2022-10-12 07:42:32 -05:00
f6f2ebb8a8 Get value from address mode 2022-10-11 21:58:06 -05:00
94da58de32 Update readme 2022-10-10 22:17:07 -05:00
3dc25cf551 Address addressing modes 2022-10-10 22:13:26 -05:00
c8a44116b8 readme draft 2022-10-10 22:13:12 -05:00
761303a237 BCD addition for 8 and 16 bits 2022-10-04 21:47:52 -05:00
54c0f6d738 Unit tests for adc8bcd 2022-09-25 18:30:53 -05:00
a136136766 alu 8 and 16 bit bin add 2022-07-12 21:17:45 -05:00
66f9b5e62e Refactor CPU module 2022-07-06 21:00:17 -05:00
40ab4a8ec4 adc direct page indirect and indirect long 2022-07-06 20:21:21 -05:00
8460192ab3 adc direct page 2022-06-29 22:36:47 -05:00
96bf18df47 adc addr and adc long 2022-06-29 21:49:05 -05:00