VOGONS


OPL2LPT

Topic actions

Reply 420 of 566, by norduk

User metadata
Rank Newbie
Rank
Newbie

Hi, guys! I've soldered OPL2LPT device for using with my P4 (which has an LPT port, but doesn't have any ISA slots). I'm trying to play the Monkey Island and LOOM with it, but it fails. Actually it works, but the melodies it plays in these games are terrible. The test goes fine. I'm using QEMM. EMM386 doesn't works properly on this MB (or with my RAM amount). Has anybody started this device with the games I'm talking about?

Reply 421 of 566, by PaSiTee

User metadata
Rank Newbie
Rank
Newbie

Hi! I also ordered an OPL2LPT and soldered it together. The board is connected to the printer port of my old Pentium box (an Asus TX97 motherboard and AMD-K6 233Mhz) running MS-DOS 7.1 with EMM386. The test program opl2test.exe works, a melody is played. Adlipt.exe also reports a successful installation, but running Doom setup and setting music to Adlib does not work, the board stays silent when starting the game. What could be the cause for this? I have not tested patching Doom, as I like to maintain compatibility with other sound sources.

Reply 423 of 566, by pdw

User metadata
Rank Newbie
Rank
Newbie

@norduk I tried Loom (EGA version) and it works for me on a 233MHz Pentium, but I checked the code and the Adlib timing looks like it might be dodgy on sufficiently fast computers. You'd probably have the same problems with a real Adlib card.
If you could get EMM386 working, that might help. With EMM386 the TSR uses a different emulation strategy that's more resilient against this kind of thing.

Reply 424 of 566, by norduk

User metadata
Rank Newbie
Rank
Newbie
pdw wrote:

If you could get EMM386 working, that might help. With EMM386 the TSR uses a different emulation strategy that's more resilient against this kind of thing.

Aha.. Sounds good. Will try get it working...

Reply 426 of 566, by PaSiTee

User metadata
Rank Newbie
Rank
Newbie
derSammler wrote:

DOOM runs in protected mode. Protected mode games must be patched to work with OPL2LPT.

Ok, thanks! I tried patching DOOM but did not get any sound from the device apart from occasional scrathing noise. Anyway, using Adlipt TSR I managed to get sound out of Lemmings, so the device seems to work. The sound quality remains a bit noisy, but I have to do some more testing. Could be some interference from fans or PSU. Anyway, a fun device and a fun project to build.

Reply 427 of 566, by Artigkar

User metadata
Rank Newbie
Rank
Newbie

Hello, not sure if anyone has asked anything similar in this thread before.
But I wondered if the following classic dosgames are confirmed working with the OPL2LPT:

- 4D Sports Boxing (1991)
- Blackthorne (1994)
- Blake Stone Aliens of Gold (1993)
- Blake Stone Planet Strike (1994)
- Day of the tentacle (1993)
- Dune (1992)
- Dune II (1992)
- Epic Pinball (1993)
- Eye of the Beholder (1991)
- Flashback (1993)
- Lotus: The Ultimate Challenge (1993)
- Prince of Persia (1989)
- Raptor Call of Shadows (1994)
- Stunts/4D sports racing (1990)
- Wacky Wheels (1994)

I think Epic Pinball is kinda like Pinball Fantasies with the adlib support in that it has digital sound instead of FM synth.
Does any of these game work with the OPL2LPT driver currently?
If so which of them?

Reply 428 of 566, by Great Hierophant

User metadata
Rank l33t
Rank
l33t
Artigkar wrote:
Hello, not sure if anyone has asked anything similar in this thread before. But I wondered if the following classic dosgames are […]
Show full quote

Hello, not sure if anyone has asked anything similar in this thread before.
But I wondered if the following classic dosgames are confirmed working with the OPL2LPT:

- 4D Sports Boxing (1991)
- Blackthorne (1994)
- Blake Stone Aliens of Gold (1993)
- Blake Stone Planet Strike (1994)
- Day of the tentacle (1993)
- Dune (1992)
- Dune II (1992)
- Epic Pinball (1993)
- Eye of the Beholder (1991)
- Flashback (1993)
- Lotus: The Ultimate Challenge (1993)
- Prince of Persia (1989)
- Raptor Call of Shadows (1994)
- Stunts/4D sports racing (1990)
- Wacky Wheels (1994)

