home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / c / 12460 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.3 KB

  1. Path: sparky!uunet!munnari.oz.au!deakin.OZ.AU!cs.uow.edu.au!u8800914
  2. From: u8800914@cs.uow.edu.au (Mohammad Salim Olime)
  3. Newsgroups: comp.lang.c
  4. Subject: help REAL TIME CLOCK INTERRUPT
  5. Message-ID: <1992Aug18.043938.20502@cs.uow.edu.au>
  6. Date: 18 Aug 92 04:39:38 GMT
  7. Organization: Dept of Computer Science, Wollongong University, Australia
  8. Lines: 17
  9.  
  10. For simulation of an ATM link between to IBM-PC/AT I need to generate
  11. packets(pay load)  in real time using Turbo C under MS-DOS .
  12. Interrupt 08h ie the clock tick with a frequency of 18.2 Hz is not 
  13. fast enough. In C User Journal Dec 1991  I found an article
  14. by Paul A. Cornelius titled "Using 1KHz Interrupts on AT CLones"
  15. He discusses a method for generating interrupts at a rate of 1KHz
  16. using the Real Time clock interrupt (70h) which can be enabled 
  17. through BIOS INT 15h, function 83h.
  18. Unfortunately the  code he has given are written in Zortech C++
  19. I have quite few problems translating it to TURBO C .
  20. The problems are basically to do with the way Interrupt Service
  21. Routines are written in Turbo C.(Stack is not automatically set
  22. for ISR ).
  23. I would appreciate if someone who came across a Turbo C code for
  24.  such thing, or even knows where I can get help, response to this
  25.  CRY FOR HELP posting either directly or via this  group.
  26.  Thanks in Advance.
  27.