CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

off topic: irq8 realtime clock

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Calamar



Joined: 07 Sep 2003
Posts: 60
Location: Buenos Aires (Argentina)

View user's profile Send private message Send e-mail MSN Messenger

off topic: irq8 realtime clock
PostPosted: Thu Jul 14, 2005 10:54 am     Reply with quote

how much seconds are every irq8 interruption ??
it's a fixed interval for all PCs ?? or it depend from bios ??
I don't remember but I think it could be change right ??
Some tutorial ??
_________________
Best Regards
Daniel H. Sagarra
La Plata (Argentina)
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Thu Jul 14, 2005 11:54 am     Reply with quote

What is an irq8? I never heard of this one before.
Calamar



Joined: 07 Sep 2003
Posts: 60
Location: Buenos Aires (Argentina)

View user's profile Send private message Send e-mail MSN Messenger

PostPosted: Thu Jul 14, 2005 12:08 pm     Reply with quote

The output pulsesn of the real time clock is used as a pacing clock to generate interrupts on IRQ8
_________________
Best Regards
Daniel H. Sagarra
La Plata (Argentina)
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Thu Jul 14, 2005 12:32 pm     Reply with quote

He is not talking about a PIC but rather a PC
Ttelmah
Guest







PostPosted: Fri Jul 15, 2005 5:21 am     Reply with quote

This is very off-topic, but the answer is that it does not depend on the BIOS, and is the same on every PC, _but changes with the OS_.
The hardware is the same (or has to _emulate_ the same behaviour) on all PC's, but the actual frequency is programmable, and will vary with the OS being used. It is (for example), different between W9x, and WXP. It is also different on specialist systems like 'NT embedded'.
You need to either look at the chip registers, or the paperwork for your OS, to find what frequency this interrupt will occur at.
It is normally 18.2 times/second on W9x.
Several existing programs may interfere with this. The old drivers for SoundBlaster cards, used to reprogram this interrupt, as do a number of other things that did accurate/fast timing. This was the reason for the clock 'drifting' when some programs were run in W9x. In NT, 2K, and XP, the internal clock is resynchronised to the RTC, at a more frequent interval, which helps correct this.
Generally it'd be more 'normal' to use higher level access to give clock information, which would include higher frequency events if required. Using this directly, is also not possible under protected mode OS's, without writing a ring0 driver.

Best Wishes
valemike
Guest







PostPosted: Fri Jul 15, 2005 6:43 am     Reply with quote

I googled irq8, and found that it is one of the PCI bus interrupt levels on a PC where the RTC resides. Other irqX levels include keyboard, com1, com2, mouse, etc.

http://www.aesystems.com/irq_map.html
Calamar



Joined: 07 Sep 2003
Posts: 60
Location: Buenos Aires (Argentina)

View user's profile Send private message Send e-mail MSN Messenger

PostPosted: Fri Jul 15, 2005 10:11 pm     Reply with quote

thank you valemike, Ttelmah and mark.
_________________
Best Regards
Daniel H. Sagarra
La Plata (Argentina)
mustafa yuce
Guest







lcd
PostPosted: Tue Oct 18, 2005 12:39 am     Reply with quote

ckielstra wrote:
What is an irq8? I never heard of this one before.


hi is there any pic c tutorial about lcd comand.please if you know replay this message and send e-mail mustafayce66@yahoo.com
mustafa yuce
Guest







LCD COMMANDS
PostPosted: Tue Oct 18, 2005 12:41 am     Reply with quote

ckielstra wrote:
What is an irq8? I never heard of this one before.


hi is there any pic c tutorial about lcd comands.please if you know replay this message and send e-mail mustafayce66@yahoo.com
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group