Hi, Stas, For Doom and the like it should be easy to incorporate a workaround into DosEmu (it's tougher to do in WinNT because NT's NTVDM.EXE does not expose a proper interface for what is needed, but anyway). If interrupts have been disabled for more than a certain amount of time (easy to detect from within the emulated IRQ0 generator, maybe coupled with the CLI/STI trap handler), DosEmu could force the enabling of interrupts. Then Doom should then get past the "Initializing timer..." lockup and work properly. Can someone test that?
Thx, Vlad. > -----Original Message----- > From: Stas Sergeev [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 20, 2001 8:17 AM > To: [EMAIL PROTECTED] > Subject: Re: DMA-Sound support in dosemu > > Oliver Ob wrote: > > > Now I already made some programs to work with sound: pv > (mp3 player), > > > iplay (stm player) some other utilities and some games. > > > The fact that I don't have a sound card appears to be not > a big problem: I > > have > > > pc-speaker, and that just required some more hacks. > > what games? > The complete list is too long:) But it is worth to mention > SimCity2000, > Settlers2, Dune, ThemeHospital, Grand Thief Auto and some > other games that > use DMA transfer as well as some older games that use direct > DAC writes. > > Doom and other famous ID games doesn't work (and probably > never will), the > reason was pointed out by Vlad Romascanu (it just locks > dosemu, and if it > was suid-root under console, it locks the whole linux box > when sound is > enabled). > > > and what have you changed? > The patch was attached to my letter, didn't you notice it? > Anyway, it was mostly a hacks and workarounds. The only > purpose I posted it > here was to enshure whether it works for the real soundcards, > since the only > sound device I have is pc-speaker and I had to make some > tricks to adjust > the code for that "device". > There were several people complaining the sound support in > dosemu. As they > are unwilling to test the patch, they'll have to complain > further, until > someone with a soundcard will fix their problems:) - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html