VOGONS

Common searches


Search results

Display options

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
I'm actually not sure if it's the mixer registers or the busmaster registers we should be writing. And whether or not some bits (e.g. the I/O port enable bits in PCI?) are disabled again after SBEMU has finished initialising (which is what the PCI Command Register contents would suggest if I'm not …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
allregs 24D5 8086 follows! From your file: 10, 01 = 0000.0001 11, 28 = 0010.1000 [...] 14, 01 = 0000.0001 15, 24 = 0010.0100 At offset 0x10 is the NAMBAR address (16-bit little endian): 0x2801 At offset 0x14 is the NABMBAR address (16-bit little endian): 0x2401 In both cases, the least significant …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
Here's a SBEMU build with MPXPLAY_USE_DEBUGF defined to 1 in mpxplay/au_cards/sc_ich.c, which means it should print some useful information, including NABMBAR. Source code is this branch https://github.com/thp/sbemu/tree/linux-cross with the following patch applied: diff --git a/mpxplay/au_cards/sc_ …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
Dossound shows nambar, I used these values for SBEMU. Please stop using DOSSound for debugging an SBEMU issue. It doesn't have source available, is a separate program and cannot be used with SBEMU, anyway. It just complicates debugging and increases the search space, and trying to read values from …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
Values for "76" are identical between a working machine (C610 AD1980 i865gv) and a not working machine (E600 AD1980 i865g). It doesn't matter if the registers are identical, how the chip is hooked up to outputs (and internal speakers) might very well vary between the different mainboard variants. …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
Thank you for the explanation. All makes sense now. Looks like SBEMU should report NABMBAR on command line when loading: https://github.com/crazii/SBEMU/blob/0c857cfe496dfe94dce87291963615f025e00a87/MPXPLAY/AU_CARDS/SC_ICH.C#L436 I dont know why fprintf(stdout doesnt print to the screen. The debug …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
EDIT: I recheck AD1980 on working FSC-C610 perhaps it is different from the FSC-S2 which has AD1885) Yeah, that's kind of a bad comparison then, because AD1885 is a totally different chip with different register layout, so you cannot compare the contents of register 0x76, as it has completely …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
Hm, OK, I went to FSC-S2 working AC97 in Dos/Amithlon/everywhere. I started dossound, it gave me back: FSC-S2 => NAMBAR 2800 / 2000 Values for 76 were 10 / ffff (ac97test 2800 76 => 10, ac97test 2000 76 => ffff) Now back to the not working machine: FSC-E600 => NAMBAR 2800 / 2400 Values for 76 were …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
So NABMBAR is just a IO port? I thought it would be somehow memory mapped in PCI address space. Is it really that simple? Well, it depends. It can be MMIO or I/O ports (depends on the least significant bit in the BAR address of the PCI config space). Practically, MPXPlay/sbemu don't check that and …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
I am thinking about what you just wrote...and try to make a new attempt-- but it's hard to understand something that is described with things I also don't understand....we will see... Attached is a small utility (built with OpenWatcom and including source code) that can read and write the AC97 …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
Ok, so now I actually read the backlog of this thread and it seems like you tried some Linux kernel 2.6.x distro already, and it works there? There was also a link somewhere to this patch in FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=140591 The description there says: + * AD198x …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
What do you think about my issue with the muted/routed wrong AD1980 on intel ICH (865g)? Do you think it can be fixed in dos/linux/amithlon, due to the fact that it is working fine in Win9x/2k/OS2 and WinOS2. I have no clue. Try with a recent Ubuntu Live CD with a more modern kernel. 18.04 still …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
Pull request to add SIS7012 support to sbemu: https://github.com/crazii/SBEMU/pull/29 Attached to this post you will find: an EXE build as drop-in replacement for sbemu 1.0 beta3 (download sbemu, then replace the single EXE file) a ZIP file with the exact source code from which the EXE was built ( …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
Another SIS7012 update. It seems that if all the buffers are finished playing with AC97, DMA transfers are stopped : Unlike HDA's stream DMAs which can keep running in cycles by themselves, AC97's DMA will stop if its read pointer catches up with the write pointer. This seems to happen in my case, I …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
OK some updates. Both the SIS7012 and my USB controller share the same IRQ (10). I'm booting FreeDOS off a USB drive (the BIOS supports this, and makes the USB drive the "C:" drive as far as DOS is concerned). I added some debugging code to my SIS7012 version of SBEMU, to count how often an IRQ …

Re: SBEMU: Sound Blaster emulation on AC97

in Marvin \ Sound
While looking for information on SIS7012, I found (as also mentioned in this thread) that it's mostly Intel ICH with some modifications. As I have a machine with a SIS7012, and sound output works great in Linux, I looked at the kernel sources. The SIS7012 driver is indeed implement in the same …

Page 3 of 9