summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/tty.c
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-08-14 11:54:37 +0000
committertg <tg@FreeBSD.org>2001-08-14 11:54:37 +0000
commit24059a36ee40d77d39e304cbb2c70e33d68c6c5f (patch)
treee62880a7da35ee071e19601635cc1d3d383500bb /usr.bin/doscmd/tty.c
parent24c7b0a61de73d3a99eea4c734e505e91acb7e7c (diff)
downloadFreeBSD-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.c8
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
}
OpenPOWER on IntegriCloud