diff --git a/PDP10/kx10_cpu.c b/PDP10/kx10_cpu.c index 888b1d5..788fe73 100644 --- a/PDP10/kx10_cpu.c +++ b/PDP10/kx10_cpu.c @@ -2072,12 +2072,18 @@ int page_lookup(t_addr addr, int flag, t_addr *loc, int wr, int cur_context, int } } +#if KS_ITS + if (!QITS) { /* Do not do this on ITS */ +#endif /* Handle KI paging odditiy */ if (!uf && !t20_page && (page & 0740) == 0340) { /* Pages 340-377 via UBT */ page += 01000 - 0340; upmp = 1; } +#if KS_ITS + } +#endif /* Map the page */ if (uf || upmp) @@ -2594,12 +2600,18 @@ int page_lookup(t_addr addr, int flag, t_addr *loc, int wr, int cur_context, int return 0; } +#if KS_ITS + if (!QITS) { /* Do not do this on ITS */ +#endif /* Handle KI paging odditiy */ if (!uf && !t20_page && (page & 0740) == 0340) { /* Pages 340-377 via UBT */ page += 01000 - 0340; upmp = 1; } +#if KS_ITS + } +#endif /* Map the page */ if (uf || upmp)