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:
TomW 2013-11-08 22:32:34 +00:00
commit 36cdd540b2
9 changed files with 57 additions and 26 deletions

View file

@ -72,13 +72,11 @@ void keyboard_xt_write(uint16_t port, uint8_t val, void *priv)
}
keyboard_xt.pb = val;
ppi.pb = val;
/* if (AMSTRADIO)
keyboard_xt.s2 = val & 4;
else
keyboard_xt.s2 = val & 8;*/
gated = ((val & 3) == 3);
if (gated)
wasgated = 1;
wasgated = 1;
pit_set_gate(2, val & 1);
if (val & 0x80)
{