Page 2 of 2

Re: Vortex Tracker help

Posted: Mon Aug 03, 2020 10:47 pm
by uglifruit
Thanks both.
I'll try this tomorrow and report back.

Re: Vortex Tracker help

Posted: Tue Aug 04, 2020 11:20 am
by uglifruit
Thanks both.
They both work. I have no idea what I was doing incorrectly, but I'm sorted now.

Re: Vortex Tracker help

Posted: Sun Feb 28, 2021 8:09 pm
by pianomatt
Sorry to revive an old thread but I'm at a loss here.

I've created a track in Vortex Tracker II, compiled it as described above, assembled the loader exactly as described. Problem is I can't get the track to loop. It finished playback and just ends. I've tried it with a few different files, including a track I made myself. I've even tried two different versions of Vortex Tracker and I'm having no luck with either.

Re: Vortex Tracker help

Posted: Sun Feb 28, 2021 8:42 pm
by Alone Coder
Do you have a loop position (L) in your position list?

Re: Vortex Tracker help

Posted: Sun Feb 28, 2021 9:26 pm
by pianomatt
Yes, it's currently i the middle of the track, but I have tried it at the beginning as well.

Image

Re: Vortex Tracker help

Posted: Mon Mar 01, 2021 5:23 pm
by Alone Coder
Maybe this player will help: http://nedoos.ru/svn/filedetails.php?re ... tsplay.asm
More PT3 players in Info Guide #11: http://www.pouet.net/prod.php?which=66207

Re: Vortex Tracker help

Posted: Wed Mar 03, 2021 7:33 pm
by pianomatt
I figured it out. The previous code seems to be based on the VT tracker example code for play once and then stop.

This code makes the module play over and over until a key is pressed.

Code: Select all

ORG 		49120
CALL 		#C000 ;calling init
		EI ;enable interrupts
Loop		HALT ;wait for next interrupt
		CALL #C005 ;call play
		XOR A ;test keyboard
		IN A,(#FE)
		CPL
		AND 15
		JR Z,Loop

Re: Vortex Tracker help

Posted: Mon Mar 08, 2021 6:30 pm
by XoRRoX
Are you trying to play a vt2 or a pt3 file?
As for the pt3 player I use, it uses a so-called "setup" byte to indicate if the tune has to be looped or not.