PIT emulation now more modular.
This commit is contained in:
parent
d07583d675
commit
1ad8c6c5fe
8 changed files with 266 additions and 257 deletions
|
|
@ -86,7 +86,7 @@ void keyboard_xt_write(uint16_t port, uint8_t val, void *priv)
|
|||
speaker_enable = val & 2;
|
||||
if (speaker_enable)
|
||||
was_speaker_enable = 1;
|
||||
pit_set_gate(2, val & 1);
|
||||
pit_set_gate(&pit, 2, val & 1);
|
||||
|
||||
if (val & 0x80)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue