Login
Back to forumReply to this topicGo to last reply

Posted By

BKP
on 2021-03-12
11:41:41
 Extension AY3-8910 for C16 / 116 / + 4

Hi,
I am looking for a library for the Eagle program. It is a "Memory Expansion" male connector (50-pin) for the commodore +4. I have just developed a diagram of the AY-3-8910 sound cartridge (compatible with what I already have) and I want to design a PCB for it.

Posted By

gerliczer
on 2021-01-25
10:45:34
 Re: 50-pin plug to memory expansion

There are some projects with probably readily available designs. OpenC16Cart, Diag264 and the Sidekick64 adapter. But it is unknown to me if they are in a format Eagle can import.

Posted By

BKP
on 2021-01-26
05:15:11
 Re: 50-pin plug to memory expansion

This could be the right direction for your research. Thanks happy

Posted By

kanold
on 2021-01-28
15:40:44
 Re: 50-pin plug to memory expansion

Zrobiłem to w latah 80 i powiem jedno schemat to AY to to samo co do ZX SPEKTRUM aleb ez ROMU i inne adresy ten shemat był dostępny w BAYTKU. Zainteresowanych proszę o kontakt. A teraz z innej beczki czy myślał ktoś o stworzeniu na c16 czegoś tatiego jak TACART C16 ?Podłączyć TAPECART do C16 to nie sztuka. Są programiści co mogą robić konwesię z c64 na c16 ja tego niepotrafię happy Wyzwanie kto zrobi programu taki jak "tapecard SD Brwser v1.2" na c16

 (no topic)

I did it in the 80's and I will say one diagram is AY the same as for ZX SPEKTRUM but from ROMU and other addresses this shemat was available in BAYTEK. If you are interested, please contact me. And now from a different barrel, did anyone think about creating something tatiego like TACART C16? Connect TAPECART to C16 is not an art. There are programmers what can do the conwesia from c64 to c16 I can't do it. Challenge who will make a program like "tapecard SD Brwser v1.2" on c16 (by Google Translate)

Posted By

gerliczer
on 2021-01-28
15:44:07
 Re: 50-pin plug to memory expansion

@kanold: Next time in English, please, if it could be done. People not speaking Polish may also be interested in what you post.

Posted By

BKP
on 2021-01-29
08:32:24
 Re: 50-pin plug to memory expansion

Well, the problem with the connector is solved! I made my Memory Expansion connector library happy

@kanold, Unfortunately, the scheme, apart from the general connection of the AY chip, is completely different. For the C16 family, andres must be set to $ FD2x and for this you need 4 additional hands. It could also be done on 2 where one is something like PLA, but then it narrows the group of DIY enthusiasts who have access to the EPROM programmer. In my cartridge, the chip names were removed, so I made a completely new schematic that fulfills exactly the same functions as the original. You can see it at the link:

http://www.sylwekkuna.com/ay/schemat_DIGIMUZ.gif

If there is anyone willing and would like to finish the project, I can share the EAGLE files, where I started drawing the board. When designing, it may often be necessary to rearrange input pins or gates within one chip. This is perfectly acceptable if it will make it easier to follow the track on the board.

Posted By

MCes
on 2021-01-29
14:42:57
 Re: 50-pin plug to memory expansion

@BKP,
a note about your schematic:
your BOM is 1x74'133, 1x74'04, 1x74'27, 1x74'20.....
Personally I prefer a BOM of: 1x74'133, 3x74'20: this BOM is simple (only2 kinds of logical chip to buy...) and 74'20 is easy to find.
check the logic function, they should be equivalent.
In my schematic the clk oscillator is composed by 3 inverters, so it can be less "rude":
https://www.gadgetronicx.com/wp-content/uploads/2016/04/square-wave-generator-not-gate.jpg

P-20210129-152633

Posted By

BKP
on 2021-01-30
06:55:58
 Re: 50-pin plug to memory expansion

@MCes,
Well done! This arrangement can be done in many ways. I like your version happy probably it will be even easier to lead the paths on the board.

Posted By

Luca
on 2021-01-30
07:18:25
 Re: 50-pin plug to memory expansion

