Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Millennium BUG!



Hi,

I've found that port-amiga can't correctly read date from battery backed-up
clock.  Actullay the kernel say that there is no bbclock.

It can be fixed by inserting a bit of code in amiga/dev/a2kbbc.c and
amiga/dev/a34kbbc.c after:

        dt.dt_year += CLOCK_BASE_YEAR;

insert:

        if (dt.dt_year < STARTOFTIME) {
                dt.dt_year += 100;
        }

(Probably the year condition below if useless then).

Happy New Year. :)

        regards

                - Adam



Home | Main Index | Thread Index | Old Index