PIT timers can now be restarted using GATE input - CPU speed detection on SiS496/497 now works.
Added missing port 0x61 to Olivetti M24 - PC speaker now works on that machine. Some code tidying.
This commit is contained in:
parent
a592bd12ee
commit
36cdd540b2
9 changed files with 57 additions and 26 deletions
|
|
@ -819,7 +819,7 @@ void clockhardware()
|
|||
current_diff += diff;
|
||||
pit.c[0] -= diff;
|
||||
pit.c[1] -= diff;
|
||||
if (ppi.pb & 1) pit.c[2] -= diff;
|
||||
if (pit.gate[2]) pit.c[2] -= diff;
|
||||
if ((pit.c[0] < 1) || (pit.c[1] < 1) || (pit.c[2] < 1)) pit_poll();
|
||||
|
||||
timer_clock(diff);
|
||||
|
|
|
|||
Loading…
Reference in a new issue