qemu-e2k/hw/audio
Paolo Bonzini 9939375c28 sb16: fix interrupt acknowledgement
SoundBlaster 16 emulation is very broken and consumes a lot of CPU, but a
small fix was suggested offlist and it is enough to fix some games.  I
got Epic Pinball to work with the "SoundBlaster Clone" option.

The processing of the interrupt register is wrong due to two missing
"not"s.  This causes the interrupt flag to remain set even after the
Acknowledge ports have been read (0x0e and 0x0f).

The line was introduced by commit 85571bc (audio merge (malc), 2004-11-07),
but the code might have been broken before because I did not look closely
at the huge patches from 10 years ago.

Reported-by: Joshua Bair <j_bair@bellsouth.net>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2015-01-22 11:04:18 +01:00
..
Makefile.objs audio: replace audio card configuration with default-configs 2013-04-29 12:16:37 -05:00
ac97.c ac97: register reset via qom 2014-09-29 10:20:05 +02:00
adlib.c audio: Drop superfluous conditionals around g_free() 2014-06-13 12:34:54 +02:00
cs4231.c savevm: Remove all the unneeded version_minimum_id_old (x86) 2014-06-16 04:55:26 +02:00
cs4231a.c savevm: Remove all the unneeded version_minimum_id_old (x86) 2014-06-16 04:55:26 +02:00
es1370.c memory: remove memory_region_destroy 2014-08-18 12:06:21 +02:00
fmopl.c audio: fmopl: drop INLINE macro 2014-06-23 11:01:24 -04:00
fmopl.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gus.c audio: don't use 'Yoda conditions' 2014-08-15 18:54:06 +04:00
gusemu.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gusemu_hal.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gusemu_mixer.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gustate.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
hda-codec-common.h hda-codec: make mixemu selectable at runtime 2013-09-24 10:29:34 +02:00
hda-codec.c audio: don't use 'Yoda conditions' 2014-08-15 18:54:06 +04:00
intel-hda-defs.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
intel-hda.c SCSI changes that enable sending vendor-specific commands via virtio-scsi. 2014-08-19 13:00:57 +01:00
intel-hda.h intel-hda: Pass size to hda_codec_bus_init() 2013-08-30 20:14:38 +02:00
lm4549.c savevm: Remove all the unneeded version_minimum_id_old (arm) 2014-05-13 16:09:35 +01:00
lm4549.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
marvell_88w8618.c savevm: Remove all the unneeded version_minimum_id_old (arm) 2014-05-13 16:09:35 +01:00
milkymist-ac97.c savevm: Remove all the unneeded version_minimum_id_old (rest) 2014-05-14 15:24:51 +02:00
pcspk.c qdev: Remove hex8/32/64 property types 2014-02-14 21:12:04 +01:00
pl041.c savevm: Remove all the unneeded version_minimum_id_old (arm) 2014-05-13 16:09:35 +01:00
pl041.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
pl041.hx hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
sb16.c sb16: fix interrupt acknowledgement 2015-01-22 11:04:18 +01:00
wm8750.c savevm: Remove all the unneeded version_minimum_id_old (arm) 2014-05-13 16:09:35 +01:00