I dunno what's happening here, I only wanna buy one of those DIGIMUZ in a pure SUATMM lore! grin

Posted By

BKP
on 2021-01-30
07:32:34
 Re: 50-pin plug to memory expansion

Patience @Luca, patience happy It's just a matter of time to refine the layout and make a prototype. In this version there will be no additional EPROM, because it is simply unnecessary for audio playback (it only includes the bascic & turbo tape extension).

@Metallic suggests to me placing 2xAY in one housing (!) And writing a player for the C16 to play music with Vortex Tracker. I just don't know if my programming capabilities are too weak, because it's a big challenge :)

Posted By

MCes
on 2021-01-30
10:46:02
 Re: 50-pin plug to memory expansion

@BKP,
I just saw the AY 38910 data, so my previous schematic can't work because the AY need that BDIR and BC1 have to change simultaneously (max difference of 50nS), and my old schematic can't guarantee this.

Good news: I have a new schematic.....
BOM: 1x74'133, 1x74'02, 1x74'139, xtal oscillator (4pin)


P-20210130-163601

Posted By

BKP
on 2021-01-30
11:15:54
 Re: 50-pin plug to memory expansion

Hahaha, I have modified the project in Eagle and I am happy to check the forum, and here ... surprise - a new, even better scheme happy The idea from XTAL-OSC is very interesting, it will simplify the board even more.

Posted By

MCes
on 2021-01-31
06:39:57
 Re: 50-pin plug to memory expansion

another look at the data showed that the BUS and CHIP timings do not match, so the circuit behavior may be unstable.
The only chip that can have a chance to work (but not into the "worst case") is a GENUINE (no fake) Microchip AY38910A (note the "A" version).
And remember that when you want to access to the chip the computer clock has to be forced to "1MHz only", at the end of the routine the clock can be restored to it's native "1&2MHz" (into the TED there is a bit to be set/reset)
http://datasheet.datasheetarchive.com/originals/scans/Scans-061/DSA2IH0094116.pdf

Otherwise a more complex circuit with a "1 word buffer " have to be implemented: a single CPLD can contain all "glue logic".

Posted By

BKP
on 2021-02-06
14:48:15
 Re: 50-pin plug to memory expansion

@MCes, how about such a solution using Winbond EPROM with 45ns access time:

dekoder-AY-FD2x
https://postimg.cc/VrC5HmqB

Due to the need to use the R / W- signal, one AND gate is needed to connect two addressing lines (here NAND - data logic is a formality, and the rest of the gates will be used to perform CLK for AY).
It probably couldn't be easier, and the access time should be sufficient. This solution has the advantage that you can program a few more addresses, e.g. for the second AY happy

EDIT: 6.02.2021

Slowly forward :)
Metallic visited me today with the AY-3-8910 and AY3-8910A chips, which he recently purchased on Aliexpress. We did a test and I replaced them in my cartridge. It was almost good ... "almost", because the reproduced sound sometimes turned out to be falsified, humming somehow. It is probably caused by what the MCes or timings talked about. My extension is made on ordinary digital circuits (gates) and signals probably get lost along the way, not meeting the AY parameters.
There is already a schematic and a PCB design of my solution on EPROM (something like PLA). This solution will probably be the most effective and will meet the requirements of the AY system. Now I have to make a prototype and test everything. Of course, I will inform you about the effects :)

AY-schemat
AY-plytka

Posted By

MMS
on 2021-02-06
17:05:23
 Re: 50-pin plug to memory expansion AY Card

little OFF:
just to mention, if you have a SID card, you have a good chance to able to play AY musics too happy
(it is just for the later stage, when ou cannot insert both into the machine happy )

https://norbertkehrer.github.io/ym64.html

how it sounds? pretty good (this is a different one):
https://www.youtube.com/watch?v=pFCxywCtvEI

PS: I think the links with https are NOT shown properly. Dear Admins, is there a way to improve this? Thanks

Posted By

gerliczer
on 2021-02-07
02:36:08
 Re: 50-pin plug to memory expansion

Why EPROM? Use a GAL instead. As it should be done.

Posted By

MCes
on 2021-02-07
05:31:57
 Re: 50-pin plug to memory expansion

