REMINDER - Stay logged in for at least 2 hours a week to get whitelisted.
Also it helps build a picture where our "good traffic" is coming from for detection scripts.
:o)

Putting a YM2203 FM soundchip in place of the YM2149

General discussions or ideas about hardware.
qq1975b
Posts: 61
Joined: 18 Sep 2017 22:16

Re: Putting a YM2203 FM soundchip in place of the YM2149

Post by qq1975b »

joelolzen wrote: 04 Apr 2021 05:57 Here’s an example of the 2203 plying all its six voices
https://youtu.be/qSWCihT_2Ho
It sounds very good.
User avatar
viking272
Site sponsor
Site sponsor
Posts: 289
Joined: 10 Aug 2020 11:32
Location: Reading, Berkshire, UK

Re: Putting a YM2203 FM soundchip in place of the YM2149

Post by viking272 »

That video replay was of amazing quality. How's the progress for this project?
Steve
Moderator
Moderator
Posts: 3334
Joined: 15 Sep 2017 11:49

Re: Putting a YM2203 FM soundchip in place of the YM2149

Post by Steve »

I hope he comes back for this, it looked so promising.. but his profile says:
Last active:
Thu Jan 13, 2022 6:29 pm
:(
User avatar
unseenmenace
Posts: 19
Joined: 01 Apr 2021 09:02

Re: Putting a YM2203 FM soundchip in place of the YM2149

Post by unseenmenace »

I'm not dead, just hadn't logged into this forum in a while, sorry everybody. The project has been on hold as I wanted someone with more experience than myself to go over my soundchip control line conversion logic and I'm hoping a certain someone will be willing to provide some feedback following a direct message I got on here a while back but had not seen. This is the current design, I've made a few changes following feedback I've gotten and things I've learned since starting this (such as a dedicated power input and a semi isolated ground-plane for the audio circuitry) and as soon as someone backs up my control line logic as making sense I will get a prototype PCB or 2 ordered, as I have a bit more disposable income than I did when I first started looking into this as I got a much better paying job last year :) :

Render-2.jpg
PCB-2.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Cyprian
Posts: 547
Joined: 22 Dec 2017 09:16
Location: Warszawa, Poland

Re: Putting a YM2203 FM soundchip in place of the YM2149

Post by Cyprian »

keep finger crossed
ATW800/2 / V4sa / Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
http://260ste.atari.org
nokturnal
Posts: 103
Joined: 12 Aug 2020 12:30
Location: Warsaw

Re: Putting a YM2203 FM soundchip in place of the YM2149

Post by nokturnal »

@unseenmenace Cool project.. I've got vgm player already for opl2/3. I could help with it. I think it would be just a question of writing proper driver for it and handling ym2203 commands. Someone wrote that this chip could end up in Sts, but for some reasons didn't. Is this true? It could bring a massive difference back in 85..And I wonder what is the source of this rumour?
How programmer interface of it looks like? How this hardware can be detected from os?
How audio of this chip is integrated into st hardware? Does it need extra output connectors or sound is mixed somehow into st audio output?
nokturnal
------------------------
www: https://nokturnal.pl
User avatar
unseenmenace
Posts: 19
Joined: 01 Apr 2021 09:02

Re: Putting a YM2203 FM soundchip in place of the YM2149

Post by unseenmenace »

nokturnal wrote: 30 Dec 2023 20:02@unseenmenace Cool project.. I've got vgm player already for opl2/3. I could help with it. I think it would be just a question of writing proper driver for it and handling ym2203 commands.
Thanks, I'm always happy for any help anyone can offer! I'm actually working on a stave based music program similar to Quartet that I plan to add support for the YM2203 to.
nokturnal wrote: 30 Dec 2023 20:02Someone wrote that this chip could end up in Sts, but for some reasons didn't. Is this true? It could bring a massive difference back in 85..And I wonder what is the source of this rumour?
I have read that they originally wanted a Yamaha FM synth sounchip for the ST (though I think it was a more advanced one than the YM2203) but they changed plans to keep costs down.
nokturnal wrote: 30 Dec 2023 20:02How programmer interface of it looks like? How this hardware can be detected from os?
The reason I picked the YM2203 is because it contains everything the YM2149 does (and has a very similar pinout) but just has a few extra registers to control the extra FM sound channels. You set parameters exactly the same way as the 3 square-wave PSG channels present in both the YM2149 & YM2203.
nokturnal wrote: 30 Dec 2023 20:02How audio of this chip is integrated into st hardware? Does it need extra output connectors or sound is mixed somehow into st audio output?
You could have the 3 square-wave channels just go back into the ST's motherboard and be fed out of the monitor socket but the FM sound has it's own separate digital output requiring a Yamaha DAC chip and amplifier which would complicate merging the outputs together, hence the design of my PCB gives you the choice of 3 different ways to handle all the sound outputs:

1. All 3 PSG channels and the 3 FM channels merged into a single mono output
2. The 3 PSG channels combined into the left output and the FM channels into the right output
3. PSG 1 to left output, PSG 2 lowered and sent to left and right, PSG 3 to right output and FM output to both left and right

Ideally you'd mount some phono sockets or a stereo jack socket to the rear of the ST for this and connect to the chosen output from the PCB.
nokturnal
Posts: 103
Joined: 12 Aug 2020 12:30
Location: Warsaw

Re: Putting a YM2203 FM soundchip in place of the YM2149

Post by nokturnal »

@unseenmenace Regarding vgm player pm me, so we will arrange something.
nokturnal
------------------------
www: https://nokturnal.pl
User avatar
chronicthehedgehog
Site sponsor
Site sponsor
Posts: 384
Joined: 08 May 2022 18:11
Location: The Midlands

Re: Putting a YM2203 FM soundchip in place of the YM2149

Post by chronicthehedgehog »

Cool project. I've been playing around with MaxYMiser a lot recently so it got my interest.

I especially like projects that won't destroy my bank balance :)

Just a thought.. since it would require socketing the YM anyway. The means to retro fit a floppy drive A/B switch would be nice. Tented vias or something.
nokturnal
Posts: 103
Joined: 12 Aug 2020 12:30
Location: Warsaw

Re: Putting a YM2203 FM soundchip in place of the YM2149

Post by nokturnal »

@unseenmenace I've wrote preliminary support for YM2203, so I can parse ym2203 VGM tunes right now, so the only thing needed is just fill in like three driver functions and done (init/deinit/write). So give a shout, when you will have something working..
nokturnal
------------------------
www: https://nokturnal.pl

Return to “HARDWARE DISCUSSIONS”

Who is online

Users browsing this forum: Baidu [Spider], ClaudeBot, SteveBagley and 12 guests