Sect uses Nextdaw for the title tune and some simple z80 machine code for the in level sounds. Other than that it’s good old basic running a fair number of Sprite Continue commands. It’s not compiled just run running at 28 MHz