@BKP
I have to agree with gerliczer:
if you can use a programmable devices the right solution is a GAL22V10....

Posted By

BKP
on 2021-02-07
15:23:29
 Re: 50-pin plug to memory expansion

GAL would be better, but I have no experience with them and I do not know how and in what environment they are programmed (I have the programmer myself).

Posted By

gerliczer
on 2021-02-08
01:51:43
 Re: 50-pin plug to memory expansion

I found this link after a brief search: http://www.mpu51.com/gal/GAL/jedec.htm. But there must be many other resources on this topic all over the Internet.

Posted By

BKP
on 2021-03-08
05:30:03
 Re: 50-pin plug to memory expansion

The final is getting closer happy The tiles are here, I am waiting for one more element. I hope everything goes smoothly and I can hear the new version of AY without distortion.

20210308-100512



My connector fits the expansion port perfectly happy

20210308-100826




Posted By

Luca
on 2021-03-08
05:16:16
 Re: 50-pin plug to memory expansion

Hey your Plus/4 shows a customized red switch grin

Posted By

BKP
on 2021-03-08
05:21:18
 Re: 50-pin plug to memory expansion

This switch is used to change port joy 1 <=> 2. You can not see it in this photo, but on the side I have a standard JOY DB9 socket happy

Posted By

Luca
on 2021-03-08
05:29:21
 Re: 50-pin plug to memory expansion

BKP what a smart choice, congrats!
Getting back intopic: finger crossed for the AY board, it's 2021 and we're discovering mad single cells of scene from the Eastern Europe we didn't expect, like your fantastic works and recently obscure stuff like Advertisement (Common).

Posted By

BKP
on 2021-03-11
07:37:30
 Re: 50-pin plug to memory expansion

Everything works from the first start! happy I did not notice any distortions in the sound similar to those when I replaced the current version of the AY chip with the original DIGIMUZ. It just means that my idea of using EPROM as an address decoder worked perfectly happy
I also know why not all my programs played the sound correctly - after analyzing the code, I noticed that I made my first players based on the references to the sound table contained in the EPROM DIGIMUZ. The following programs had the array already integrated. It's only 191 bytes happy I have a plan to redo the DEMO1 and Castle Dance programs and integrate the aforementioned sound table into them so that they can make sounds on the new DIGIMUZ version. They are the ones who use the external EPROM.

1



2



3



Posted By

Luca
on 2021-03-11
07:44:51
 Re: 50-pin plug to memory expansion

Oh come on, this stuff is total heaven! :O

Posted By

Mad
on 2021-03-11
12:28:27
 Re: 50-pin plug to memory expansion

Woohoo! Very nice! Looks marvelous.. Let's see what tones it'll produce! happy

Posted By

BKP
on 2021-03-12
06:01:29
 Re: 50-pin plug to memory expansion

Hi. The "Castle Dance" program has already been converted into a version that does not require the original EPROM from DIGIMUZ to work! This can be easily checked by running it in an emulator without loading an extra ROM. It just means that with my AY card you will already hear music, not random sounds happy

@LUCA, please transfer this file to my account:
[ Link ]

Posted By

Luca
on 2021-03-12
07:29:20
 Re: 50-pin plug to memory expansion

Added! of course, this new version doesn't work with the previous dedicated beta of YAPE.

Posted By

BKP
on 2021-03-12
07:59:19
 Re: 50-pin plug to memory expansion

hmmm, I don't really understand ... My new Castle Dance works perfectly on version 1.1.9.

Posted By

Luca
on 2021-03-12
10:40:30
 Re: 50-pin plug to memory expansion

Ok, tested it right now on a x86 OS, and it perfectly work in YAPE beta wink Wooooh listen to those super tunes!

Posted By

MMS
on 2021-03-12
11:26:59
 Re: 50-pin plug to memory expansion

Great news!
BTW, there is no way to rename this thread to something more accurate, like AY music on 264 happy

(Am I right when I state, that most probably Spectrum 128, CPC and ATARI ST musics will also play?)

Posted By

BKP
on 2021-03-12
11:54:51
 Re: Extension AY3-8910 for C16 / 116 / + 4

