alyosha-tas / GBAHawk

Gameboy Advance Emulator fork of BizHawk
Other
12 stars 2 forks source link

Exact audio DMA timings #17

Open alyosha-tas opened 1 year ago

alyosha-tas commented 1 year ago

Follow up from issue #13. Need to test things such as:

precise DMA timing, is there a delay after timer overflow? does writing to fifo control reset the fifo even if power is off? does writing to fifo with power off add samples to the fifo? what are the actual trigger conditions for DMA?

alyosha-tas commented 11 months ago

Findings so far:

fifo cannot be written to with power off (power off means FIFO is off.) DMA happens 4 cycles after overflow.