Forum

Please or Register to create posts and topics.

How to use in Assembly in ZX Spectrum Next

I'm looking for a driver to play sound effects and eventually music on ZX Spectrum Next using Assembly, preferably SjASMPlus. I want to use it in-game (https://github.com/maciejmiklas/jetman-in-space).

Could someone point me in the right direction on how to start with it? Is there an example for the Next?

Thanks,
Maciej

mdgunn has reacted to this post.
mdgunn

Hi! Sorry for the late reply, I wasn't notified about this new thread!

You can use any player (AKG, AKM, AKY player): check the "tester" folder in their respective folder. The Spectrum player should be working for a 3-channel song, as the SpecNext is compatible with it. For a 9-channel song, you can use the SPECNEXT specific player (AKY only). I suggest the AKY if you want speed and can spend a bit of memory.

In AT3, make the export as AKG/AKM/AKY, as it should be fine.

As for the source, since you're using SJAsmPlus, and the players are compatible with RASM, you should use Disark to "convert" the source into SJAsmPlus, which should work with the default Disark option (the default being Rasm/SJasmPlus). Check this page to understand how it works:

Using a song in a production, using any assembler

Let me know if it works!

 

Thank you 🙂