Recently started learning assembly for the Speccy. I’m running simple experiments, getting stuck into Jonathan Caldwell’s book and watching various tutorials on YouTube etc. Great fun. I feel kinda spoiled with all the cool cross-platform tools available.
I’ve been using Pasmo to compile tap files that I can play back on an emulator and test my assembled code. On the side, I’ve compiled a few short tunes in Vortex Tracker 2.5 and have PT3 files for these.
My question is, how do I include the music in my pasmo projects?
My understanding is I will require a sound-driver for my emulated 128k to play them back, and Vortex Tracker can provide one (which might not be best optimised, but one step at a time for me). From looking at the exports available in Vortex Tracker it can spit out TAP files (and thus seem kind of stand-alone and thus not quite what I’m looking for here) and AY files, amongst others.
I’ve tried exporting an AY file (at $C000) and including it, but it just crashes the system:
Code: Select all
INCBIN cheesy_mod.ay
org $8000
MAIN:
CALL INIT
CALL PLAY
EI
LOOP:
HALT
CALL PLAY+5
JR LOOP
INIT:
call $C000
PLAY:
call $C005
MUTE:
call $C008
end $8000
Many Thanks for any help
Pag