VOGONS


FMonster, the monster of sound synth

Topic actions

Reply 100 of 275, by Scali

User metadata
Rank l33t
Rank
l33t
matze79 wrote:

As far as i know the BIOS cares about LPT, so it can be possible it asks system bios for lpt1 adress ?

That's the question.
The BIOS indeed has a table of printer ports, and will scan ports at 0x3BC, 0x378 and 0x278, in that order, to determine the first, second and third printer ports.
In practice, that means that on PCs with MDA cards, LPT1 is at 0x3BC, and at most others, it is at 0x378.
However, since 0x378 is so common, I wouldn't be surprised if many games and other software just hardcode that value.

http://scalibq.wordpress.com/just-keeping-it- … ro-programming/

Reply 102 of 275, by Fagear

User metadata
Rank Member
Rank
Member
DjLc wrote:

especially if you add digital output from the OPL2/3 parts 😀

What kind of digital output do you expect from OPL2 and OPL3 blocks? As far as I can tell, those don't have any S/PDIF or I2S output, those use some internal FP-DACs. 😕

New BIG soundcard: FMonster.
Covox Sound Master replica
Innovation SSI-2001 replica & DuoSID.
My audio/video collection.

Reply 103 of 275, by Scali

User metadata
Rank l33t
Rank
l33t
Fagear wrote:
DjLc wrote:

especially if you add digital output from the OPL2/3 parts 😀

What kind of digital output do you expect from OPL2 and OPL3 blocks? As far as I can tell, those don't have any S/PDIF or I2S output, those use some internal FP-DACs. 😕

The OPL2 and OPL3 use external DACs actually, the YM3014 and YAC-512 respectively.
So you can 'tap' the digital output from these chips, and convert them to regular SPDIF-compatible output.

See here for more info:
http://nerdlypleasures.blogspot.com/2015/02/d … -recording.html

Last edited by Scali on 2018-09-14, 10:08. Edited 1 time in total.

http://scalibq.wordpress.com/just-keeping-it- … ro-programming/

Reply 104 of 275, by Fagear

User metadata
Rank Member
Rank
Member
Scali wrote:

The OPL2 and OPL3 use external DACs actually, the YAC-3014 and YAC-512 respectively.
So you can 'tap' the digital output from these chips, and convert them to regular SPDIF-compatible output.

Yes, I know about external DACs, I meant to say that interfaces between OPL chips and their DACs are not some standard I2S or S/PDIF. You need to do some sort of conversion. I guess, putting some S/PDIF DAC to main analog output will not be sufficient. 🤣

New BIG soundcard: FMonster.
Covox Sound Master replica
Innovation SSI-2001 replica & DuoSID.
My audio/video collection.

Reply 105 of 275, by Scali

User metadata
Rank l33t
Rank
l33t
Fagear wrote:

Yes, I know about external DACs, I meant to say that interfaces between OPL chips and their DACs are not some standard I2S or S/PDIF. You need to do some sort of conversion. I guess, putting some S/PDIF DAC to main analog output will not be sufficient. 🤣

Yea, basically you'd need some kind of microcontroller/DSP that performs two basic tasks:
1) Convert the proprietary Yamaha floating-point format to a standardized linear integer format as supported by SPDIF (eg 16-bit or 24-bit).
2) Convert the proprietary Yamaha samplerate of 49716 Hz to a standardized samplerate as supported by SPDIF (eg 44.1 kHz, 48 kHz, 96 kHz etc).

Possible, but not easy or cheap.
Attaching a SPDIF-compatible ADC to the output of the Yamaha DAC is probably cheaper, easier, and works about as well in practice.

http://scalibq.wordpress.com/just-keeping-it- … ro-programming/

Reply 106 of 275, by Tiido

User metadata
Rank l33t
Rank
l33t

One option is to use OPL3L, which has 44.1KHz output with standard I2S interface that majority of DAC and SPDIF chips can use.

T-04YBSC, a new YMF71x based sound card & Official VOGONS thread about it
Newly made 4MB 60ns 30pin SIMMs ~
mida sa loed ? nagunii aru ei saa 😜

Reply 107 of 275, by Fagear

User metadata
Rank Member
Rank
Member

Something showed up... 😏

2018-09-19 22.47.16.jpg
Filename
2018-09-19 22.47.16.jpg
File size
1.08 MiB
Views
1538 views
File comment
Debug boards, for real.
File license
Fair use/fair dealing exception

But two of those are already obsolete. 🤣

New BIG soundcard: FMonster.
Covox Sound Master replica
Innovation SSI-2001 replica & DuoSID.
My audio/video collection.

Reply 108 of 275, by Tiido

User metadata
Rank l33t
Rank
l33t

Very naiss ~

