home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.realtime
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!jvnc.net!nuscc!eletanjm
- From: eletanjm@nuscc.nus.sg (Tan Jin Meng)
- Subject: Re: OS/2 experience?
- Message-ID: <1992Nov7.165032.16518@nuscc.nus.sg>
- Organization: National University of Singapore
- References: <25418@io.camcon.co.uk>
- Date: Sat, 7 Nov 1992 16:50:32 GMT
- Lines: 26
-
- sjp@camcon.co.uk (Steve Pearce) writes:
- :
- : Interrupt service routines have to be written as OS/2 device drivers as OS/2
- : runs in protected mode. To provide a fast, accurate timer you will need
- : additional hardware containing a counter/timer chip clocked at a sensible
- : rate. Look for an adapter card with OS/2 support.
- :
-
- I believe that there is a public domain device driver for OS/2 2.0 that
- provides timing from the AT (the CMOS one) Real Time Clock at a much
- better granularity (900+ microsecs?). It's called HRTIMER.
-
- It's probably at the OS/2 ftp site called hobbes (ftp-os2.nmsu.edu).
-
- : When programming real time applications in OS/2, be careful not to over-rely
- : on system services such as semaphores and shared memory. These can take a
- : large processing chunk out of tight timing loops, especially in <486 systems.
- :
- Probably true. Also I'd advise you not to use the workplace shell. Use
- text mode command line or at most just the basic PM services. Currently,
- the workplace shell tends to be high overhead, deadlocks easily and is
- basically not reliable or consistent (for real time work).
-
- hope this helps.
-
- jin meng
-