Commit graph

493 commits

Author SHA1 Message Date
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
Alex Janka ffdd458fbb its getting there 2023-02-16 15:03:07 +11:00
Alex Janka 0d48a58525 makes audio... ish 2023-02-15 16:11:32 +11:00
Alex Janka 579d13d0ef render pulse channels 2023-02-15 15:10:22 +11:00
Alex Janka 7ff06f151e timer consts 2023-02-15 09:01:05 +11:00
Alex Janka 28fb90c8d6 implement apu ticks from div 2023-02-15 08:44:56 +11:00
Alex Janka 75a9396b57 comments and a lil fixing 2023-02-15 08:25:04 +11:00
Alex Janka f42f58a663 more accurate timing 2023-02-14 08:23:24 +11:00
Alex Janka 645b5e365a pwm registers enabled 2023-02-14 08:12:14 +11:00
Alex Janka 6f5a1c648c forgor to set what i was gettn 2023-02-13 15:41:57 +11:00
Alex Janka 3e1b68fc1e more registersf 2023-02-13 14:37:43 +11:00
Alex Janka 2bc9d0f665 prepare for dealing with all registers 2023-02-13 14:16:58 +11:00
Alex Janka 0b2378d160 make registers from apu values 2023-02-13 14:11:16 +11:00
Alex Janka f343075599 apu handle all addrs 2023-02-13 13:29:53 +11:00