that is because the data write now trashes r1 which it did not do before. i noticed the saving of R1 and i wondered why that was added since it was not altered/required by the data read/write itself.
But the showpic uses r1 and that is why you get this result. And that is why it was added by O-family. I have changed it. At this stage, the drivers are the same. I checked for an unused register but there wasn't a good one so O-family solution was best. Thank you for testing all the steps. While i could have made all the mods at once, i do not like to change a good working driver without knowing what the new code does/changes.
↧