crazii / SBEMU

legacy sound blaster emulation for DOS
GNU General Public License v2.0
624 stars 33 forks source link

Screamer 1/2/Rally only work with wrong IRQ settings #23

Open Chris5523 opened 1 year ago

Chris5523 commented 1 year ago

On my IBM Thinkpad X40 (Soundmax Chip) sbemu places the Soundblaster Card on IRQ 7. This works fine in the games I tried with the exception of the 3 Screamer games. In the setup the soundcard works when I test the sound with 220,1,7. But all 3 games crash after loading the course. They only work when I choose 220,1,5. Screamer 2 has an option for soundcard music, but the game crashes when I choose it. CD-Audio remains silent (I guess it is not implemented in sbemu), but the game works.

PS: Thank you for this fantastic piece of software, I really love it.

4nd3r50ncr commented 1 year ago

he won't provide anything else, and on top of that the code he put in isn't under any license, except some files he used that use some kind of free license like gnu, bsd, or personal free. On top of that, compilation is impossible because, whether in real or emulated mode, compilation using the djgpp compiler does not work in any way, that is, in addition to being an exempt person, he abandons everything from one hour to the next if he leaves a trace of the .MAK file original for possible testing by the community, as he either didn't want to get involved anymore, or got scared because of something.

Chris5523 commented 9 months ago

6 months later we get many new versions in the meantime, with big improvements. I would like to take the opportunity to tell you: You were wrong (and I am not only talking about your arguments here). :)

crazii commented 9 months ago

Funny that I totally missed his comments. It's not good to make assumptions/judgements about others, but it's okay since we all cannot avoid it in some way, can we? :)

Also missed this issue created by you, sorry for that. Thanks for reporting, does it work now? I remember some games will choose VCPI over DPMI, you might need disable VCPI AFTER SBEMU is installed. by calling it in cmdline:

JEMMEX NOVCPI

But I'm not sure if it is the cause of your problem. If it still doesn't work, please wait for beta4 version which might have some compatibility fixes.

crazii commented 9 months ago

Is there any other device on you PC that uses IRQ 7? It might be an IRQ conflict if other devices use IRQ 7 too, you can use some tools to list your devices & IRQs. Or you can disable all your onboard/integrated devices (NIC/USB etc) to make sure they don't have IRQ conflicts.

Chris5523 commented 9 months ago

Hi, thanks for your reply. I just tested it with the latest version and it is still the same. I can't disable the USB as I am booting from a USB Stick into the old Laptop I use, but I think this shouldn't be the cause of the issue as the soundtest runs fine in the setup with IRQ 7, it only crashes ingame. It is not a real issue as everything works fine with IRQ 5 it is just a little odd.

crazii commented 9 months ago

Hi, there's some compatibility fixes that might solve this.

Chris5523 commented 9 months ago

Hi, thanks for the update. I tried it with the screamer games, but they still don't work with IRQ 7. While older versions worked with IRQ 5 this crashes here (what should have been the expected behavior, so this is fixed, but the workaround no longer works ;) ). I went back a few versions to see since when this doesn't work anymore, it worked in [UserBuild_2024.01.23_13-17]. I will test other versions in the upcoming days to see which was the last version that made Screamer run with IRQ 5.

crazii commented 9 months ago

OK, thanks for the testing, I'll check the problem.