Commit Graph
41 Commits
Author SHA1 Message Date
FranLMSP 59a3ca286a fix stack relative addressing mode 2024-03-10 19:06:06 -05:00
FranLMSP 48309a0021 Minor fixes with addressing modes and ldy instr 2024-01-29 21:44:47 -05:00
FranLMSP 467ffd791e Fix addressing modes (#6) 2024-01-29 03:12:40 +00:00
FranLMSP b9699e6276 Fix ADC and SBC instructions and add test runner script (#5) 2024-01-28 22:54:00 +00:00
FranLMSP e2446514db clippy fix 2024-01-15 21:50:57 -05:00
FranLMSP 98c2c90c08 Refactor CPU instructions (#2) 2023-12-30 21:34:08 +00:00
FranLMSP e7a40db745 vram writes, reads, auto increments and clear vblank nmi flag when read 2023-07-05 23:13:14 -05:00
FranLMSP ad94af0a61 direct_page_indexed_indirect wrapping add failsafe 2023-05-22 21:33:32 -05:00
FranLMSP 4678647cf0 Small refactor and define rom trait 2022-12-10 15:26:48 -05:00
FranLMSP 891dadc9b6 ROL and ROR instructions 2022-11-30 21:07:41 -05:00
FranLMSP 4d190e9523 REP instruction 2022-11-30 20:55:04 -05:00
FranLMSP d705c2138c JMP instruction 2022-11-27 12:44:02 -05:00
FranLMSP 41111c3158 ORA instruction 2022-11-27 09:28:05 -05:00
FranLMSP 253201c6c5 LSR instruction 2022-11-27 09:08:44 -05:00
FranLMSP 53cb8b1d9e EOR 2022-11-26 22:15:51 -05:00
FranLMSP fdb324686a alu XOR 2022-11-26 22:02:08 -05:00
FranLMSP 82f8676a39 DEC, DEX and DEY instructions 2022-11-26 21:51:51 -05:00
FranLMSP c37a4c3ba1 cmp instruction 2022-11-26 18:44:39 -05:00
FranLMSP 0ea8fdca2c BIT instruction 2022-11-24 23:10:02 -05:00
FranLMSP e9f3cd24c7 Refactor affected flags on alu function 2022-11-23 23:05:00 -05:00
FranLMSP fa230e4a52 Refactor BCD operations 2022-11-23 21:07:57 -05:00
FranLMSP d0e02cd9cd set overflow flag for adc and sbc 2022-11-21 21:51:13 -05:00
FranLMSP 89a81917e0 Refactur alu tests 2022-11-21 18:53:58 -05:00
FranLMSP 686069dd03 Refactor asl 2022-11-21 18:45:09 -05:00
FranLMSP 7a17cb4038 Refactor and 2022-11-21 18:34:05 -05:00
FranLMSP 992112229e refactor sbc_bin 2022-11-21 18:26:55 -05:00
FranLMSP 6706daa872 Refactor adc_bin 2022-11-21 18:18:24 -05:00
FranLMSP 20747f5fad ASL instruction 2022-11-20 23:19:39 -05:00
FranLMSP f78883257a AND instructions 2022-11-20 20:55:23 -05:00
FranLMSP 794cbef477 Base byte and cycles calculation based on addressing mode 2022-11-20 17:07:21 -05:00
FranLMSP 4ddc3b3aa7 SBC opcodes 2022-11-20 12:11:36 -05:00
FranLMSP f8a6872b8c Fix BCD substraction 2022-11-20 11:32:02 -05:00
FranLMSP d90017111c WIP DEC functions 2022-11-09 21:06:09 -05:00
FranLMSP 391e29c365 Fix bcd additions 2022-10-13 12:15:22 -05:00
FranLMSP e1f9542cca Refactor opcode execution and adc instruction 2022-10-13 00:37:03 -05:00
FranLMSP 6acf97c7bd Small refactor for match statement 2022-10-12 07:42:32 -05:00
FranLMSP f6f2ebb8a8 Get value from address mode 2022-10-11 21:58:06 -05:00
FranLMSP 3dc25cf551 Address addressing modes 2022-10-10 22:13:26 -05:00
FranLMSP 761303a237 BCD addition for 8 and 16 bits 2022-10-04 21:47:52 -05:00
FranLMSP 54c0f6d738 Unit tests for adc8bcd 2022-09-25 18:30:53 -05:00
FranLMSP a136136766 alu 8 and 16 bit bin add 2022-07-12 21:17:45 -05:00