Closed outofmbufs closed 1 year ago
PDR_A isn't "access" but rather "attention". It's an 11/70 only (according to the PDP-11 Architecture Handbook) feature associated with the "trap" flavors of the access bits; if an access causes a trap then the A bit is set.
Well, how about that. Not sure how I got that one confused ("expectation" / confirmation bias I guess).
No problem, and not a strange mistake because "access" and "write" tracking are commonly seen together.
I will say that this comment didn't help disabuse me of my mistaken understanding (in pdp11_defs.h):
Interesting, yes that is misleading.
context
The MMU sets the PDR_W bit in a segment for writes to normal read/write segments (the optimized path in relocW). The same path in relocR, however, does not set the PDR_A (access) bit. Here are the two comparable code snippets:
relocR:
relocW (with comment annotation XXX .. XXX by me):
simh> SHOW VERSION
reproduction code
I have attached a .INI file that can be run to show the bug. Sample (annotated) session:
The attached archive has two files:
Archive.zip