Here is a small demonstration on how to play ZCM files of any size, straight from disk. It uses a custom interrupt handler to keep the fifo-buffer filled. It consumes less then 256 bytes in total.
I included the theme of x16wars for demonstration.
Try It Now!
Source
Runnable demo
5/14/2024: updated version in which the disk io is now outside the isr. Thanks to Tony3068 to point this out
ZCM/PCM-player without use of library
ZCM/PCM-player without use of library
Last edited by unartic on Sun May 26, 2024 8:31 am, edited 4 times in total.
Re: ZCM/PCM-player without use of library
I like your indentation style and I'm going to steal it.
- ahenry3068
- Posts: 1135
- Joined: Tue Apr 04, 2023 9:57 pm
Re: ZCM/PCM-player without use of library
Very nice code. I've been working on something very similiar to this. I think I might just steal yours, as I've got about 4 programming projects all going at the same time.
Good work...
Good work...