Commit Graph

98 Commits

Author SHA1 Message Date
d90a25e6f6 Fix LCD status when turned on or off 2021-11-12 19:52:46 -05:00
c68f24ea05 Refactor check_interrupts 2021-11-11 09:24:09 -05:00
0ce0c11488 Optimizations 2021-11-10 20:57:58 -05:00
f7ca3fcc25 PPU optimization 2021-11-06 21:36:16 -05:00
2bd74eddb4 Fix 02-interrupts test 2021-11-05 14:32:37 -05:00
62071d7310 Reduce warnings 2021-11-05 10:08:17 -05:00
5d488d4fa6 Refactor joypad and implement sprite fetching. Tetris is now playable 2021-11-05 00:19:55 -05:00
659f602b2a Interrupts tests passing 2021-11-03 08:36:30 -05:00
806a4bf211 Refactor timer 2021-11-01 22:22:43 -05:00
98be8f29dd EI instruction delay and fix palette bug 2021-11-01 17:03:56 -05:00
aed56708fd Some refactors 2021-11-01 13:04:09 -05:00
b5bb582c54 Tile fetch refactor and window pixel get 2021-10-31 17:03:59 -05:00
5723c3b3b6 Fix interrupts, implement halt mode and fix IME 2021-10-31 07:25:47 -05:00
61db367f31 Timer implement 2021-10-30 09:13:31 -05:00
abbd46ebed Refactor interrupt enum 2021-10-29 18:27:21 -05:00
66731e1c8e Refactor interrupt implementation 2021-10-29 17:03:02 -05:00
c77bc9db70 Experimental interrupts 2021-10-29 15:40:47 -05:00
7f9fdc9935 PPU timings 2021-10-28 19:38:30 -05:00
886fc3cd4a Rendering a basic window with pixels 2021-10-26 17:34:59 -05:00
d655442b9a Prevent crashing on debug 2021-10-22 09:56:54 -05:00
3abdbbde85 Start modeling graphics 2021-10-21 11:06:25 -05:00
d2bf668bdc Reducing some warnings 2021-10-20 18:24:13 -05:00
758772200f Some refactors on instructions 2021-10-20 18:16:45 -05:00
09c9ef16aa Refactor parameter bytes 2021-10-20 18:03:59 -05:00
72ad41f121 Implement cycle counting 2021-10-20 16:32:01 -05:00
aa60d8586f Update project name again 2021-10-20 14:33:11 -05:00
b154b4a5cb Fix some LD and rotate instructions 2021-10-20 13:39:39 -05:00
82fafad9cc Fix RST instruction 2021-10-20 12:29:55 -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
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