SoundTracker for ZX81 ?

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
User avatar
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

Re: SoundTracker for ZX81 ?

Post by yerzmyey »

Aha.

So - hence they have to be in a proper order - I can't include the stuff into the code.

OK then, no problem. Thanks a lot for the explanation!
IN NIHILUM REVERTERIS - a big text-adventure game for ZX81: http://tiny.pl/g2m6m
"MONOCHROME" issue 5 - (Spring 2014) free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX81 COMPETITIONS 2007/2009: http://zx81.republika.pl/
User avatar
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

Re: SoundTracker for ZX81 ?

Post by yerzmyey »

Another 4 hours spent last night over the ZX81 and SoundTracker. :)
It's good fun as usual! ;)
Today - "to be continued".
I will try to add another 3 channels without hearing entire songs - and will check out that will happen when they're mixed. Heheh. :)
IN NIHILUM REVERTERIS - a big text-adventure game for ZX81: http://tiny.pl/g2m6m
"MONOCHROME" issue 5 - (Spring 2014) free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX81 COMPETITIONS 2007/2009: http://zx81.republika.pl/
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: SoundTracker for ZX81 ?

Post by Andy Rea »

Since as this thread is long, i have moved the lasted version of Soundtracker, compiler, and a basic player with some sample songs to a single Zip file in the first post which can be found here viewtopic.php?t=556#wrap

it's not a new version, just removed my other uploads so that people only get the latest version.

Regards Andy.
what's that Smell.... smells like fresh flux and solder fumes...
User avatar
peterz
Posts: 10
Joined: Sat Apr 13, 2013 11:23 am

Re: SoundTracker for ZX81 ?

Post by peterz »

Hoping that somebody still watches this thread... Andy?...

Assuming that I may use the code in that way, how do I integrate the STC player in a machine code program? I finally finished my batz game (download/file.php?id=1304), and Yerzmyey has donated the coolest song for it, but I'm having trouble putting it all together. Specifically, since I'm trying to keep everything within 16K, can I store the music data at other locations than 32768? And is the player relocatable, or is it tied to address 16517?

-- Peter.
User avatar
peterz
Posts: 10
Joined: Sat Apr 13, 2013 11:23 am

Re: SoundTracker for ZX81 ?

Post by peterz »

... I think I managed:
download/file.php?id=1314

It runs fine on a bare metal ZX81, but for some reason, EightyOne doesn't seem to like it. The screen is distorted when the music plays. Does anyone know why?

-- Peter.
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: SoundTracker for ZX81 ?

Post by Andy Rea »

Hi Peter,

nice conversion of a classic game that should be on every platform :-) very smooth,

I can supply the source code of the player if your interested, i use Tasm assembler but there's nothing especially tricky going on so it should be easy to use a different assembler.

Re, the image moving up a pixel line in Eightyone... yeah something i keep meaning to have a look at, it's one of Eightones Few faults, it doesn;t quite handle the hsync / line counter exactly like a genuine ZX81 does. i fairly sure i can fix it, i have wrote other demo's with music that run on Eightyone OK.


Regards Andy
what's that Smell.... smells like fresh flux and solder fumes...
User avatar
peterz
Posts: 10
Joined: Sat Apr 13, 2013 11:23 am

Re: SoundTracker for ZX81 ?

Post by peterz »

Hi Andy,

Thanks, I'm glad you like it! If you could let me have the source code for the STC player, that would be great. What I did now is include a decimal encoded text dump of Yerzmyey's demo program (which I believe you made) as db commands, and jump into that.

By offering to fix it, do you mean having a look at my code? Let me first try to properly include the player. That would make it a lot easier to debug, I imagine. And I need to clean up a bit. I'm afraid I write horribly messy assembler. Apart from that, thanks for wanting to help! I'll probably want to take you up on that...

-- Peter.
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: SoundTracker for ZX81 ?

Post by Andy Rea »

By fix it i mean the stc player code or more correctly the interrupt handler, I'll dig out the source and send it to you.

Regards Andy
what's that Smell.... smells like fresh flux and solder fumes...
Post Reply