Hello,

 As I found, I have overlooked a routine updating bios 0x6c & 0x70
fields.
It is in function video_update (module tty.c):
                                                                               
        *(u_long *)&BIOSDATA[0x6c] += 1;    /* Timer ticks since
midnight... */
        while (*(u_long *)&BIOSDATA[0x6c] >= 24*60*6*182)
{                    
                *(u_long *)&BIOSDATA[0x6c] -=
24*60*6*182;                     
                BIOSDATA[0x70]++;                   /* BIOSDATA[0x70] #
times p>
        }                      

The problem with this code is that it works only "if (!booting)". I do
not see the reason for such a restriction. I would suggest to move it to
int08 routine in timer.c in replacement to what is suggested in my
previous message, since this this routine also increments field 0x70.

  Thanks,
   Igor.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to