3 ms·
The PC shareware version of this game was the very first thing I ever downloaded from the internet back in 1995. I never got the audio to work. With my Sound Bl
by Answerawake 9y ago
The PC shareware version of this game was the very first thing I ever downloaded from the internet back in 1995. I never got the audio to work. With my Sound Blaster 16 card it would always produce the "data noise" that you would hear if you were to play back a data track in a CD player.
This is one of those unanswered questions in my computing career. Did anyone else play the PC version and if so, did you also have problems getting the sound to work in the shareware demo? Does anyone have any ideas as to what could have caused this problem? Was it just not tested?
If I never do get an answer, one day when I have time, I hope to set up a test environment, find that old shareware demo and try to reverse that part of the code to see what it is doing.
- khedoros1 9y agoIt's available on archive.org. It (the music) works in DosBox using Sound Blaster 16 emulation, and providing the value for DosBox's "hdma" setting, rather than the standard "dma" setting. Giving it the value for "dma" just resulted in silence, but maybe could've screeched in your ear on the actual hardware. I've got a machine with an SB16 at home, and you've made me curious to try it. My kid'll be happy to see a new game running on it :-)
- khedoros1 9y agoLooked at it. I've got 192MB in that machine, and apparently there's a bug in the game that causes it to react badly to over 32MB of RAM, with an error like "Error allocating XMS". I can have Windows 98 expose less memory to the process, and the game launches, but no OPL3 audio then. Apparently there are some XMS-eater programs that would consume all the spare memory, but I haven't experimented with those yet. That's the easy solution, but I'm tempted to find the error in the code and patch the binary.
- Answerawake 9y agoThanks for looking into it. Hmm, I recall that I was running the game on a Windows 95 (ver a or b most likely not OSR2) box with maybe 32MB of ram? Possibly 16MB So on your machine, what sound card do you have installed? Are you able to select sound blaster 16 in the configuration? Also, as a side note, I finally got to hear what it is supposed to sound like on archive.org :)
- khedoros1 9y agoNo idea if you're still watching this thread. I've got a Creative Labs Sound Blaster 16 card. It's a version with ISA and PnP (no jumpers), but I don't remember the exact model number offhand. I selected SB16 in the configuration without trouble. I also did some extra credit work: I diagnosed and fixed the memory error that I described, to get it running on my machine. There's a place in the code where it gets the number of kilobytes of free RAM. It compares it to the required memory, then uses a "jg" (signed comparison, jump if greater) to jump. I changed that instruction to "ja" (unsigned comparison, jump if above), and the game boots correctly now. Of course, the easier answer was always "download the demo from archive.org and run it in Dosbox", but then you're missing out on part of the fun ;-)
- Answerawake 9y agoHey there, Thank you for the follow up. I have an old Pentium 3 laptop lying around that I have been meaning to try to use to simulate the audio issue. I am not convinced that giving the value of "dma" is what caused the audio glitch. I wanted to record a video showing the issue so maybe we can try to trace what was causing the audio problem. It could have been maybe an old version of the shareware demo with the bug? Maybe there was something specifically wrong with my machine back in 1995? I do recall that I did have an ISA Sound Blaster 16 card. I am not entirely sure but I may have re-tested the game (and still had the problem) in 1998 when I got a better computer, this time with an AWE64 Value ISA card. I have to embarrassingly admit that despite me studying CS, I would not know how to trace the game like you did to discover the cause of the memory problem. One day I hope to get to your level of expertise. I have not been able to set aside some time to see if the audio glitch is reproduced on that Pentium 3 laptop. I am not even sure what kind of sound card is in there but it is the oldest hardware that I have so it will be worth a shot.