diff --git a/src/cpu/386_common.c b/src/cpu/386_common.c index beb6869e9..847408ba8 100644 --- a/src/cpu/386_common.c +++ b/src/cpu/386_common.c @@ -1605,6 +1605,9 @@ checkio(uint32_t port, int mask) { uint32_t t; + if (!(tr.access & 0x08)) + return 0; + cpl_override = 1; t = readmemw(tr.base, 0x66);