|Re: Strange problem with Nov32 / Hepax|
Message #5 Posted by Diego Diaz on 27 Jan 2006, 4:52 p.m.,
in response to message #4 by giastar
I'll need a while to check my code database, but I think I fixed the auto OFF bug, both for NoVRAM and NoV-32!! At least I'm positive I did for the NoVRAM code, but I may have forgotten updating the NoV-32 code, oops sorry if this was the case...
For the records, this was not a limitation of the 41 I/O interface whatsoever, on the contrary, PWO and SYNC lines perfectly define the HP-41 power state in any case. However, as NoV's are designed to minimize power drain, I leave PIC processor into sleep as soon as PWO goes low, thus, handling the SYNC line to detect Auto OFF, msut be done via interrupt to allow PIC "wake-up".
It took a nice code compression effort to make enough room for the interrupt handling routine that allows such handling. I finally got the time to rethink the power management and write the appropriate line by '05 3rd quarter, while I was dealing with NoV-32 developement.
In any case, you won't need to execute "ON", should your 41 goes to Auto OFF, just unplug NoV-32, plug it again and turn your calc ON. It won't lose a single bit, granted.