@MMS, now that the cartridge is ready, you can take care of the soft and converting music from Spectrum, etc. that had the AY sound system happy. Unfortunately, my programming knowledge is modest compared to other great programmers here on the forum and I hope that someone will take care of it now happy It would also be nice if someone adapted a good current tracker to AY - I would gladly compose some music directly on C + 4 happy

Posted By

Ulysses777
on 2021-03-12
20:06:44
 Re: Extension AY3-8910 for C16 / 116 / + 4

@MMS, porting Spectrum music should be relatively straightforward, CPC and ST will need some more work, as the AY/YM is clocked at different speeds on those machines (1MHz on the CPC, 2MHz on the ST).

For example, here's a quick and dirty straight port of some Spectrum music:
https://www.dropbox.com/s/r0hxpd1t9s1ox3z/dizzy_v_ay_demo.prg?dl=1

Seems to work correctly in the YAPE beta, would be interesting to see if it works correctly on the real thing happy

Posted By

BKP
on 2021-03-13
04:14:31
 Re: Extension AY3-8910 for C16 / 116 / + 4

@Ulysses777, Wow, how did you do that? happy Is there any converter for transferring music from spectrum to commodore? Write something more, because the topic is very interesting. I will try to check if it will play on hardware as soon as possible. I just need to add .prg to my C + 4 happy

Posted By

MMS
on 2021-03-13
16:52:23
 Re: Extension AY3-8910 for C16 / 116 / + 4

OK,maybe I missed some key information. So I suppose YAPE has a 1.1.9 beta with AY support.
But where I can download it? headscratch

I read though the topic, and checked Gaia's page too, but the 1.1.8 is the latest one I can get, and certainly it has no sound with these great tech demos...

THX!

Posted By

Ulysses777
on 2021-03-13
17:05:50
 Re: Extension AY3-8910 for C16 / 116 / + 4

It was posted in the older thread for the Polish games, here is the link:

http://gaia.atilia.eu/download/YapeDigimuzBeta.zip

You'll need to enable DIGIMUZ in Settings -> Sound settings

Posted By

Csabo
on 2021-03-13
19:09:31
 Re: Extension AY3-8910 for C16 / 116 / + 4

Really cool stuff, Ulysses777!

Posted By

Gaia
on 2021-03-13
19:26:39
 Re: Extension AY3-8910 for C16 / 116 / + 4

Now where is that like button...? happy Great tune, Ulysses777!

Posted By

BKP
on 2021-03-14
05:55:40
 Re: Extension AY3-8910 for C16 / 116 / + 4

Or maybe officially release Yape1.1.9 in the tools database. @Gaia, what do you think? Digimuz is properly emulated, and the errors that I noticed during testing result from the different approach to programming the Digimuz extension. Initially, I used references to EPROM in my programs, and then it enlightened me and transferred important parts directly into the main program. I was probably afraid that if the EPROM is damaged, I will lose the ability to play music happy

Posted By

Metallic
on 2021-03-14
08:59:56
 Re: Extension AY3-8910 for C16 / 116 / + 4

@MMS

enable DIGIMUZ in Settings -> Sound settings ... and :

I had to change DirectSound to WaveMapper because I could hear sound of silent.

M.

Posted By

Metallic
on 2021-03-14
09:02:26
 Re: Extension AY3-8910 for C16 / 116 / + 4

I'm still wrong typing nick.
Have message:

This user name (Metallic) is already taken by Tomasz Kiełbiowski.
Please choose a different name or log in.

How to login ?

Posted By

Csabo
on 2021-03-14
09:36:57
 Re: Extension AY3-8910 for C16 / 116 / + 4

To log in, you need a username (which you have) and a password - which we can't give you privately unless you contact us. Please email me or Luca.

Posted By

MMS
on 2021-03-14
14:48:00
 Re: Extension AY3-8910 for C16 / 116 / + 4

Yeah, thx for the YAPE 1.1.9, especially to Gaia !

It sounds really great! Really enjoyed the great tunes, and checked the old demos too.
It is a great new feature with great possibilities (as the SID chips became unfortunately rare and expensive).

Posted By

BKP
on 2021-03-16
15:40:35
 Re: Extension AY3-8910 for C16 / 116 / + 4

