Hi there,
today I created a small development environment with vasm, vlink and vbcc on my windows machine. Also I added AgaOS to it (
https://github.com/jsvennevid/agaos) which helps me a lot with initialization stuff and so on.
I came very far today, displayed my first copper list and wanted to integrate sound. Some time ago StingRay gave me a ptreplay.s which is fairly easy to integrate. I did that and indeed the sound starts (yes I do mt_music on every vertical blank or after WaitTOF) but it sounds highly distorted.
There is not much source to show except some de-/initialization stuff. Also I'm testing in WinUAE and everything else audio-related is working there.
I uploaded some sources + exe here:
http://www.localmindprovider.com/help/
The intro.asm was compiled by vbcc btw, so have a look into intro.c.
I really don't know what's I'm doing wrong there
Thanks!
neoman/titan