Pages: [1] 2   Go Down
  Print  
Author Topic: True OPL3 output in DosBox  (Read 3305 times)
0 Members and 1 Guest are viewing this topic.
endre1952
Senior Member
*
Offline Offline

Posts: 355


View Profile
« on: February 24, 2010, 07:46:45 PM »

If I wanted to drive a real OPL3 sound card in DosBox, what would be my options? There's a verison of DosBox supporting OPL passthrough. I know there are some P4 motherboards with ISA slots, but I have not seen one with DDR2 and PCI-E slots. I do have several ISA Sound Blaster cards with true OPL2 or OPL3 chips hanging around.

There are some ISA to USB adapters available, would any of those work with a sound card?
« Last Edit: February 24, 2010, 07:47:13 PM by endre1952 » Logged
MusicallyInspired
Senior Member
*
Offline Offline

Posts: 1,066


-Inspired by Mike Oldfield


View Profile WWW
« Reply #1 on: February 26, 2010, 06:38:41 AM »

Here's one. First one on the page. The MB-P4BWA. Supports Core 2 Quad processors, DDR2, SATA, RAID, 1 x PCI-Express X16, 1 x PCI-Express X4, 1 x mini-PCI, 4 x PCI, and 2-ISA slots. Haven't seen any for sale anywhere though. But it exists. I've been looking for it myself.
« Last Edit: February 26, 2010, 06:42:18 AM by MusicallyInspired » Logged

"Booyah! Look out, LeChuck! Here comes Guybrush Threepwood's glowing sword of hot monkey vengeance!"
-Guybrush Threepwood, Tales of Monkey Island
Silent Loon
Associate Member
*
Offline Offline

Posts: 12


View Profile
« Reply #2 on: June 15, 2010, 10:22:32 AM »

If I wanted to drive a real OPL3 sound card in DosBox, what would be my options?

I use the modified version of dosbox (with passthrough) you've allready mentioned with a YMF724 based PCI soundcard (its a Yamaha Waveforce  192 clone). As the YMF724 is from Yamaha they have included the original OPL3 circuit, so it should sound the same (I think it sounds even better). This seems to me the cheapest solution (you should get a used one for around 5-10$).
Logged
endre1952
Senior Member
*
Offline Offline

Posts: 355


View Profile
« Reply #3 on: June 15, 2010, 10:32:59 AM »

Thanks for the tip! I'll try to get one.
Logged
Silent Loon
Associate Member
*
Offline Offline

Posts: 12


View Profile
« Reply #4 on: June 15, 2010, 11:02:04 AM »

Good luck!
When you have got it, maybe we could compare some sound samples.

I also managed to get the famous stereo SBPro 1 (CT1330) music under dosbox, which is strange, as the YMF 724 of course has only one OPL integrated.
Logged
Great Hierophant
Senior Member
*
Offline Offline

Posts: 981



View Profile
« Reply #5 on: June 15, 2010, 12:45:48 PM »

If I wanted to drive a real OPL3 sound card in DosBox, what would be my options?

I use the modified version of dosbox (with passthrough) you've allready mentioned with a YMF724 based PCI soundcard (its a Yamaha Waveforce  192 clone). As the YMF724 is from Yamaha they have included the original OPL3 circuit, so it should sound the same (I think it sounds even better). This seems to me the cheapest solution (you should get a used one for around 5-10$).

I considered this same solution, but I was never able to get the YMF-724 card working with the OPL passthrough versions of DOSBox.  My OS was Windows XP and porttalk did not work to send the OPL data to the card.  In Windows 98, however, it did work.  Windows 98 does allow direct IO access to peripherals, Windows XP does not.  

Good luck!
When you have got it, maybe we could compare some sound samples.

I also managed to get the famous stereo SBPro 1 (CT1330) music under dosbox, which is strange, as the YMF 724 of course has only one OPL integrated.

