Quote Originally Posted by RussMartin View Post
Did you mean AND?
Either AND or NOR...one of the two. Either way, in the end, it looks to me like something is broke

By the same reasoning.........."garbage results".
That's the way I'd take it...

All I need do is log successive values and--very important, easily find where the logging stopped, which appears as if it can be done by looking for the magic $3FFF after the last value written (the answer to C).
Unless of course the value that you logged was also $3FFF.
Maybe set aside one or two or twenty-odd bytes for a 'block used' indicator.
Byte0.bit0 = block 0 = words 0 - 15 used
byte0.bit1 = block 1 = words 16-31 used
and so on and so on...
Unless of course you'll never write a $3FFF, in which case you're in there...