1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-13 15:27:04 +00:00

KA10: More fixes to get KS10 to build.

This commit is contained in:
Richard Cornwell 2022-02-26 00:06:57 -05:00
parent 6d6125c8da
commit 70d6cd4dee

View File

@ -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)