Commit Graph

132 Commits

Author SHA1 Message Date
82fafad9cc Fix RST instruction 2021-10-20 12:29:55 -05:00
a4659dc147 Testing more roms 2021-10-19 22:36:10 -05:00
0a1f075734 Fix ADC and SBC instructions 2021-10-19 21:55:35 -05:00
39ea049fda Fix many signed ADD 2021-10-19 20:10:17 -05:00
fade566d12 Overflow bug 2021-10-19 14:34:23 -05:00
3b81d34d71 More bugs on add instructions 2021-10-19 14:33:11 -05:00
8b287c17c7 Fix ADD carry 2021-10-19 13:59:53 -05:00
6b1d50ba76 Prevent panic on adding or sub with overflow on CPU 2021-10-19 13:17:14 -05:00
f928207a8d 0xF8 instruction 2021-10-19 11:04:52 -05:00
76684cd523 Update readme 2021-10-19 10:46:40 -05:00
520dbaeb17 Update project name 2021-10-19 10:44:12 -05:00
5d710c3504 Update readme 2021-10-19 10:42:47 -05:00
b6b7e7bf73 Last interrupt instructions 2021-10-19 10:41:18 -05:00
ff9fd48190 SCF instruction 2021-10-19 10:33:43 -05:00
08513ae110 CCF Instruction 2021-10-19 10:30:36 -05:00
ad5211d057 CPL Instruction 2021-10-19 10:24:54 -05:00
7bdbfebd0e Trim some lines 2021-10-19 10:12:17 -05:00
9013c09437 SET instruction 2021-10-19 10:06:22 -05:00
e4586db39a RES instruction 2021-10-19 10:02:43 -05:00
edc8429aa2 BIT instruction 2021-10-19 09:53:50 -05:00
a64d15c9ce SWAP instruction 2021-10-19 09:40:42 -05:00
d1029c1dc7 Uncommenting some asserts 2021-10-19 09:26:49 -05:00
3f46ab4a54 Fix DAA instruction 2021-10-19 09:22:23 -05:00
f1a035d5ac WIP DAA instruction 2021-10-18 23:24:04 -05:00
b964992f8a Implement more JP instructions 2021-10-18 18:46:17 -05:00
eeeba76ebd ADD instruction bug 2021-10-18 18:18:57 -05:00
ac91f8f50d Fix INC and DEC 2021-10-18 17:27:46 -05:00
199470cc70 RET instructions 2021-10-18 16:54:25 -05:00
581e1c19d6 Bug on RET instruction 2021-10-18 13:18:15 -05:00
aded5fe534 ADC and SBC instructions (no tests) 2021-10-18 13:15:26 -05:00
2b633c9ee0 RL and RR instructions bug 2021-10-18 12:45:16 -05:00
ca4a6c9f6a Bug RLA and RRA 2021-10-18 12:31:25 -05:00
59acdd555e Fix SRL instruction 2021-10-18 12:03:24 -05:00
9b08306c96 Temporally omitting tests for SLA and SRA 2021-10-18 10:57:06 -05:00
d093aa483d One more test with bus 2021-10-18 10:33:59 -05:00
aad827f05f RR instruction 2021-10-18 10:25:45 -05:00
8d1a0f6f2f RL instruction 2021-10-18 10:13:23 -05:00
9adf41ee47 16bit substraction is not really needed 2021-10-18 08:44:22 -05:00
7c804029ad Some refactors 2021-10-18 08:28:19 -05:00
f148ee5ba6 Prefix CB RRC instruction 2021-10-17 21:45:55 -05:00
ec34a71fcf Mapping CB prefix instructions 2021-10-17 20:42:36 -05:00
3897c3561e add and sub instructions 2021-10-17 19:14:41 -05:00
a8f00f46fd more CALL instructions 2021-10-17 13:12:04 -05:00
31e0b2c79c Little refactor call instruction 2021-10-17 12:48:18 -05:00
ebadad803b Bug on LD instruction 2021-10-17 12:29:02 -05:00
e1d29d9530 Emulate Echo RAM 2021-10-17 12:02:33 -05:00
b3ba7b309e CP instruction 2021-10-17 10:55:16 -05:00
b098d28f0e AND, OR and XOR instructions 2021-10-16 22:38:13 -05:00
12b43ee985 Fix PUSH instruction 2021-10-16 20:50:31 -05:00
989971af8b Implement push and refactor pop 2021-10-16 19:41:07 -05:00