ZSM-player without use of library

For posting library code and examples.
Post Reply
unartic
Posts: 145
Joined: Sat Oct 28, 2023 3:26 pm

ZSM-player without use of library

Post by unartic »

This example program plays any ZSM-file directly from disk.

However:
1. The ZSM-header has a value for 'tick rate'.
This example program will only play the zsm at the correct speed if the tick rate is 60 ($3C)
As it appears almost all ZSM-files have a tick rate of 60, so this will most likely not cause a problem

2. The EXTCMD-command is not implemented in this example.
This means the PCM channel is being ignored. So ZSM-files which use the PCM-channel will
have the PCM-sound missing

I'll upload another versions soon which will play PCM as well.

Try It Now!

Source:
playzsm.asm
(8.37 KiB) Downloaded 92 times
Runable program:
playzsm.zip
(142.55 KiB) Downloaded 78 times
Post Reply