Disabling the PS/2 mouse via the KBC command byte now also disables the "Write to mouse output buffer" and "Write to mouse" commands, fixes hang when entering CMOS Setup on the P55T2S;
Unified the various machines' identical port 92h implementations.
This commit is contained in:
@@ -1677,17 +1677,17 @@ void mem_a20_recalc(void)
|
||||
}
|
||||
|
||||
|
||||
static uint8_t port_92_read(uint16_t port, void *priv)
|
||||
uint8_t port_92_read(uint16_t port, void *priv)
|
||||
{
|
||||
return port_92_reg;
|
||||
}
|
||||
|
||||
|
||||
static void port_92_write(uint16_t port, uint8_t val, void *priv)
|
||||
void port_92_write(uint16_t port, uint8_t val, void *priv)
|
||||
{
|
||||
if ((mem_a20_alt ^ val) & 2)
|
||||
{
|
||||
mem_a20_alt = (val & 2) ? 0 : 2;
|
||||
mem_a20_alt = (val & 2);
|
||||
mem_a20_recalc();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user