Page 1 of 1

ZCM/PCM-player without use of library

Posted: Sun May 12, 2024 2:38 pm
by unartic
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
playzcm.asm
(3.85 KiB) Downloaded 102 times
Runnable demo
playzcm.zip
(427.91 KiB) Downloaded 80 times


5/14/2024: updated version in which the disk io is now outside the isr. Thanks to Tony3068 to point this out

Re: ZCM/PCM-player without use of library

Posted: Sun May 12, 2024 3:10 pm
by Djehuti
I like your indentation style and I'm going to steal it. ;)

Re: ZCM/PCM-player without use of library

Posted: Sun May 12, 2024 3:53 pm
by ahenry3068
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...