Hi Mr Taylor:
Thanks for your response. No, I'm not using i2c out of interrupts routine, but I'm planning to. So I think (the same way yo do) is not a good idea to comment any line in your code. Because of that, here I post you a new "strange workaround" I have found making some tests:
The workaround is to add a byte variable to ReEnterPBP-18.bas like that:
HP_Vars VAR WORD[34] ; group vars together for less banking
R0_SaveH VAR HP_Vars[0]
......
......
TBLPTRH_SaveH VAR TBLPTR_H.highbyte
TBLPTRL_SaveH VAR TBLPTR_H.lowbyte
Product_H VAR HP_Vars[33]
nothing VAR byte
With this new variable called "nothing" I can re-enable the commented line at RestorePBP_H routine:
FLAGS = FLAGS_SaveH
And the code keep working properly. Why???????????????
I don't know the reason, but the last time an issue was fixed with a dummy variable definition, was because of banking errors.
Any suggestion???????
The mystery continues.....
dcorraliza




Bookmarks