Solved

PC Timer

Posted on 1998-08-11
9
285 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
Comment Utility
:-???? 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
Comment Utility
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
Comment Utility
Can you tell me the registers map and the address of this timer?
0
 

Author Comment

by:tangkh
Comment Utility
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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 12

Expert Comment

by:mark2150
Comment Utility
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
Comment Utility
Since I answered your question you should lock in this response so I can get the points...
0
 

Author Comment

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

Author Comment

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

Expert Comment

by:mark2150
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this article you will get to know about pros and cons of storage drives HDD, SSD and SSHD.
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now