@Ronflaix@mastodon.gamedev.place
Post #1275655
2026-04-06 07:53 UTC
@manawyrm so music is doable on the serial port? I haven't looked at the source (well I stopped after recognizing the fxsdk's structure) but I suppose it's something you did through timers, isn't it? Also, DMA? How so? Are you mixing on CPU and just pushing the data through serial with the DMA?
Replies (1)
-
@manawyrm@chaos.social 2026-04-06 09:04
@Ronflaix no timers (those are used for grayscale!) but DMA yes. Every time the DMA finishes sending bits, it triggers an interrupt which will then generate a new PCM buffer and also convert that into the PWM bitstream. No mixing at all, just single stream, but you could totally mix if you wanted too.