T-04YBSC, a new YMF71x based sound card & Official VOGONS thread about it
Newly made 4MB 60ns 30pin SIMMs ~
mida sa loed ? nagunii aru ei saa 😜

Reply 110 of 275, by matze79

User metadata
Rank l33t
Rank
l33t

Is it also possible to get single Blocks ? 😁

i would like to get CMS only 😀 and still the SSI Kits..

https://www.retrokits.de - blog, retro projects, hdd clicker, diy soundcards etc
https://www.retroianer.de - german retro computer board

Reply 111 of 275, by awgamer

User metadata
Rank Oldbie
Rank
Oldbie
Fagear wrote:

All those optimizations gave me about 49 mm free length at the right side for something else. Or just for shrinking the whole board and get cost reduced.

Dual opl2 for sbpro/pas support. Probably a write up about it on Nerdly Pleasures but I seem to recall the original dual opl sbpro was the one with proper stereo panning while it doesn't quite work right /w opl3.

Games with dual OPL2 support for stereo FM?

Reply 112 of 275, by carlostex

User metadata
Rank l33t
Rank
l33t
matze79 wrote:

Is it also possible to get single Blocks ? 😁

i would like to get CMS only 😀 and still the SSI Kits..

It would be nice to get at least a SID + CMS + Tandy. Saving 2 slots with just one card. Too bad the Covox Sound Master won't be ready anytime soon.

Reply 113 of 275, by Fagear

User metadata
Rank Member
Rank
Member
awgamer wrote:

Dual opl2 for sbpro/pas support. Probably a write up about it on Nerdly Pleasures but I seem to recall the original dual opl sbpro was the one with proper stereo panning while it doesn't quite work right /w opl3.

What ports Dual OPL2 used for each chip?

matze79 wrote:

Is it also possible to get single Blocks ? 😁 i would like to get CMS only 😀

Well, it depends. If there will be leftovers after debug process - probably yes. But keep in mind that these debug boards:
1) Have no way to be secured in a case (boards are short and have no mounting brackets).
2) Don't have chamfers on edge connector.
3) Have solder-covered contacts on the edge connector. This will cause degradation of contacts in the slot on the motherboard in the long run as was discussed here.
4) Probably will not work due to some errors (not known yet).

carlostex wrote:

Too bad the Covox Sound Master won't be ready anytime soon.

Who knows?.. 😕
The original board is already on the way to me. At least we will know full PCB layout soon.

New BIG soundcard: FMonster.
Covox Sound Master replica
Innovation SSI-2001 replica & DuoSID.
My audio/video collection.

Reply 114 of 275, by awgamer

User metadata
Rank Oldbie
Rank
Oldbie

>What ports Dual OPL2 used for each chip?

Found it: Re: Games with dual OPL2 support for stereo FM?
Check out Jepael's post.
"..

Dual OPL2 Sound Blaster has left OPL2 at 0x220/0x221 and right OPL2 at 0x222/0x223. Writing to 0x228/0x229 or 0x388/0x389 will write to both chips simultaneously, for single OPL2 compatibility with Adlib and older SBs.

..

Dual OPL2 PAS seems to have left OPL2 at 0x388/0x389 and right OPL2 at 0x38A/0x38B. For Adlib and single OPL2 compatibility, the left OPL2 chip output is configured in the mixer to go to both left and right outputs. To use dual OPl2 on PAS, mixer has to be configured to output left OPL2 on left output only.

.."

There was apparently a really good write up on dual opls on questdstudios that's now dead that was often referenced for how great they were with examples that makes me really want to see it: "dual OPL2 supremacy" but so far no luck digging it up. A gem lost forever or did someone save it? http://queststudios.com/smf/index.php?topic=3341.0

https://www.facebook.com/RSD.Game.Maker/posts … 47534595274080/

Reply 115 of 275, by root42

User metadata
Rank l33t
Rank
l33t
awgamer wrote:

There was apparently a really good write up on dual opls on questdstudios that's now dead that was often referenced for how great they were with examples that makes me really want to see it: "dual OPL2 supremacy" but so far no luck digging it up. A gem lost forever or did someone save it? http://queststudios.com/smf/index.php?topic=3341.0

https://www.facebook.com/RSD.Game.Maker/posts … 47534595274080/

Did you try archive.org?

https://web.archive.org/web/20140904224828/ht … hp?topic=3341.0

YouTube and Bonus
80486DX@33 MHz, 16 MiB RAM, Tseng ET4000 1 MiB, SnarkBarker & GUSar Lite, PC MIDI Card+X2+SC55+MT32, OSSC

Reply 116 of 275, by awgamer

User metadata
Rank Oldbie
Rank
Oldbie

Yeah I did, curious, I wonder why it worked with the link you've given here and not when I tried it earlier. No matter. Not so much a great write up on dual opl2s, more about the examples, even two of them work, title and the mountains one, and can get to the other ones by grabbing the original links and going there directly:) More examples further down the thread as well. Cloudschatze is right, the dual opl2s sound better, rich, while opl3 sounds flat. Dual OPL2s, putting the monster in monster sound:) If you do decide to add dual opl2 and have to choose between sbpro and pas for technical reasons, sbpro would probably be the better bet.

Reply 117 of 275, by Fagear

User metadata
Rank Member
Rank
Member
awgamer wrote:

Found it: Re: Games with dual OPL2 support for stereo FM?
Check out Jepael's post.

I'll look into that.
As I understand it for the moment, Dual OPL2 need those ports:

OPL2-L: 0x220/0x228/0x388
OPL2-R: 0x222/0x228/0x388/0x38A

As I can see it, there is no way to get those addresses from just two 74HC138 that are used now. Now even if address decoders will be different for left and right channels. Just not enough appropriate inputs on those.

OPL2-L:
E987654321 0
0100010000 0 - 220
0100010100 0 - 228
0111000100 0 - 388
==++=+=+==

OPL2-R:
E987654321 0
0100010001 0 - 222
0100010100 0 - 228
0111000100 0 - 388
0111000101 0 - 38A
==++=+=+=+

Probably I have to go to "DuoSID" approach and extract combined address decoder for both OPL2 ICs into separate block and re-compound remaining parts of OPL2 blocks, while making two of those on the board.

New BIG soundcard: FMonster.
Covox Sound Master replica
Innovation SSI-2001 replica & DuoSID.
My audio/video collection.

Reply 118 of 275, by Fagear

User metadata
Rank Member
Rank
Member

I think I've made it. 🙄
First of all, three 74HC138 gave me ability to implement all of the required addresses:

OPL2
E987654321 0
0100010000 0 - 220
0100010001 0 - 222
0100010100 0 - 228
0111000100 0 - 388
0111000101 0 - 38A
==++=+=+=+
b1 a C A 01234567

E987654321 0
0100010000 0 - 220
0100010001 0 - 222
0100010100 0 - 228
== = = =
bC 1 B A a

E987654321 0
0111000100 0 - 388
0111000101 0 - 38A
== = = =
1C b B A a
ports_OPL2_2018-10-07_01.png
Filename
ports_OPL2_2018-10-07_01.png
File size
68.41 KiB
Views
1272 views
File comment
Dual OPL2: 0x220, 0x222, 0x228
File license
Fair use/fair dealing exception
ports_OPL2_2018-10-07_02.png
Filename
ports_OPL2_2018-10-07_02.png
File size
67.86 KiB
Views
1272 views
File comment
Dual OPL2: 0x388, 0x38A
File license
Fair use/fair dealing exception

Next, I fully re-routed OPL2 board.
It was mono @37 mm.

OPL2_2018-08-16.png
Filename
OPL2_2018-08-16.png
File size
57.16 KiB
Views
1272 views
File comment
OPL2 @2018-08-16
File license
Fair use/fair dealing exception

Now it is stereo @61.5 mm that is less than 74 mm (37x2).

OPL2_2018-10-08.png
Filename
OPL2_2018-10-08.png
File size
212.03 KiB
Views
1272 views
File comment
Dual OPL2 debug PCB
File license
Fair use/fair dealing exception

I'll assemble "old" OPL2 mono board first to check if it works at all and to measure consumption before opting to make a new Dual OPL2 one.

New BIG soundcard: FMonster.
Covox Sound Master replica
Innovation SSI-2001 replica & DuoSID.
My audio/video collection.

Reply 119 of 275, by awgamer

User metadata
Rank Oldbie
Rank
Oldbie

I was thinking, while a number of games with tandy support expect tandy video and memory map, so rounding out tandy sound isn't a priority, on the other hand since most everything on the monster card are the monster(tm) versions, dual sids, dual opl2s, cms(dual saa1099s), could stick to the theme as it were with the monster version of tandy, aka topping it off with the tandy dac. Of the simple dacs to add with any remainder space that'd be the one I'd choose if they all couldn't be included since most everyone will have an unused lpt port for covox and disney, there are already projects done for those: Reversing the Disney Sound Source and the only way to get tandy dac otherwise is through a real tandy or dosbox/other. Just a thought when you get to the tail end of the project. Also, have you seen LABS blasterboard project? BLASTERBOARD : A new SB 2.0-compatible ISA sound card Very low noise and has speaker and cd in.

edit: Last time I tried figuring it out, I can't recall any games that supported tandy dac, covox or disney that didn't support sound blaster on mobygames, so all three wouldn't be a priority to me. Something to flesh out I suppose.

Last edited by awgamer on 2018-10-09, 09:21. Edited 5 times in total.