Commit Graph
67 Commits
Author SHA1 Message Date
FranLMSP 46b494eeec Last push instructions 2022-11-29 21:34:23 -05:00
FranLMSP 6b1dd9a583 PHB 2022-11-27 21:33:57 -05:00
FranLMSP 54b7428267 PHA 2022-11-27 21:29:18 -05:00
FranLMSP fe88058d97 PER 2022-11-27 21:22:44 -05:00
FranLMSP 3ae26ba569 PEI unit test 2022-11-27 21:05:20 -05:00
FranLMSP 3785fd5001 PEA and PEI instructions 2022-11-27 15:45:55 -05:00
FranLMSP 074ae9772e A bit of opcode ordering 2022-11-27 15:31:01 -05:00
FranLMSP 10c482b328 Load index instructions 2022-11-27 15:26:24 -05:00
FranLMSP d21d00dc18 LDA 2022-11-27 15:06:26 -05:00
FranLMSP f6a793c4ae JSR instructions 2022-11-27 14:47:50 -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 31aa639a3c NOP 2022-11-27 09:10:36 -05:00
FranLMSP 253201c6c5 LSR instruction 2022-11-27 09:08:44 -05:00
FranLMSP 9980ce2c9f INC, INX and INY instructions 2022-11-26 22:23:20 -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 b1b80e0c48 Small refactor for CMP instructions 2022-11-26 19:45:28 -05:00
FranLMSP df6424a6c4 CPX and CPY instructions 2022-11-26 19:19:27 -05:00
FranLMSP c37a4c3ba1 cmp instruction 2022-11-26 18:44:39 -05:00
FranLMSP 912099cf8d unimplemented brk instruction 2022-11-25 21:56:46 -05:00
FranLMSP e13b93d9e3 Branch instructions 2022-11-25 21:52:57 -05:00
FranLMSP ab6c526892 CLC, CLD, CLI and CLV instructions 2022-11-24 23:23:18 -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 fbee6fa8e9 set_flags function 2022-11-23 21:57:41 -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 cc9968dd93 Small refactor to cycles module 2022-11-21 19:06:26 -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 49bb3a04cc Refactor increment cycles function 2022-11-20 19:54:36 -05:00
FranLMSP d00581011f condition for adding cycle to indexed addressing modes 2022-11-20 17:38:47 -05:00
FranLMSP 9fc1fd66d0 update readme 2022-11-20 17:09:10 -05:00
FranLMSP 794cbef477 Base byte and cycles calculation based on addressing mode 2022-11-20 17:07:21 -05:00
FranLMSP 6178e223ba Merge branch 'main' of github.com:FranLMSP/snes 2022-11-20 12:19:27 -05:00
FranLMSP 50ce162ea6 set_low_a function 2022-11-20 12:18:25 -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 8a1e04d32a Create LICENSE 2022-11-09 22:08:52 -05:00
FranLMSP d90017111c WIP DEC functions 2022-11-09 21:06:09 -05:00
FranLMSP c12d721da2 update readme 2022-10-13 12:23:43 -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 94da58de32 Update readme 2022-10-10 22:17:07 -05:00
FranLMSP 3dc25cf551 Address addressing modes 2022-10-10 22:13:26 -05:00
FranLMSP c8a44116b8 readme draft 2022-10-10 22:13:12 -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
FranLMSP 66f9b5e62e Refactor CPU module 2022-07-06 21:00:17 -05:00
FranLMSP 40ab4a8ec4 adc direct page indirect and indirect long 2022-07-06 20:21:21 -05:00
FranLMSP 8460192ab3 adc direct page 2022-06-29 22:36:47 -05:00
FranLMSP 96bf18df47 adc addr and adc long 2022-06-29 21:49:05 -05:00
FranLMSP 52d63a7ae7 index register select flag 2022-06-29 19:33:25 -05:00
FranLMSP f22328b678 read_immediate function 2022-06-29 19:21:31 -05:00
FranLMSP 4c61fe9906 WIP Bus implementation 2022-06-27 22:23:34 -05:00
FranLMSP c7a38ecc95 ADC function 2022-06-26 20:23:26 -05:00
FranLMSP 4f802b33e2 First commit: flag registers and imgui example code (stolen from gh) 2022-06-26 17:49:35 -05:00