Commit Graph

59 Commits

Author SHA1 Message Date
7fa6857ac3 Refactor ppu and vram (currently crashing) 2021-11-15 11:25:30 -05:00
de021c2eff Replace AddressRange struct by ranges 2021-11-15 09:46:59 -05:00
5acb3ba6d5 Refactor timer 2021-11-15 09:27:03 -05:00
c1dc14680e Refactor joypad 2021-11-15 09:15:31 -05:00
d90a25e6f6 Fix LCD status when turned on or off 2021-11-12 19:52:46 -05:00
7beeae01fa Frame counter 2021-11-12 14:04:10 -05:00
6404593f2c Remove hardcoded roms 2021-11-12 11:18:09 -05:00
c68f24ea05 Refactor check_interrupts 2021-11-11 09:24:09 -05:00
66182da336 Reduce get_tile_bytes calls 2021-11-11 09:11:13 -05:00
0ce0c11488 Optimizations 2021-11-10 20:57:58 -05:00
4bab81cbfa Fix MBC1 bug. Mario Land is now playable 2021-11-09 19:42:21 -05:00
2474cd72b7 Fix LCD on/off issue 2021-11-09 10:39:26 -05:00
b92160dee4 Fix bug with LCD enable and LY=0 and disabling background when bit 0 is reset 2021-11-08 19:40:30 -05:00
f7ca3fcc25 PPU optimization 2021-11-06 21:36:16 -05:00
d94b912ff6 Some ROM changes 2021-11-05 19:08:51 -05:00
2bd74eddb4 Fix 02-interrupts test 2021-11-05 14:32:37 -05:00
6da1b022d8 Basic MBC1 implementation (WIP) 2021-11-05 14:20:10 -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
b7236e862a moonoeye if_ie_registers test 2021-11-04 13:13:22 -05:00
c5ff92c0ab Refactor PPU interrupt requests and fix Scroll X 2021-11-03 22:24:31 -05:00
60fd55abca Optimize framebuffer render 2021-11-03 11:59:48 -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
292c7d1507 Basic joypad implementation 2021-10-31 21:02: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
f90900a4c1 Enabling lcd and vblank flag registers 2021-10-28 22:13:23 -05:00
7f9fdc9935 PPU timings 2021-10-28 19:38:30 -05:00
6ad3f9f29b Experimental background rendering with scrolling 2021-10-28 12:58:03 -05:00
ce4afa96bf Rendering tiles with a temporally algorithm 2021-10-28 10:30:48 -05:00
1444e8b63d Refactor address ranges 2021-10-22 15:32:12 -05:00
d655442b9a Prevent crashing on debug 2021-10-22 09:56:54 -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
aa60d8586f Update project name again 2021-10-20 14:33:11 -05:00
bdd2b4659a Test rom 10 2021-10-20 13:47:59 -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
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
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