Port-amiga archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: On A1200 Clock (blizzard 1230mkIV) on netbsd current (BUG!)
On 4 Dec 2013, at 08:25, Roc Vallès <vallesroc%gmail.com@localhost> wrote:
> Found the problem (silly mistake):
>
> msm6242b_write(sc, MSM6242B_10MONTH, dt->dt_mon / 10);
> msm6242b_write(sc, MSM6242B_1MONTH, dt->dt_mon % 10);
> msm6242b_write(sc, MSM6242B_10YEAR, (dt->dt_mon / 10) % 10);
> msm6242b_write(sc, MSM6242B_1YEAR, dt->dt_mon % 10);
>
> Notice dt_mon != dt_year. My guess is that the code was tested during
> December 2012...
>
> Fixed. Tested it on my A1200 and it works correctly. Patch attached.
Patch committed. Thank you.
--
Best regards,
Radoslaw Kujawa
Home |
Main Index |
Thread Index |
Old Index