25 Commits

Author SHA1 Message Date
a0e3c7c602 chore: remove useless default implementations 2021-11-25 04:07:45 -04:00
80a15039e0 chore(apu): improve accuracy of Channel 1 2021-10-30 21:53:08 +09:00
32405c0734 fix(apu): implement some obscure behaviour for ch1,2 & 3 2021-10-30 20:04:16 +09:00
2ef8fefbb7 chore(apu): implement more obscure behaviour
implement capacitor
2021-10-30 18:41:31 +09:00
352a65b705 chore(apu): update spsc depenency 2021-10-07 15:27:51 -03:00
f92b9d61ef chore(apu_gen): cosmetic changes to sample generation
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-18 01:43:38 -05:00
360a9a7b65 chore(apu): improve code organization
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-18 00:04:27 -05:00
5d64e539a7 fix(apu): resolve off-by-one error 2021-08-17 23:14:56 -05:00
22f96a10e7 fix(apu): increase accuracy of apu emulation
Reintroduce the Frame Sequencer and it's state enum (needed so that we
can reset the FS on NR52 enable)
2021-08-17 22:18:40 -05:00
aa22e93049 chore: clean up TODO messages
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-15 23:31:27 -05:00
a77d0a0f62 fix(apu): clock frame sequencer at correct Hz
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-15 02:46:20 -05:00
53dfaf0de2 fix(apu): increase size of the audio buffer
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-14 15:29:35 -05:00
16c2dd81fc fix(bus): remove dead code 2021-08-14 15:02:25 -05:00
8625bec059 feat: clock bus on instruction read-write
Some checks failed
continuous-integration/drone/push Build is failing
Commit also includes general work towards passing mem-timings.

Note: while cpu_instrs.gb passes, instr_timing.gb and mem_timing.gb both
are stuck in infinite loops (Currently, it seems like a timing issue).
This is a major regression that hopefully shouldn't last for too long.
2021-08-14 00:10:51 -05:00
d4407cf849 fix(apu): implement NR50 volume controls 2021-08-03 19:33:27 -05:00
32b597a328 fix(apu): incremental improvements to APU accuracy
Some checks failed
continuous-integration/drone/push Build is failing
2021-08-03 14:10:08 -05:00
4d6fc95130 chore: remove premature optimizations 2021-08-02 21:52:12 -05:00
2af673d7c5 chore: remove various warnings
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-28 16:25:29 -05:00
e43cac8041 fix(apu): don't spin if ringbuf is full 2021-07-28 16:23:31 -05:00
8724da824e chore: inline some methods 2021-07-28 14:53:52 -05:00
903cfacad3 fix(apu): replace mpsc with spsc ringbuffer
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-28 02:01:04 -05:00
9d0e099a97 chore: remove unnecessary derivations from structs 2021-07-28 00:09:07 -05:00
3fb182b9cb fix(apu): have send_samples block main thraed
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-18 21:18:04 -05:00
cc0cb0dd8a chore(apu): satisfy clippy
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-15 22:58:23 -05:00
a1eadc0bc4 chore(apu): rename sound/snd to apu
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-14 23:45:01 -05:00