messani
messani
I think that this is duplicate of [issue 125](https://github.com/buserror/simavr/issues/125)
OK. I Believe that I have found cause. There are two similar problems. And there is possible third problem which will happen when AVR frequency is low. **1) Overflow cycle...
`3) Possible timing problem` Yes - branches are trying to solve it. I think that best would be to use integer instead of float. I did not tried it -...
@frej Try this patch. It is dirty - I did not have time to write it properly, but it works for me. `1), 2)` should be fixed (i have tested...
Yes, I can branch this. I did not it because I am not C programmer and as you can see I substituted bool by int (I need to read more...
it is [here](https://github.com/messani/simavr). Try it.
@bsekisser : I tried to put comments, but it is mixed with another changes. So It is not clear for me. Optimum way is to discus cs_div_clock first and then...
If somebody has tests which are failing, send it to me, please...
@bsekisser: No, I want to learn something and I am interested in others ideas and habits. I use const for pointers and references because it protects object from modifying. For...
You are right - there is still something wrong with interrupts. I have understand the test.