High PC speaker frequencies treated as constant level.

Improved timing for port 0x61 writes.
This commit is contained in:
TomW 2015-11-14 18:14:32 +00:00
commit b459fc9815
6 changed files with 19 additions and 0 deletions

View file

@ -76,6 +76,9 @@ void keyboard_xt_write(uint16_t port, uint8_t val, void *priv)
keyboard_xt.pb = val;
ppi.pb = val;
timer_process();
timer_update_outstanding();
speaker_gated = val & 1;
speaker_enable = val & 2;
if (speaker_enable)