The SCSI data buffer is now zeroed before being allocated, MODE SELECT data is therefore no longer lost in transit;
SCSI DMA writes (for MODE SELECT) now correctly use InitLength instead of request_length when bus type is SCSI; Fixed MODE SELECT page saving; CD Audio volume is now correctly initialized on card initialization for all Sound Blaster variants, fixes CD Audio being muted when booting without the Sound Blaster initialization program; Brought the Sound Blaster variants back to a sane sound volume but still louder than the old quietness; Moved SCSI adapter initialization to before sound card initialization, fixes DOS SCSI CD-ROM driver hangs under some conditions.
This commit is contained in:
22
src/pc.c
22
src/pc.c
@@ -442,17 +442,6 @@ void resetpchard()
|
||||
vlan_reset(); //NETWORK
|
||||
}
|
||||
network_card_init(network_card_current);
|
||||
|
||||
sound_card_init(sound_card_current);
|
||||
if (GUS)
|
||||
device_add(&gus_device);
|
||||
if (GAMEBLASTER)
|
||||
device_add(&cms_device);
|
||||
if (SSI2001)
|
||||
device_add(&ssi2001_device);
|
||||
if (voodoo_enabled)
|
||||
device_add(&voodoo_device);
|
||||
pc_reset();
|
||||
|
||||
for (i = 0; i < CDROM_NUM; i++)
|
||||
{
|
||||
@@ -467,6 +456,17 @@ void resetpchard()
|
||||
{
|
||||
device_add(&BuslogicDevice);
|
||||
}
|
||||
|
||||
sound_card_init(sound_card_current);
|
||||
if (GUS)
|
||||
device_add(&gus_device);
|
||||
if (GAMEBLASTER)
|
||||
device_add(&cms_device);
|
||||
if (SSI2001)
|
||||
device_add(&ssi2001_device);
|
||||
if (voodoo_enabled)
|
||||
device_add(&voodoo_device);
|
||||
pc_reset();
|
||||
|
||||
loadnvr();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user