Today shortly ... Everything works! happy We need a magician now to show you how to convert music from popular formats supported by AY happy



Posted By

Csabo
on 2021-03-16
17:26:07
 Re: Extension AY3-8910 for C16 / 116 / + 4

That's fantastic news happy It's great seeing this alive and actually running!

Posted By

Mad
on 2021-03-16
18:31:09
 Re: Extension AY3-8910 for C16 / 116 / + 4

Wow nice sound! happy

Posted By

Metallic
on 2021-03-17
10:57:27
 Re: Extension AY3-8910 for C16 / 116 / + 4

http://c64.moneo.net.pl/obrazki/fc.prg
http://c64.moneo.net.pl/obrazki/karboflex.prg

Hi. Another music pack for DigiMuz. Convert from pt3.
Forgive me, I haven't coded to 6502 the last 20 years, hardly any plus4, never before on AY-3-8910 happy.
It's a simple transfer of the player from the ORIC computer. Nothing big.
Happy listening.

PS.
Casbro, I sent you a password request. If the e-mail has not been delivered, you can find my e-mail address in the fc.prg module happy

Posted By

Metallic
on 2021-03-17
10:58:00
 Re: Extension AY3-8910 for C16 / 116 / + 4

http://c64.moneo.net.pl/obrazki/indiana.prg

Posted By

BKP
on 2021-03-17
11:29:00
 Re: Extension AY3-8910 for C16 / 116 / + 4

@Metallic, I did not expect such a commitment from AY from you! happy I'm looking for people all over the world, and the music conversion is done by a guy I know since I was a child grin
Thanks a lot !!!
This is not the end of this, I start learning Vortex Tracker and start creating melodies, and in the future maybe some bigger demo, if time allows happy

Posted By

MMS
on 2021-03-17
20:07:35
 Re: Extension AY3-8910 for C16 / 116 / + 4

Thank you for the great tunes and the efforts! I've just read Oric, was a nice computer, based on 6502 with YM (most of the YM computers were Z80 based).

The other great contributor could be Apple II (Mockingboard from 1983 used two YM combined with 6522 VIAs), I've just found a great article on the YM formats and the 6502 @1MHz limitations (on compressed formats). With some fine YM tunes too happy
https://www.fenarinarsa.com/?p=1454

Posted By

Metallic
on 2021-03-18
09:47:56
 Re: Extension AY3-8910 for C16 / 116 / + 4

This Apple demo http://fr3nch.t0uch.free.fr/OMT/OMT.html has exactly the same player that I used above. happy
M.

Posted By

Luca
on 2021-03-18
11:09:11
 Re: Extension AY3-8910 for C16 / 116 / + 4

A short note just to point out that we're not taking part of the chitchat because we're like surprised more and more.

Posted By

BKP
on 2021-03-18
12:30:12
 Re: Extension AY3-8910 for C16 / 116 / + 4

@Luca, as you can see, everything is developing in a very good direction happy Now, when we have achieved so much in hardware and a player has appeared thanks to which you can listen to many melodies, it can only be better happy There is also interest in the project on the local Polish forum: ) People ask about Yape with DIGIMUZ emulation - can it be officially downloaded here in the Tools section? Or maybe @Gaia is still waiting for testing, because there is no version 1.1.9 on its official website?

Posted By

Gaia
on 2021-03-18
20:05:19
 Re: Extension AY3-8910 for C16 / 116 / + 4

Happy to see the interest and keep up the spirit! I found a few bugs so I am ironing them out and once done will push out a new release soon now I hope.

Posted By

BKP
on 2021-03-19
06:23:27
 Re: Extension AY3-8910 for C16 / 116 / + 4

@Gaia, this is one more observation ... Demo 2 plays music correctly on the new Digimuz, while in the emulator (of course without the DIGIMUZ ROM) the beginning is false, but when I press reset (F11) it starts to play properly. Demo 2 has a reset protection. Perhaps after loading the program at the beginning there is no initialization in the emulator, which activates after F11 ?

Posted By

zbyti
on 2021-03-21
13:18:20
 Re: Extension AY3-8910 for C16 / 116 / + 4

https://xxl.atari.pl/at2player/

