Writing PIT control byte with mode 0 resets PIT output. Fixes 103 error on PS/1.
This commit is contained in:
parent
5005e43b80
commit
91eaa9c83b
1 changed files with 2 additions and 0 deletions
|
|
@ -336,6 +336,8 @@ void pit_write(uint16_t addr, uint8_t val, void *priv)
|
|||
pit.rereadlatch[val>>6]=1;
|
||||
if ((val>>6)==2) ppispeakon=speakon=(pit.m[2]==0)?0:1;
|
||||
pit.initial[t] = 1;
|
||||
if (!pit.m[val >> 6])
|
||||
pit_set_out(val >> 6, 0);
|
||||
// pclog("ppispeakon %i\n",ppispeakon);
|
||||
}
|
||||
pit.wp=0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue