Commit Graph

13 Commits

Author SHA1 Message Date
Lucas Scharenbroich
f6371f914e Add second set of oscillators to output to L and R channels 2023-07-07 15:56:36 -05:00
Lucas Scharenbroich
b2ead87d25 Add configurable 240Hz, 120Hz and 60Hz APU update rates 2023-07-04 16:20:00 -05:00
Lucas Scharenbroich
a5af4c206c Add hook for half and quarter speed updates 2023-06-27 21:24:59 -05:00
Lucas Scharenbroich
7b521c8473 Tweak noise channel and get APU channel select working 2023-06-19 10:15:52 -05:00
Lucas Scharenbroich
01d8029125 Change how to calculate DOC reg values for noise channel 2023-06-19 07:14:10 -05:00
Lucas Scharenbroich
29e2cfd007 Fix bnk bug in APU STATUS register 2023-06-18 21:54:24 -05:00
Lucas Scharenbroich
a1261e8339 Optimization to avoid recalculating DOC frequencies when APU value does not change 2023-06-18 00:12:53 -05:00
Lucas Scharenbroich
bdb4006e22 APU fixed
* Fixed type that caused triangle linear counter to be ignored
 * Changed sweep to shift the current period, not the register value
 * Moved muting logic early to avoid setting DOC registers when not needed
2023-06-17 23:50:38 -05:00
Lucas Scharenbroich
24cd424d7c Add triangle wave back in with counters 2023-06-16 08:18:02 -05:00
Lucas Scharenbroich
99184396fc Mostly full implementations of the pulse channels 2023-06-16 01:07:19 -05:00
Lucas Scharenbroich
361c7dae56 Tweak conversion from APU value to DOC register value 2023-06-12 11:09:21 -05:00
Lucas Scharenbroich
1035af010d First sounds from emulated APU 2023-06-11 12:00:52 -05:00
Lucas Scharenbroich
4f2c2aac0b Wired all APU access to emulation layer. No sound yet :( 2023-06-10 21:05:11 -05:00