Commit Graph

73 Commits

Author SHA1 Message Date
2ca1813939 basic HDMA implementation 2022-01-02 21:09:48 -05:00
eb0f61aebd CPU Registers for CGB mode 2021-12-26 08:58:09 -05:00
3f2824714f WIP PPU CGB support 2021-12-23 19:40:25 -05:00
c109346dcf RAM for cgb 2021-12-21 20:14:49 -05:00
060dbde966 Some progress on sound I guess 2021-12-18 19:12:20 -05:00
10848d28eb Refactor interrupts 2021-11-25 21:13:55 -05:00
aa88a6498e more WIP for sound 2021-11-25 20:09:17 -05:00
52ad064ab5 Saving RAM when the emulator is closed 2021-11-19 17:20:37 -05:00
2eb5d55bcc Fix DMA bug 2021-11-19 13:26:16 -05:00
5493eb5690 Fix tests and more PPU optimizations 2021-11-17 10:12:11 -05:00
2ed5fdb823 Refactor MBCs 2021-11-15 18:52:44 -05:00
71692a05a5 Initial hardware registers 2021-11-15 17:25:43 -05:00
6104f5b077 Refactor project structure and fix all warnings 2021-11-15 16:38:52 -05:00
e2959abfaf Fix crashing bug 2021-11-15 13:15:31 -05:00
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