I think Epic Pinball is kinda like Pinball Fantasies with the adlib support in that it has digital sound instead of FM synth.
Does any of these game work with the OPL2LPT driver currently?
If so which of them?

Epic Pinball does not support Adlib, it supports Sound Blaster, Pro Audio Spectrum and Gravis Ultrasound, all of which have real digital processing hardware. It also supports PC Speaker, but the sounds output from that are basic "beeps and boops."

Anything on that list that requires some kind of 32-bit DOS Extender will not work. I wouldn't bet on Raptor working, it is extremely picky about the DOS environment it expects.

http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog

Reply 429 of 566, by pdw

User metadata
Rank Newbie
Rank
Newbie

Well, that's a pretty eclectic list of games.

  • 4D Sports Boxing: Works.
  • Blake Stone Aliens of Gold: Works.
  • Blake Stone Planet Strike: Works.
  • Dune: Works.
  • Dune II: Works.
  • Epic Pinball: This game doesn't support AdLib.
  • Eye of the Beholder: Works.
  • Flashback: Works.
  • Prince of Persia: Works.
  • Raptor Call of Shadows: Works if patched with ADPATCH.
  • Stunts/4D sports racing: Works.
  • Wacky Wheels: No (protected mode game, no patch).

I don't have a copy of the other games in your list.

Almost all real-mode games work well. The only exceptions are the rare games which try to use the AdLib to play sampled audio: these seem to work on some computers and not on others. YMMV. Pinball Fantasies is one of these. Flashback might be as well -- I'm not sure if the sound effects are samples or just clever AdLib effects.

Protected mode games don't work with the TSR. A few can be patched using ADPATCH. Currently these are Doom & other games using the Doom egine, Raptor and some 32-bit Sierra adventures. I will try to expand this list. I've done some initial work on the Miles Sound System, when that's working a lot of popular mid-90s games should be patchable.

Reply 430 of 566, by Artigkar

User metadata
Rank Newbie
Rank
Newbie

The list is mostly of games I have tested the last year on my 486 laptop without a soundcard that I have not seen confirmed working with opl2lpt until now.
The list may be a little strange, but my computer is very limited: only 25mhz and 4mb of ram. Raptor runs really well on it for example, but of course only limited to pc speaker sound.

Sorry about listing Epic Pinball. I did not have the game on hand for checking while making the list so I relied on false information from the mobygames page on epic pinball: http://www.mobygames.com/game/dos/epic-pinball/techinfo

Interesting info on Flashback. I don't know about how the Adlib works in that game, but I do know that it supports digital sound effects with the PC Speaker option. Wouldn't the Adlib music in Flashback conflict with digital sounds coming from Adlib at the same time? Granted now that I think about it Flashback does not have much music in gameplay and definately not constant music.

Anyway thanks for the information.

Reply 431 of 566, by Scali

User metadata
Rank l33t
Rank
l33t
Artigkar wrote:

Wouldn't the Adlib music in Flashback conflict with digital sounds coming from Adlib at the same time?

Not necessarily. You only need 1 channel to play back samples, so that leaves 8 channels for music.
So you just need to compose your music in a way that one channel is never used, so it is reserved for samples. And your replay routine needs to be designed in a way that you always have a steady replay rate for the sample channel, and update the other channels in between, so the two do not interfere.
Similar techniques are also used on C64 often, with the SID playing samples and music at the same time, or the Tandy music from Rob Hubbard for Kings of the Beach, Ski or Die, 668 Attack Sub and One on One.

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

Reply 432 of 566, by Megadisk

User metadata
Rank Member
Rank
Member

Excuse my ignorance, I just got an older IBM that has MS-DOS 3.30 installed. I'd like to give the OPL2LPT a try on this machine, which memory management works best for this DOS version?

