--- In gbadev@y..., "Willem Kokke" <wkokke@g...> wrote:
> With a period of 64 it takes 0.001003265380859375 seconds to make
the
> timer reach 263
well, that is exactly the plan. i wanted to implement a timer that is
accurate to 1/1000 s...
> One other point you should check, is wheter that define use a
volatile
> pointer, else the compiler will optimise it away
> But I think that's not the problem
>
it was indeed the problem that the pointer was not defined as
volatile...
actually, i recently changed from basic to c++ and there are many
things about c i don't know yet (for example that pointers which are
not volatile will be "rationalized" away...)
thank you guys...
roman