AYe AYe...

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
User avatar
BrunoFlorindo
Posts: 290
Joined: Sat May 10, 2008 2:46 am
Location: Anaheim, CA, USA

Re: AYe AYe...

Post by BrunoFlorindo »

Let's not forget SpecAY, a Spectrum program which can play .AY files. If that program is disassembled it would show how it was done.
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: AYe AYe...

Post by sirmorris »

OK, there are a couple of issues here.

1. no songs
2. no player
3. no emulation
4. not much real hardware

Let's tackle them in reverse order :)

I drilled out the AY board last night. Maybe tonight I'll solder it.

Is there a 2-line demo that I can use to test? Hmm, perhaps the real zon-x driver code? Does this exist anywhere?? I've seen copies of the manual but no Ps. The code looks like it's easy to enter though.

I started looking at the AY emulation in EO, I might be able to fix it as long as I can get a wav/mp3 of what it's _actually_ supposed to sound like... Can some kind sould make a recording of hymn? I could try with the 'sweep' example in the manual too, I guess.

C
User avatar
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

Re: AYe AYe...

Post by yerzmyey »

Sirmorris:

>OK, there are a couple of issues here.
1. no songs
------------
Hmmmm, like I wrote yesterday, it can be solved. I suspect the convertor can be made pretty easily (the same soundchip, the same CPU chip) but of course I'm not a coder.
Unless You need existing ZX81 songs for testing. Then I know only those famous two demos that You surely have too.

>2. no player
---------------
If You mean existing player for tests - well, mentioned 2 demos that's all I know. Of course there are also games with ZonX effects but that's now what You need at the moment, I presume.
On ZX Spectrum the player procedure is attached to final compiled song - that's why I can write just several simple RANDOMIZE commands - and it work. Should work in the same way on ZX81, I imagine.

>3. no emulation
-------------
Yes. EightyOne's emulation is scary.

>4. not much real hardware
--------------
That's why all the AY projects are ongoing, isn't it? :)

>Is there a 2-line demo that I can use to test?
---------
I don't think so. :(

>I started looking at the AY emulation in EO, I might be able to fix it as long as I can get a wav/mp3 of what it's _actually_ supposed to sound like...
----------------------------
That would be nice. ;)
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
Paul
Posts: 1520
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: AYe AYe...

Post by Paul »

sirmorris wrote:OK, there are a couple of issues here.

1. no songs
2. no player
3. no emulation
4. not much real hardware

Let's tackle them in reverse order :)
Not necessarily in reverse order.
A player can be found in the german forum. it is based on kmurta's pinkpanter and plays any zonx-file in background, while a slowmode basicprog can run.
see here:
http://forum.tlienhard.com/phpBB3/viewt ... t=25#p3047
if you need translation, do not hesitate to ask. I'll try my best.
In theory, there is no difference between theory and practice. But, in practice, there is.
User avatar
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

Re: AYe AYe...

Post by yerzmyey »

sirmorris wrote:Is there a 2-line demo that I can use to test? Hmm, perhaps the real zon-x driver code? Does this exist anywhere?? I've seen copies of the manual but no Ps. The code looks like it's easy to enter though.
Btw, if You mean something that could be loaded fast, then I noticed that this guy have it:
http://forum.tlienhard.com/phpBB3/viewt ... t=25#p3199
(probably in turbo mode but he loaded it very fast).


PS: The demo - http://www.eightbits.de/aydemo.p
Well, over 7Kb but probably some P2WAV convertor would make it 'turbo'.




.
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
BrunoFlorindo
Posts: 290
Joined: Sat May 10, 2008 2:46 am
Location: Anaheim, CA, USA

Re: AYe AYe...

Post by BrunoFlorindo »

I must post a link which I think is relevant to this topic. Here it is:

http://www.worldofspectrum.org/forums/s ... hp?t=34524

Although it's about another AY interface (competition? :-P ), you'll see that the discussion and the details are relevant to what is being discussed here. Back then I asked similar questions, and as far as I know we're still waiting for a nice, good-sounding demo for that AY interface...

I'm not a coder, but from what Andrew Owen explained it looks like you don't need a complicated conversion tool. You just have to re-use the Speccy code and write to the proper ports, and that's it.

edit:

If EightyOne's AY emulation is indeed broken, couldn't we test code in Spectrum emulators? I have Spectaculator open right now running the ZX81 emulator with AY sound enabled (because it runs in 128K mode) . If I had a .P or .TZX file to test I could save a .WAV or .AVI with the result. :)
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: AYe AYe...

Post by sirmorris »

EightyOne's AY output is not broken. Any more :¬,

Yep, I found the bug and fixed it. However, My development build of EO is in a busted state. The changes I made to the zxpand DLL to get it to work in VB81 have introduced a nasty error in EO :¬<

Still, these things are sent to try us, and good will prevail etc etc.

I might just release the fixed binary for testing anyways, just don't use the zxpand emulation ;¬)
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: AYe AYe...

Post by sirmorris »

Moral: Switch to a disassembly view during debugging before posting ;¬)

I needed some extra __stdcall declarations - the borland compiler assumes DLLs come in cdecl flavour...

So now it's all working nicely again.

I'll post a binary over at the emulators topic when I've made a release build.

C
Moggy
Posts: 3271
Joined: Wed Jun 18, 2008 2:00 pm

Re: AYe AYe...

Post by Moggy »

Paul wrote:
sirmorris wrote:OK, there are a couple of issues here.

1. no songs
2. no player
3. no emulation
4. not much real hardware

Let's tackle them in reverse order :)
Not necessarily in reverse order.
A player can be found in the german forum. it is based on kmurta's pinkpanter and plays any zonx-file in background, while a slowmode basicprog can run.
see here:
http://forum.tlienhard.com/phpBB3/viewt ... t=25#p3047
if you need translation, do not hesitate to ask. I'll try my best.

Hi Paul is usable on real zonx or just EO?

Regards Moggy

*****EDIT dowloaded ZX81-AY.zip couldn't get a sound out of it in EO or My ZONX, some SIMPLE instructions needed for the Thickies like Me :lol: :oops: ****
Last edited by Moggy on Thu Jul 14, 2011 9:10 pm, edited 2 times in total.
Moggy
Posts: 3271
Joined: Wed Jun 18, 2008 2:00 pm

Re: AYe AYe...

Post by Moggy »

yerzmyey wrote:
sirmorris wrote:Is there a 2-line demo that I can use to test? Hmm, perhaps the real zon-x driver code? Does this exist anywhere?? I've seen copies of the manual but no Ps. The code looks like it's easy to enter though.
Btw, if You mean something that could be loaded fast, then I noticed that this guy have it:
http://forum.tlienhard.com/phpBB3/viewt ... t=25#p3199
(probably in turbo mode but he loaded it very fast).


PS: The demo - http://www.eightbits.de/aydemo.p
Well, over 7Kb but probably some P2WAV convertor would make it 'turbo'.




.

Hi Yertz

I posted this demo a couple of posts back as z.p

regards Moggy
Post Reply