home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / ibm / pc / hardware / 35120 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.5 KB

  1. Xref: sparky comp.sys.ibm.pc.hardware:35120 comp.sys.ibm.pc.programmer:752
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!wupost!waikato.ac.nz!comp.vuw.ac.nz!actrix!conrad
  3. Newsgroups: comp.sys.ibm.pc.hardware,comp.sys.ibm.pc.programmer
  4. Subject: Using the CMOS RTC (IRQ8) on an AT+
  5. Message-ID: <1993Jan8.041136.11076@actrix.gen.nz>
  6. From: conrad@actrix.gen.nz (Conrad Bullock)
  7. Date: Fri, 8 Jan 1993 04:11:36 GMT
  8. Organization: Actrix Information Exchange
  9. Lines: 23
  10.  
  11. I have written a profiler for JPI Modula-2 under DOS (*), based on the
  12. scheme presented in DDJ Oct 92. However, rather than using the standard
  13. trick of speeding up the 8253/4 timer interrupt, IRQ0 (because we had
  14. other uses for that...), I decided to use the AT RTC Interrupt, IRQ8,
  15. at the rate of 1024 times a second. I got it working perfectly, no real
  16. problems, on several machines.
  17.  
  18. However, as soon as I try it on one particular machine, with a
  19. particular motherboard... (in a terminal we have ordered 650 of....),
  20. it doesn't go. The interrupt handler is set up, but no interrupts ever
  21. arrive... It's as if the RTC hardware isn't there.... but it is!
  22.  
  23. My next step is to find some other program that uses that interrupt,
  24. and see how that goes...
  25.  
  26. Anyway - does anyone have similar experiences with the RTC interrupt?
  27. I believe I am delaying long enough between port accesses.
  28. (The motherboard manual discusses a bit in the chipset which allows
  29. the RTC interrupt to come from another source, but this appears to be
  30. set correctly.
  31.  
  32. This interrupt doesn't seem to be used very much - is this why?
  33.  
  34.