diff options
author | tg <tg@FreeBSD.org> | 2001-08-14 11:54:37 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-08-14 11:54:37 +0000 |
commit | 24059a36ee40d77d39e304cbb2c70e33d68c6c5f (patch) | |
tree | e62880a7da35ee071e19601635cc1d3d383500bb /usr.bin/doscmd/tty.c | |
parent | 24c7b0a61de73d3a99eea4c734e505e91acb7e7c (diff) | |
download | FreeBSD-src-24059a36ee40d77d39e304cbb2c70e33d68c6c5f.zip FreeBSD-src-24059a36ee40d77d39e304cbb2c70e33d68c6c5f.tar.gz |
Move update of BIOS variable at 0x6c (time counter) completely to timer.c.
Suggested by: Igor Serikov <bt@turtle.pangeatech.com>
Diffstat (limited to 'usr.bin/doscmd/tty.c')
-rw-r--r-- | usr.bin/doscmd/tty.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/usr.bin/doscmd/tty.c b/usr.bin/doscmd/tty.c index 23486cc..356fef7 100644 --- a/usr.bin/doscmd/tty.c +++ b/usr.bin/doscmd/tty.c @@ -373,14 +373,6 @@ video_update(regcontext_t *REGS) else video_update_text(); } - - if (!booting) { - *(u_long *)&BIOSDATA[0x6c] += 1; /* ticks since midnight */ - while (*(u_long *)&BIOSDATA[0x6c] >= 24*60*6*182) { - *(u_long *)&BIOSDATA[0x6c] -= 24*60*6*182; - BIOSDATA[0x70]++; /* # times past mn */ - } - } #endif } |