🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.intel
Article #992

How can I determine the clock frequency on an 80xxx machine

#992
From: menglund
Date: Wed, 30 Sep 1992 12:59
22 lines
1394 bytes
I am wanting to know how to determine a machines clock frequency dynamically
within a program. (eg: 8MHz, 16MHz ect).
Purpose:
        I need to know this to program the timer chip (8253) correctly on an
        Analog to Digital card. The boards Timer derives its frequency from the
        mother-boards clock. To make my program portable to different speed
        machines (80xxx architecture) I have to determine what the mother-boards
        clock frequency is!
Using:  - Dos 5.00
        - currently 80386sx
        - PC30 analog to digital card.
Any information or methods will be appreciated.
                          Many Thanks
                           Mark Englund.
                           Department of Computer Science
                           University of Natal
                           Pietermaritzburg
                           South Africa
You can email a response to me at:
menglund@unpcs1.cs.unp.ac.za
OR
englund@unpsun1.cc.unp.ac.za
Technical Details
Message-ID: <38.1.717857975@unpcs1.cs.unp.ac.za>
Path: arc1-ca.pugleaf.net!sparky!uunet!psgrain!ee.und.ac.za!pc044.cc.unp.ac.za!38

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!psgrain!ee.und.ac.za!pc044.cc.unp.ac.za!38
From: 38@unpcs1.cs.unp.ac.za (menglund)
Newsgroups: comp.sys.intel
Subject: How can I determine the clock frequency on an 80xxx machine
Date: Wed, 30 Sep 1992 12:59:35 GMT
Organization: Dept. Computer Science, UNP
Lines: 22
Distribution: world
Message-ID: <38.1.717857975@unpcs1.cs.unp.ac.za>
NNTP-Posting-Host: pc044.cc.unp.ac.za