Reply 433 of 566, by dJOS

User metadata
Rank Newbie
Rank
Newbie
Megadisk wrote:

Excuse my ignorance, I just got an older IBM that has MS-DOS 3.30 installed. I'd like to give the OPL2LPT a try on this machine, which memory management works best for this DOS version?

For XT class machines you can only run patched games, the TSR won't work.

If you like Sierra games then it's very worthwhile.

https://youtu.be/jVgY7fRG0Vs

The impossible often has a kind of integrity which the merely improbable lacks.

Reply 434 of 566, by pdw

User metadata
Rank Newbie
Rank
Newbie

Megadisk: In case your system does have a 386:
You'll get best performance with EMM386, but you'll need one of the last releases. Maybe try taking the EMM386.EXE from MS-DOS 6.2 and see if that works on your system. (Did DOS 3.30 already include HIMEM.SYS?)
If that doesn't work, try JemmEx (http://www.ibiblio.org/pub/micro/pc-stuff/fre … -html/jemm.html) or QEMM. These will be much slower, though.

Reply 435 of 566, by AnacreonZA

User metadata
Rank Newbie
Rank
Newbie

https://www.youtube.com/watch?v=VW-S1-s8Egk&t=22s

Video is a bit poor since I recorded it with my iPad mini's camera, but audio is dubbed in from direct recording via my Win10 PC.

Reply 436 of 566, by noop

User metadata
Rank Member
Rank
Member
pdw wrote:

@norduk I tried Loom (EGA version) and it works for me on a 233MHz Pentium, but I checked the code and the Adlib timing looks like it might be dodgy on sufficiently fast computers. You'd probably have the same problems with a real Adlib card.
If you could get EMM386 working, that might help. With EMM386 the TSR uses a different emulation strategy that's more resilient against this kind of thing.

Your great adlipt utility only uses its own delay code when emm386 mode with patching is used.
I encountered same problem on Athlon-based thin client PC with Ultima 6 and with this intro http://www.pouet.net/prod.php?which=5487
If you add a command-line option to force delay subroutines in non-emm386 implementations, (possibly if another write attempt is made without sufficient number of status reads,) those games will work even without patching enabled.
BTW, I discovered that to cheat crappy Adlib detection in a vast majority of games, it is enough to return any small non-zero constant (< 0x20 or < 0x80?) when status is read without doing anything else, such as timer emulation.
Update. I was wrong about this working with _many_ games. Not so many after all.

Last edited by noop on 2018-04-03, 00:19. Edited 1 time in total.

Reply 437 of 566, by matze79

User metadata
Rank l33t
Rank
l33t

>Raptor Call of Shadows: Works if patched with ADPATCH.

Hm adpatch does not list it.
https://github.com/pdewacht/adlipt/tree/master/adpatch

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

Reply 438 of 566, by pdw

User metadata
Rank Newbie
Rank
Newbie

I've made a new release of the OPL2LPT software. Download it here.

New features:

- The "patching" optimization/hack now also works with QEMM and JEMM. Previously it only worked with EMM386.
(@noop: this should solve your problem without new command line switches 😀)

- ADPATCH can now patch games that use the Miles Audio Interface Library. I've also added patches for a bunch of 8086/80286 games. See the list of tested games here I've also written an article that describes how I create ADPATCH patches.

(@matze79: Raptor uses same audio engine as Doom.)

Reply 439 of 566, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie
pdw wrote:
I've made a new release of the OPL2LPT software. Download it here. […]
Show full quote

I've made a new release of the OPL2LPT software. Download it here.

New features:

- The "patching" optimization/hack now also works with QEMM and JEMM. Previously it only worked with EMM386.
(@noop: this should solve your problem without new command line switches 😀)

- ADPATCH can now patch games that use the Miles Audio Interface Library. I've also added patches for a bunch of 8086/80286 games. See the list of tested games here I've also written an article that describes how I create ADPATCH patches.

(@matze79: Raptor uses same audio engine as Doom.)

Yeehaaaa!

Visit http://www.serdashop.com for retro sound cards, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !