Add the AMI Excalibur, a VLB OPTi 596/597 machine.

Also adds emulation of the OPTi 5x7 chipset, and introduces a clock divider for VLB on 64-bit bus systems.
This commit is contained in:
nerd73
2020-06-05 10:22:59 -06:00
parent 9fb12c323e
commit 3f0adb5211
12 changed files with 175 additions and 15 deletions

View File

@@ -1029,8 +1029,10 @@ pit_set_clock(int clock)
TIMER_USEC = (uint64_t)((cpuclock / 1000000.0) * (double)(1ull << 32));
isa_timing = (cpuclock / (double)8000000.0);
bus_timing = (cpuclock / (double)cpu_busspeed);
if (cpu_64bitbus)
bus_timing = (cpuclock / ((double)cpu_busspeed) / 2);
else
bus_timing = (cpuclock / (double)cpu_busspeed);
pci_timing = (cpuclock / (double)cpu_pci_speed);
/* PCICLK in us for use with timer_on_auto(). */