Solved

PC Timer

Posted on 1998-08-11
9
293 Views
Last Modified: 2010-04-12
I am looking into the possibility of using PC timer for the real time measurement. I know that PC always has at least 2~3 timers. I know that Timer 2 has address of 0x42,0x43 through some articles. Can anyone tell me the address of other timers? I have been searching through all possible internet sources, yet could find the detailed descriptions.
0
Comment
Question by:tangkh
  • 4
  • 4
9 Comments
 
LVL 7

Expert Comment

by:busuka
ID: 1020547
:-???? 2-3 timers ? AFAIK, there is only one timer chip, that do
have several _channels_. One of them is PC speaker.
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1020548
The original PC design has one 8253 type timer IC mapped to I/O addresses 040-043H. There are three timer sections, T0 is used for IRQ0 time tick interrupts and provides the 18.2 ticks/second main clock. T1 is used for DMA refresh and T2 is used for the speaker control. Thus none are available for use by programs unless you can use them "as is".

There are 3rd party hardware vendors that make such things. Try:

http://www.keithley.com/Metrabyte/


0
 

Author Comment

by:tangkh
ID: 1020549
Can you tell me the registers map and the address of this timer?
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:tangkh
ID: 1020550
mark2150
I am sorry I dont mean to reject your answer. I am new to this newsgroup. When I saw "open this question to other experts", I thought I can get response from others.
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1020551
Ok, no problemo. That IC is not available for program use as it is fully occupied keeping your system running.

BTW the data was from the original "IBM PC Technical Reference Manual" p. D-9 (logic diagrams) and p. 1-10 I/O Address Map.

The data sheet I have handy for the 8253 is a summary. It just shows pinout and block diagram. No registers or such. I have written code to use on *external* 8253's. Each timer section has two input lines and one output. The two inputs are Clock and Gate and the output is just that, output. The timer can be set to a variety of modes of operation including one-shot, divide by N, and simple counter. Each counter is 16-bits and can count in either BDC or binary. The original part was limited to 2MHz operation but later versions clocked at higher rates.

The 8253 is currently obsolete and has been replaced by the 8254. The 8254 datasheet is available at:

http://developer.intel.com/design/periphrl/datashts/23124406.pdf

This gives you full electrical and programming specs on that device.

0
 
LVL 12

Accepted Solution

by:
mark2150 earned 20 total points
ID: 1020552
Since I answered your question you should lock in this response so I can get the points...
0
 

Author Comment

by:tangkh
ID: 1020553
Hahahaha, Ok you got the point, although my question wasn't really answered :)
0
 

Author Comment

by:tangkh
ID: 1020554
On top of this, could you give me the source of the BIOS map?
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1020555
Your question *was* answered, I can't help it if the answer isn't the one you wanted! (Grin). BIOS map is from same book, "IBM PC Technical Reference". This is the granddaddy reference manual of them all. It contained not only detailed technical discussions about the features and specifications of the PC but it also included complete SCHEMATICS and the source code to the ROM BIOS! If it's incompatible with *THIS BOOK* then it ain't a PC!
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
2v or 4v 4 70
HP Pavilion will not boot 15 91
Lock or digital lock that are lockable from both inside plus outside 12 55
Thoughts on PC Doctor 11 48
The Rasberry PI is a low cost piece of hardware that you can have a lot of fun with through experimenting and building/working on projects like media players, running a low cost computer, build data loggers etc. - see: https://www.raspberrypi.org
Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question