Merge pull request #1402 from lemondrops/bugfix/cpu_set_isa_speed

Fix incorrectly set 7.16 MHz clock speeds on some chipsets
This commit is contained in:
Miran Grča
2021-04-26 01:32:39 +02:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -138,7 +138,7 @@ ali1533_write(int func, int addr, uint8_t val, void *priv)
switch(val & 7)
{
case 0:
cpu_set_isa_speed(7.16);
cpu_set_isa_speed(7159091);
break;
case 1:
case 2:

View File

@@ -572,7 +572,7 @@ sis_5513_isa_write(uint16_t addr, uint8_t val, void *priv)
switch (val >> 6)
{
case 0:
cpu_set_isa_speed(7.159);
cpu_set_isa_speed(7159091);
break;
case 1:
cpu_set_isa_pci_div(4);

View File

@@ -373,7 +373,7 @@ pci_isa_bridge_write(int func, int addr, uint8_t val, void *priv)
switch ((val & 0xc0) >> 6)
{
case 0:
cpu_set_isa_speed(7.159);
cpu_set_isa_speed(7159091);
break;
case 1:
cpu_set_isa_pci_div(4);

View File

@@ -497,7 +497,7 @@ void sis_5598_pcitoisa_write(int addr, uint8_t val, sis_5598_t *dev)
switch ((val & 0xc0) >> 6)
{
case 0:
cpu_set_isa_speed(7.159);
cpu_set_isa_speed(7159091);
break;
case 1:
cpu_set_isa_pci_div(4);