Sound Blaster 16 and AWE32 MPU-401 base address and 16-bit DMA channel are now configurable;

AHA-154x SCSI controller base address, IRQ, and 16-bit DMA channel are now configurable.
This commit is contained in:
OBattler
2016-11-13 18:21:15 +01:00
parent 65b93b4347
commit 7cb901e5e6
9 changed files with 419 additions and 14 deletions

View File

@@ -629,6 +629,10 @@ void loadconfig(char *fn)
voodoo_enabled = config_get_int(NULL, "voodoo", 0);
aha154x_enabled = config_get_int(NULL, "aha154x", 0);
scsi_base = config_get_int(NULL, "scsi_base", 0x330);
scsi_irq = config_get_int(NULL, "scsi_irq", 11);
scsi_dma = config_get_int(NULL, "scsi_dma", 5);
//network
ethif = config_get_int(NULL, "netinterface", 1);
if (ethif >= inum)
@@ -791,6 +795,10 @@ void saveconfig()
config_set_int(NULL, "voodoo", voodoo_enabled);
config_set_int(NULL, "aha154x", aha154x_enabled);
config_set_int(NULL, "scsi_base", scsi_base);
config_set_int(NULL, "scsi_irq", scsi_irq);
config_set_int(NULL, "scsi_dma", scsi_dma);
config_set_int(NULL, "netinterface", ethif);
config_set_int(NULL, "netcard", network_card_current);