https://www.julien-nevo.com/arkostracker/

"The ultimate musical tool for Amstrad CPC, Atari ST/XE/XL, ZX Spectrum, MSX, Oric, Apple 2, Vectrex and Sharp MZ-700!

A small but important update, as it corrects a few (rare) bugs in some players. And thanks to the work of xxl, Atari XE/XL can now use AT2 and its AKY player! Yes, the family is getting bigger!"

Posted By

BKP
on 2021-03-23
07:02:21
 Re: Extension AY3-8910 for C16 / 116 / + 4

@Gaia, !!!! Sorry for the confusion !!!! I did additional tests. It turned out that I made a register initialization error in DEMO2 and it behaves the same on the emulator and on the NEW DIGIMUZ card.
I got lost during the tests happy Too many different experiences and my conclusions got confused. Once again, sorry for misleading you.

Posted By

kanold
on 2021-04-23
01:11:47
 Re: Extension AY3-8910 for C16 / 116 / + 4

Cześć czy jet jakaś możliwość zakupu tej płytki od ciebie bo widziałem że masz kilka sztuk był bym zainteresowany 1 szt całkowicie mi wystarczy.

 (no topic)

Hello, is there any possibility to buy this tile from you because I saw that you have several pieces? I would be interested in 1 piece, that's enough for me. (by Google Translate)

Posted By

BKP
on 2021-04-23
01:12:37
 Re: Extension AY3-8910 for C16 / 116 / + 4

Tak, będzie taka możliwość. Ostatnio mam bardzo dużo pracy i musiałem hobby trochę odsunąć na bok. Proszę jeszcze o chwilę cierpliwości.

 (no topic)

Yes, it will be possible. Recently I have a lot of work and I had to put my hobby aside a bit. I am asking for a moment of patience. (by Google Translate)

Posted By

MMS
on 2021-05-21
05:24:54
 Re: Extension AY3-8910 for C16 / 116 / + 4

Well, work kills all the fun of life, I know it very well. grin

Please let us know, when you've been freed from slavery happy

BTW about the programming of the new DIGIMUZ (AY) card: is there any suggestion or documentation of registers and how to initialize and program it? Many thanx. (I suppose the registers are in the same order as on Sinclair 128)

Posted By

Csabo
on 2021-05-21
07:49:55
 Re: Extension AY3-8910 for C16 / 116 / + 4

It's available right here on our site happy

DIGIMUZ programming

Posted By

BKP
on 2021-05-21
08:24:08
 Re: Extension AY3-8910 for C16 / 116 / + 4

@MMS, Csabo he overtook me happy It may look complicated, but in practice I was making myself additional artificial registers, which my player later referred to. This simplified the entire structure of the program, because in the case of expanding these artificial registers, I did not have to change the player, but only add support for the introduced changes. On the other hand, when I was creating a new player, I used the already existing simplified registers and that is how it all complemented each other. The newest player (and the last one I made on C+4) is the one in the MusicTracker Demo program (available on my profile) - unfortunately I stopped writing this music program because I fell in love with the Amiga.

One more important thing (!)
I have a little problem with the ORIC player for pt3 files. Metallic did a good job of adapting it to C + 4, but there is a mistake somewhere, because the converted music has too high a tonal transposition compared to the original. I tried to find the reason, but the time and probably the C16 programming skills are not the same as before. If someone would like to look for the reason, I will provide all the materials (example music files .pt3, player source, original ORIC player, compiler, instructions on how to connect and run it all). If it was working properly, I could write a PC program that would import .pt3 with one click and create a ready file that plays .prg on C16 /+4

Posted By

MMS
on 2022-02-05
07:16:29
 Re: Extension AY3-8910 for C16 / 116 / + 4

Please let us know when it is ready for order happy

ATARI ST's Yamaha 2149 IC is essentially the same chip, could use 6MHz master clock (io 4MHz), but not mandatory to use it's higher envelope resolution.

I just recently listened to:
https://www.youtube.com/watch?v=u5Mi3FkZgFI
https://www.youtube.com/watch?v=5jJYPaq6WNQ

http://sndh.atari.org/about.php



Back to topReply to this topic


Copyright © Plus/4 World Team, 2001-2024