I can't remember where I got the Whizzcat\Delta Force Protracker Replay Routine from.
It may have been from a standalone disk or it may have been on an issue of Disk Maggie.
The STFM routine on ProTracker 2.1 is definitely different from the code I have.
To cut a long story short:
I wanted to use it in STOS and to combine the STFM and STE player so you could pass it a parameter to start\stop either routine.
Neil Stewart got the STFM part working and I merged in the STE code and added a conditional bit of code to use the selected player.
I made the STE part all uppercase because even though the symbol names are the same GenST will assemble it correctly.
I also asked Neil to write a bit of code to remove the bottom border for my demo, which he did so in my code there is some code on Timer B to do the border magic. The original routine only used Timer A and D for STFM.
The problem with this code is that it won't allow you to stop the tune then restart it. You have to reload the memory bank in STOS.
It also has a large stack at the end and if the samples are too big you get 4 bombs.
It doesn't easily support multiple tunes so you can't swap between them at will.
My questions are:
1. Is the Whizzcat Replay Routine the best available for STFM\STE?
2. Would it be useful to tidy up my merged code and fix the bugs?
Still got, still working: Atari 4Mb STe, 520STFM, 2.5Mb STF.
Hardware: Cumana CSA 354, Ultimate Ripper, Blitz Turbo, Synchro Express II (US and UK Versions).