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