Advertisement

Date and Time

  • William Buchanan
Chapter
Part of the Macmillan Master Series book series (PMSC)

Abstract

Many programs require to either set or get the current date or time. The PC has a system timer which uses interrupt line IRQ0 to interrupt the processor 18.2 times per second. This is then used to update the time of day. Figure 19.1 shows an example usage of interrupts in a PC. Notice that IRQ0 is set to the system timer.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© William Buchanan 1998

Authors and Affiliations

  • William Buchanan
    • 1
  1. 1.Department of Electrical and Electronic EngineeringNapier UniversityEdinburghUK

Personalised recommendations