Last Crusade VGA and Adlib Sound Problem

Getting old software/games running on older hardware.

Last Crusade VGA and Adlib Sound Problem

Postby appiah4 » 2017-11-24 @ 20:20

I run the game with INDY256 m a but get no sound. Does this game require the sound card to be on IRQ7? My ES1868 is on IRQ5 and works with everything else I throw at it. I can not set it at IRQ7, it complains about BIOS or ICU having configured the card at IRQ5 regardless of ESSCFG switches. Any workarounds?
1989:A500R6|512K+RTC|ACA500+|HxC/df1|C1084S
1992:HIPPO-VL+|DX2-66|8M|CL-GD5428|CT2290
1995:PCI597-1|P133|32M|Trio64|ES1868/S2
1998:S1573S|K6-2/400|64M|M220|V2/SLI|CT4500/32M
2000:GA-BX2000|PIII-700E|512M|GF2GTS|MX300
User avatar
appiah4
Oldbie
 
Posts: 1585
Joined: 2017-2-19 @ 07:36

Re: Last Crusade VGA and Adlib Sound Problem

Postby K1n9_Duk3 » 2017-11-24 @ 21:29

AdLib music and sound effects don't require any IRQ or DMA settings. Everything is handled via port I/O at ports 0x388 and 0x389, even on SoundBlaster compatible cards.

Maybe you are dealing with a speed-related issue here. Sending commands to the OPL chip on the AdLib card requires a short delay. If your CPU is too fast, the delay might be too short, so the data isn't recieved correctly by the OPL chip. Detecting the OPL chip also requires a specific delay, so that, too, could cause issues on fast systems. There are way too many games that will not play AdLib music on fast systems, but I honestly don't know if Last Crusade is one of them.
User avatar
K1n9_Duk3
Newbie
 
Posts: 68
Joined: 2016-9-30 @ 11:07

Re: Last Crusade VGA and Adlib Sound Problem

Postby clueless1 » 2017-11-24 @ 21:34

K1n9_Duk3 wrote:There are way too many games that will not play AdLib music on fast systems, but I honestly don't know if Last Crusade is one of them.


You were right, it is listed on the Speed Sensitive Games wiki page:
http://www.vogonswiki.com/index.php/Lis ... tive_games

@appiah4: Try disabling caches.
The more I learn, the more I realize how much I don't know.
Let's benchmark our systems with cache disabled
DOS PCI Graphics Card Benchmarks
User avatar
clueless1
l33t
 
Posts: 3578
Joined: 2015-12-22 @ 17:43
Location: Midwest US

Re: Last Crusade VGA and Adlib Sound Problem

Postby appiah4 » 2017-11-24 @ 22:06

Wow, I never would have thought a P133 would have been too fast for this.. The updated INDY256.EXE file worked like a charm, many thanks.
1989:A500R6|512K+RTC|ACA500+|HxC/df1|C1084S
1992:HIPPO-VL+|DX2-66|8M|CL-GD5428|CT2290
1995:PCI597-1|P133|32M|Trio64|ES1868/S2
1998:S1573S|K6-2/400|64M|M220|V2/SLI|CT4500/32M
2000:GA-BX2000|PIII-700E|512M|GF2GTS|MX300
User avatar
appiah4
Oldbie
 
Posts: 1585
Joined: 2017-2-19 @ 07:36

Re: Last Crusade VGA and Adlib Sound Problem

Postby clueless1 » 2017-11-24 @ 23:07

appiah4 wrote:Wow, I never would have thought a P133 would have been too fast for this.. The updated INDY256.EXE file worked like a charm, many thanks.

Awesome, glad the patch worked! Any game from 1990 or earlier has a decent chance to have issues on any Pentium. Some game devs seemed to know how to account for frame limiting in their games (id) while others didn't (Origin, Lucas Arts, Sierra).
The more I learn, the more I realize how much I don't know.
Let's benchmark our systems with cache disabled
DOS PCI Graphics Card Benchmarks
User avatar
clueless1
l33t
 
Posts: 3578
Joined: 2015-12-22 @ 17:43
Location: Midwest US

Re: Last Crusade VGA and Adlib Sound Problem

Postby Great Hierophant » 2017-12-25 @ 04:35

The 16-color versions of Indy and the Last Crusade and Secret of Monkey Island are extremely speed-sensitive when they detect an Adlib card. If you run them on a 386DX40 or better, you will get a runtime error. They are not nearly as speed sensitive with other sound devices. Loom with copy protection also suffers from this issue, but the Loom released in the Classic Adventures Collection does not. I would suggest that the game was recompiled to get rid of the protection and added more forgiving Adlib detection and initialization code.
http://nerdlypleasures.blogspot.com/ - Nerdly Pleasures - My Retro Gaming, Computing & Tech Blog
User avatar
Great Hierophant
l33t
 
Posts: 2351
Joined: 2003-4-27 @ 08:20


Return to Software

Who is online

Users browsing this forum: No registered users and 1 guest