But that YMF-724 can do stereo OPL3 music.  Which game were you using? 
« Last Edit: June 15, 2010, 12:48:54 PM by Great Hierophant » Logged

endre1952
Senior Member
*
Offline Offline

Posts: 355


View Profile
« Reply #6 on: June 15, 2010, 12:54:12 PM »

No problem, I may install a version of Win98SE just for DosBox.
Logged
Silent Loon
Associate Member
*
Offline Offline

Posts: 12


View Profile
« Reply #7 on: June 15, 2010, 01:08:03 PM »

I'd also heard about the problems with XP, so I used win98 from the beginning

But that YMF-724 can do stereo OPL3 music.  Which game were you using? 

Ultima UW - seems to be the only one that uses the two OPL2s of the CT1330A for stereo music (with a Pro2 you get mono, I think). I chose the SBPro 1 + 2xopl2 options in dosbox and it works (but I don't know how - so I got suspicious that the passthrough version is not configured correctly)
Logged
Great Hierophant
Senior Member
*
Offline Offline

Posts: 981



View Profile
« Reply #8 on: June 16, 2010, 02:41:11 PM »

I'd also heard about the problems with XP, so I used win98 from the beginning

But that YMF-724 can do stereo OPL3 music.  Which game were you using? 

Ultima UW - seems to be the only one that uses the two OPL2s of the CT1330A for stereo music (with a Pro2 you get mono, I think). I chose the SBPro 1 + 2xopl2 options in dosbox and it works (but I don't know how - so I got suspicious that the passthrough version is not configured correctly)

Both dual OPL2 and OPL3 can do stereo FM music, they just do it in different ways.  Perhaps the OPL Passthrough translates one into the other.

However, does your Windows machine lack ISA slots?  Porttalk certainly works with ISA devices in Windows XP, and DOS games always work better overall with an ISA card. 
Logged

Silent Loon
Associate Member
*
Offline Offline

Posts: 12


View Profile
« Reply #9 on: June 17, 2010, 09:39:36 AM »

The pc I use with the YMF724 is actually based on a VIA P4MA Pro 533 board. This is a P4 mATX board that still supports AGP 3.3V cards and can thereby house my Voodoo 5500 AGP. Its mATX and there is no ISA slot (unfortunately).
My idea was to use this as a fast V5 assembly (CPU is 2.4 Ghz P4) that offers the possibility to play (very) old dos games via dosbox. MT-32 support can be achieved by using a midi / joystick adapter and plug it in the MT-32. For "true" OPL support I had this idea with the passthrough version and the YMF724. It sounds good, but passthrough and standard versions of dosbox sound very similar, maybe because the dosbox emulation is very close to the original?
I don't know how dosbox accesses the soundcard, or how the passthrough works. But could it be possible that the passthrough is not necessary, when the OPL circuit is integrated into the soundchip? The YMF724 card is a one chip solution, I guess.
Logged
endre1952
Senior Member
*
Offline Offline

Posts: 355


View Profile
« Reply #10 on: June 17, 2010, 10:29:27 AM »

I did get a YMF-724 PCI card very cheap: just 1.99USD+6USD shipping. I can make recordings when it arrives.

Two questions:

Is it possible to install Win98SE on a system that already has XP and Vista on two seperate partitions?

Possible solution I'm thinking of: make a small empty partition with Partition Magic, install Win98SE on it, then restore the Vista bootloader.

My GPU in my main system is a Radeon 4650 HD PCI-E. Is there any driver for it that might work with Win98?

The card, with the DOS drivers I've found, should also work in real DOS, shouldn't it? I wonder how many DOS games will run properly on a 2.7GHZ dual core system...

I have built a 386 SX40 for retro gaming, but I don't want to build a third system that's in between.
« Last Edit: June 17, 2010, 02:57:04 PM by endre1952 » Logged
Great Hierophant
Senior Member
*
Offline Offline

Posts: 981



View Profile
« Reply #11 on: June 19, 2010, 03:03:28 AM »

The pc I use with the YMF724 is actually based on a VIA P4MA Pro 533 board. This is a P4 mATX board that still supports AGP 3.3V cards and can thereby house my Voodoo 5500 AGP. Its mATX and there is no ISA slot (unfortunately).
My idea was to use this as a fast V5 assembly (CPU is 2.4 Ghz P4) that offers the possibility to play (very) old dos games via dosbox. MT-32 support can be achieved by using a midi / joystick adapter and plug it in the MT-32. For "true" OPL support I had this idea with the passthrough version and the YMF724. It sounds good, but passthrough and standard versions of dosbox sound very similar, maybe because the dosbox emulation is very close to the original?
I don't know how dosbox accesses the soundcard, or how the passthrough works. But could it be possible that the passthrough is not necessary, when the OPL circuit is integrated into the soundchip? The YMF724 card is a one chip solution, I guess.

Okay, that does make sense.  DOSBox's OPL emulation is very good, just a bit shy of perfection with very infrequently used features such as rhythm sounds and digital sampling.  As DOSBox requires a lot of CPU power, using the passthrough mode means that it does not have to waste a significatn amount of CPU power emulating OPL. 

The passthrough driver works by sending the OPL data that the DOS game or program is generating directly to OPL hardware on your system.  If there is no OPL hardware (or hardware that is set up to emulate OPL) in your system, it will not work.  Vanilla DOSBox cannot utilize real OPL hardware in any way, it is designed to be run on as many computing devices, PC and non-PC, as possible.  Outside the IBM PC world, there is little support for OPL2/3. 
Logged

Great Hierophant
Senior Member
*
Offline Offline

Posts: 981



View Profile
« Reply #12 on: June 19, 2010, 04:00:40 AM »

My GPU in my main system is a Radeon 4650 HD PCI-E. Is there any driver for it that might work with Win98?

The card, with the DOS drivers I've found, should also work in real DOS, shouldn't it? I wonder how many DOS games will run properly on a 2.7GHZ dual core system...


Apparently not in Win 9x, see here:
http://www.msfn.org/board/topic/107001-compatible-hardware-with-windows-9x/?s=262e3fbd9dda188aa56dec0474c9c3b1

VGA compatible cards, even that Radeon, which is light-years more advanced than VGA, will work in DOS without a problem and should work with most DOS games.  No drivers are required. 
Logged

jharris01
Senior Member
*
Offline Offline

Posts: 383



View Profile
« Reply #13 on: June 19, 2010, 06:32:46 AM »

The pc I use with the YMF724 is actually based on a VIA P4MA Pro 533 board. This is a P4 mATX board that still supports AGP 3.3V cards and can thereby house my Voodoo 5500 AGP. Its mATX and there is no ISA slot (unfortunately).
My idea was to use this as a fast V5 assembly (CPU is 2.4 Ghz P4) that offers the possibility to play (very) old dos games via dosbox. MT-32 support can be achieved by using a midi / joystick adapter and plug it in the MT-32. For "true" OPL support I had this idea with the passthrough version and the YMF724. The YMF724 card is a one chip solution, I guess.

Will the passthrough patch work with an original Waveforce as well? Supposedly it has a YMF24E chipset. I feel very tempted to take my old computer rig out from storage and try out your approach. I did try running an official DOSBox build under win98 a few years back but wasn't very successful. The computer wasn't fast enough and Win98 kept throwing hissy fits when running DOSBox. I was never able to get DOSBox running stable. Have you run into similar problems? Also what version of DOSBox have you patched? I found a website with the patch but it seems a bit outdated.
Logged
Silent Loon
Associate Member
*
Offline Offline

Posts: 12


View Profile
« Reply #14 on: June 19, 2010, 08:45:01 PM »


Will the passthrough patch work with an original Waveforce as well? Supposedly it has a YMF24E chipset. I feel very tempted to take my old computer rig out from storage and try out your approach. I did try running an official DOSBox build under win98 a few years back but wasn't very successful. The computer wasn't fast enough and Win98 kept throwing hissy fits when running DOSBox. I was never able to get DOSBox running stable. Have you run into similar problems?


The passthrough patch should work with the original Waveforce as well. I think the only difference to my oem YMF724 card is the lack of a spdif connector.

I don't know how the first versions of dosbox perform, but I never run into problems with it. You need a 1Ghz cpu as minimum for an early non-protected-mode dos game. CPU demanding games and especially SVGA games with CD-rom seem to ask for more CPU power, but in fact I had the most problems with setting the speed of the emulation right. I. e, I would still prefer UW on a 486DX33 because the scrolling and moving seems smoother. But the sound in dosbox with a YMF724 and the patch is far better.

I use hal-9000's megabuild: http://home.arcor.de/h-a-l-9000/
I use frontends for dosbox, which makes life with dosbox really easier. First I used defend, now defend-reloaded.
« Last Edit: June 19, 2010, 08:49:28 PM by Silent Loon » Logged
rftl
Associate Member
*
Offline Offline

Posts: 8



View Profile
« Reply #15 on: July 18, 2010, 08:50:36 PM »

Does OPL passthrough work in Win7 64Bit?

Are there even Win7 compatible OPL SoundCards? (yeah probably not)


Logged
jharris01
Senior Member
*
Offline Offline

Posts: 383



View Profile
« Reply #16 on: July 18, 2010, 10:57:57 PM »

Does OPL passthrough work in Win7 64Bit?
Don't think so. This is meant for people who want to use DOSBox using real ISA soundcards. It poses a tricky balance and yet interesting challenge (to those with the hardware to pull it off).

You see to achieve this you would need an old motherboard that has an ISA slot and yet fast enough to run DOSBox. That pretty much limits your choices to hybrid motherboards that came around the turn of the century or special motherboards made for industrial use. It also means your operating system needs to support ISA (eg. Win98/2000/maybe XP [see previous posts about this]) and still be able to run DOSBox.

That's why the interest with the YMF724 chip sound card models. In theory that would allow you to use a faster, all PCI motherboard.

Anyway hope that clears things up.
« Last Edit: July 18, 2010, 11:46:42 PM by jharris01 » Logged
Doctor Creep
Senior Member
*
Offline Offline

Posts: 181


View Profile WWW
« Reply #17 on: July 19, 2010, 10:57:07 AM »

You would need an old motherboard that has an ISA slot and yet fast enough to run DOSBox. That pretty much limits your choices to hybrid motherboards that came around the turn of the century or special motherboards made for industrial use. It also means your operating system needs to support ISA (eg. Win98/2000/maybe XP [see previous posts about this]) and still be able to run DOSBox.


I have a Gigabyte GA-7IXE4 (2 ISA, 5 PCI, 1 AGP) with 1 GHz CPU - great hybrid-system (DOS, Win98 (sort of DOS too Cheesy), Win XP)
Will upgrade to a 1.4 GHz CPU soon - should be fast enough for DOSBox...

Details:

http://queststudios.com/smf/index.php/topic,2833.0.html

Doc
« Last Edit: July 19, 2010, 11:00:35 AM by Doctor Creep » Logged

jharris01
Senior Member
*
Offline Offline

Posts: 383



View Profile
« Reply #18 on: July 19, 2010, 08:34:10 PM »

Looks to me you are ready to rock and roll. If you try this out, let me know how it goes. Would love to hear what games you got running, how they sounded, etc.
« Last Edit: July 19, 2010, 08:54:16 PM by jharris01 » Logged
endre1952
Senior Member
*
Offline Offline

Posts: 355


View Profile
« Reply #19 on: September 27, 2010, 04:36:25 PM »

I'm able to use the OPL3 capabilities of the YMF-724 in true DOS mode on my very modern dual-core system. Unfortunately, I would like do use DosBox opl passthrough under XP or Win 7, which isn't possible, right?
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to: