VOGONS

Common searches


Search results

Display options

Re: SBEMU: Sound Blaster emulation on AC97

crazii , I tried the SBEMU version form the github-link you gave me and unfortunately the problems with proper initialization of SB emulation in CMI8738 soundcard are same. I just debugged with TR1, it assumes the card is SB16/AWE and read IRQ/DMA from the mixer registers (80h&81h), but mixer reset …

Re: SBEMU: Sound Blaster emulation on AC97

Can you test this temporary build to see if it works? And if it doesn't, you can try /P0 (zero not oh) option to disable MPU port trap to confirm again. SBEMU_fix1.zip EDIT: I also tried to fix the IRQ assignment issue, by just changing the PCI configuration space register only, you can also test …

Re: SBEMU: Sound Blaster emulation on AC97

Yeah, it struggles on Pentium MMX 233 with my SBLive, last time I tried it. It was almost there in terms of performance. Then it's worth a try with MMX enabled. BTW I remember some flags in control register needs to be set to enable it - maybe that's already done by HDPMI. otherwise the CPU will …

Re: SBEMU: Sound Blaster emulation on AC97

Yeah, it struggles on Pentium MMX 233 with my SBLive, last time I tried it. It was almost there in terms of performance. Then it's worth a try with MMX enabled. BTW I remember some flags in control register needs to be set to enable it - maybe that's already done by HDPMI. otherwise the CPU will …

Re: SBEMU: Sound Blaster emulation on AC97

Currently SBEMU uses i386 instruction set, changing it to 'pentium-mmx' will get general optimization using MMX. manual asm/intrinsic code of mmx for some functions may get the most out of mmx power I guess. I think it's OK to use pentium-mmx because a real 386 doesn't need SBEMU and SBEMU cannot …

Re: SBEMU: Sound Blaster emulation on AC97

crazii , I tried the SBEMU version form the github-link you gave me and unfortunately the problems with proper initialization of SB emulation in CMI8738 soundcard are same. Later I'll upload pictures with some explanations, but I'm thinking there are mainly problems with DMA channel and interrupt …

Re: SBEMU: Sound Blaster emulation on AC97

DOS32A can be configured via command line switch or by other means too (its configuration utility) to use DPMI first. Unfortunately in DOS/32A version package which I have (one of the latest if not the last) ss.exe's option for selecting DPMI detection over VCPI is deprecated and non-functional: …

Re: SBEMU: Sound Blaster emulation on AC97

Also, I'm experiencing a freeze on all the userbuilds of SBEMU past February or so (since General Midi at port 0x330 was added). The SBEMU program detects all the usual settings, and then just freezes the system. All versions (even back to the first betas posted in Feb / March 2023) previously …

Re: SBEMU: Sound Blaster emulation on AC97

It's DOS32A, not JEMMEX. Although it's not mandatory, the DPMI spec 'suggest' to detect & use DPMI first, then VCPI, then raw mode switches. DOS32A just use VCPI even DPMI is present. I think a tiny change with DOS32A code will make it work. DOS32A can be configured via command line switch or by …

Re: SBEMU: Sound Blaster emulation on AC97

Very interesting. I it's like TR installs multiple interrupt handlers to detect sound card IRQ, like doom does. I thought I have fixed that, by not sending the real IRQ (or any PCI IRQ) to clients, normal dos programs are not gonna do anything with them anyway. Are you using the latest release? if …

Re: SBEMU: Sound Blaster emulation on AC97

Actually not modifying the executable itself, but this I/O address permission map seems like very good idea. Unfortunately I don't have enough low level programming skills (I have very basic and limited experience with assembly) and knowledge on how this memory management parts of M$-DOS works " …

Re: SBEMU: Sound Blaster emulation on AC97

analog_programmer wrote on 2024-04-25, 08:20: Has anyone managed to successfully use SBEMU in combination with M$ HIMEM.SYS + JEMM386.EXE instead of JEMMEX.EXE? I remember did some simple tests with HIMEM.SYS + EMM386.EXE (without real mode support), it basically work, like doom. duke3d. but I …

Re: SBEMU: Sound Blaster emulation on AC97

I read about the problems with port trapping with addresses lower than 100h with EMM386.EXE and maybe the best solution for compatibility will be some patched EMM386, but this is forbidden topic here. I don't see why it's forbidden, to modify a proprietorial program? It's not necessary to modify …

Re: SBEMU: Sound Blaster emulation on AC97

I added an extra zero there... whoops... but still, the actual spec DOES top out at about the top end of bat hearing. 96khz/24bit, is the minimum requirement for "High definition audio". At that kind of sample rate, having SSMD instructions in play might be kinda nice to have. :P 96khz / 24 bit is …

Re: SBEMU: Sound Blaster emulation on AC97

Just a quick update: I've read some documents about VXD and it seems a hell of work, including exporting & linking win32 vmm functions, while loading & linking is not quite a problem since the dpmi binary is already a OS2 linear executable (LE/LX) and the loader can load it and potentially other …

Re: SBEMU: Sound Blaster emulation on AC97

Also, I'm experiencing a freeze on all the userbuilds of SBEMU past February or so (since General Midi at port 0x330 was added). The SBEMU program detects all the usual settings, and then just freezes the system. All versions (even back to the first betas posted in Feb / March 2023) previously …

Re: SBEMU: Sound Blaster emulation on AC97

A quick update on the YMF topic I raised above - looking at the driver code I was able to locate the bit that enables Digital in. Was in DSXG proprietary register, not standard AC97. Many thanks to @crazii and contributors for doing all the hard work :) Don't thank me, thank @jiyunomegami who …

Re: SBEMU: Sound Blaster emulation on AC97

Oh I understand, I'm also poor in reading huge ASM projects and rather write in C. The CWSDPMI is written in Borland C probably with some inline ASM code. Yes. but there're some problems that CWSDPMI is skipped: it doesn't load itself to himem so not suitable for TSRs, as it will leave about 200K …

Re: SBEMU: Sound Blaster emulation on AC97

Cool but does it really worth put extra effort on writting it from a scratch? Why not reuse most code of HDPMI or CWSDPMI and JEMMEX? I think they are quite mature, I use JEMMEX as default in my DOS setup. And JEMMEX already supports JLMs - loadable modules - but there are not many... Now that you …

Page 1 of 27