Commit graph

206 commits

Author SHA1 Message Date
Alex Janka 6f3fd9b219 mmio interrupts 2023-02-24 10:41:09 +11:00
Alex Janka e0ee657fb3 say steps in timer 2023-02-24 10:41:01 +11:00
Alex Janka fd22f62f21 timer is memory mapped 2023-02-24 10:11:05 +11:00
Alex Janka 5c44401c68 move timer to mmio 2023-02-24 09:39:37 +11:00
Alex Janka eea5245d78 object priority 😝 2023-02-23 19:15:18 +11:00
Alex Janka d90b773c7f fixed sprites falling off top of screen 2023-02-23 18:31:34 +11:00
Alex Janka 02bc2df0e8 silly mistake that i have literally made before 2023-02-23 16:39:04 +11:00
Alex Janka 3fc25fcfb2 fix initial joypad + serial values 2023-02-23 15:34:54 +11:00
Alex Janka 4623c248db fixed it wrong lol 2023-02-23 15:32:10 +11:00
Alex Janka 1f3d1c41f9 fix stupids 2023-02-23 14:21:00 +11:00
Alex Janka c925beae8a mbc5 ram address fix 2023-02-23 11:24:27 +11:00
Alex Janka 9418d1e98a mbc5 w/ rumble 2023-02-23 11:01:50 +11:00
Alex Janka 30d9ddc713 add mbc5 2023-02-23 11:00:29 +11:00
Alex Janka 97f39e9c5d fix mbcs visibility 2023-02-23 10:19:33 +11:00
Alex Janka 9090aa4621 split mbcs to files 2023-02-22 21:58:47 +11:00
Alex Janka cf6a14179d fully mmio'd gpu! 2023-02-22 15:24:31 +11:00
Alex Janka 1e1e82a6e7 joypad: trigger even if gamepad button held for less than 1 frame 2023-02-22 13:28:19 +11:00
Alex Janka ac3b197d6d command line option to connect serial to stdout 2023-02-22 10:38:27 +11:00
Alex Janka 3df569a7a1 bootrom as option 2023-02-22 10:26:20 +11:00
Alex Janka 932e70a443 serial: dont fake a connection if it's not there 2023-02-22 10:12:35 +11:00
Alex Janka a9886a773a joypad clear buttons fn 2023-02-22 10:09:40 +11:00
Alex Janka 788afa49d4 fix serial 2023-02-22 10:09:32 +11:00
Alex Janka 8e910cfec8 joypad: action and direction not mutually exclusive 2023-02-22 09:48:39 +11:00
Alex Janka 5b353364cd remove commented code 2023-02-22 09:38:08 +11:00
Alex Janka 5dba0e039a move gpu to mmio module 2023-02-22 09:37:31 +11:00
Alex Janka c622a2ae4a serial as mmio peripheral 2023-02-21 10:10:24 +11:00
Alex Janka 2609fb966d fix masked io in apu 2023-02-20 16:21:16 +11:00
Alex Janka a790e4cbd1 fix length timer 2023-02-20 15:51:39 +11:00
Alex Janka 6676276706 noise channel works! 2023-02-20 15:35:20 +11:00
Alex Janka 9f9cd006c0 channel 4 mem interface + ditch apu ram array 2023-02-20 14:30:35 +11:00
Alex Janka 83080ed806 channel 3 audio 2023-02-20 14:26:30 +11:00
Alex Janka 62b7bced99 hehe 2023-02-20 10:03:34 +11:00
Alex Janka 5cfe28a309 wave channel memory implemented 2023-02-20 10:02:14 +11:00
Alex Janka e80fd6a73a nibbles :3 2023-02-20 10:01:53 +11:00
Alex Janka 0f38e89312 pulse channel control register empty bits are high rather than low 2023-02-20 10:01:32 +11:00
Alex Janka 20f324caa8 change update_sweep to be in line with other channel mmio functions 2023-02-19 21:49:58 +11:00
Alex Janka 26e5cc3431 oncecell 2023-02-19 21:05:02 +11:00
Alex Janka 4496316f07 smaller audio buffer + fill with zeroes before starting 2023-02-19 19:54:22 +11:00
Alex Janka 052bf829a5 audio 🤤 2023-02-19 19:22:56 +11:00
Alex Janka f2e08c2c1c audio works! almost... 2023-02-19 19:10:53 +11:00
Alex Janka 0f5bcb8e46 remove saving audio 2023-02-19 19:10:49 +11:00
Alex Janka 75578786e4 clean 2023-02-19 19:08:46 +11:00
Alex Janka 184e4c3341 back to clock cycles for now 2023-02-19 09:23:28 +11:00
Alex Janka 433c9bae6c temp record audio 2023-02-18 08:35:40 +11:00
Alex Janka cea9262218 lol 2023-02-17 13:33:36 +11:00
Alex Janka 8d90da2e6d implement functionality behind div-apu ticks 2023-02-17 12:17:20 +11:00
Alex Janka e150005eda correct for machine cycles 2023-02-17 11:07:03 +11:00
Alex Janka 7a28655604 audio kinda works 2023-02-17 11:01:38 +11:00
Alex Janka e60426fe0f reorganise 2023-02-17 09:06:17 +11:00
Alex Janka 08da9f7857 commented code 2023-02-16 16:11:04 +11:00