Re: [RFC 07/10] hw/mos6522: Fix initial timer counter reload

2021-08-27 Thread Finn Thain
On Wed, 25 Aug 2021, Mark Cave-Ayland wrote: > On 24/08/2021 11:09, Finn Thain wrote: > > > The first reload of timer 1 is early by half of a clock cycle as it gets > > measured from a falling edge. By contrast, the succeeding reloads are > > measured from rising edge to rising edge. > > > >

Re: [RFC 07/10] hw/mos6522: Fix initial timer counter reload

2021-08-25 Thread Mark Cave-Ayland
On 24/08/2021 11:09, Finn Thain wrote: The first reload of timer 1 is early by half of a clock cycle as it gets measured from a falling edge. By contrast, the succeeding reloads are measured from rising edge to rising edge. Neglecting that complication, the behaviour of the counter should be

[RFC 07/10] hw/mos6522: Fix initial timer counter reload

2021-08-24 Thread Finn Thain
The first reload of timer 1 is early by half of a clock cycle as it gets measured from a falling edge. By contrast, the succeeding reloads are measured from rising edge to rising edge. Neglecting that complication, the behaviour of the counter should be the same from one reload to the next. The