Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!ukc!stl!stc!idec!camcon!igp From: igp@camcon.co.uk (Ian Phillipps) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Reading time and date without using bios or dos ? Message-ID: <2409@titan.camcon.co.uk> Date: 17 Feb 89 14:18:12 GMT References: <4368@okstate.UUCP> <17841@gatech.edu> <891@mannix.iros1.UUCP> Organization: Cambridge Consultants Ltd., Cambridge, UK Lines: 15 mercier@iros6.iro.umontreal.ca (Denis Mercier) writes: >I want to know, if it is possible, where and how i can read time and date >set on a pc system, ... >i can't use bios or dos since these routines are not reetrant and >need this in hardware interrupt routine. It will help a lot, thanks. The Bios just counts up a three or four bytes at 40h:mumble, at the rate of 2^16 per hour - the addresses you'll find in the listing of the ROM in your technical manual. [I don't have one at this site] Your interrupt routine can read these. -- UUCP: igp@camcon.co.uk | Cambridge Consultants Ltd | Ian Phillipps or: igp@camcon.uucp | Science Park, Milton Road |----------------- Phone: +44 223 420024 | Cambridge CB4 4DW, England |