Path: utzoo!censor!geac!jtsv16!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!UXA.CSO.UIUC.EDU!ha90353 From: ha90353@UXA.CSO.UIUC.EDU (Homayoon Akhiani) Newsgroups: comp.sys.sgi Subject: (none) Message-ID: <8911141920.AA13449@uxa.cso.uiuc.edu> Date: 14 Nov 89 19:20:37 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 23 real-time needed At Aviation Research Lab of University of Illinios, we have a setup consisting of IRIS 3000's series. We have a real-time interactive flight simulator. We need to be able to detect certain events in milliseconds range. The program consists of a big loop, which creates a frame and check for different events. To record the time of the event, we use times() function however, if the generation of the frame takes a long time then the timestamp for the event would be invalid. The events are joysticks activites send through a serial port from AT machine. The events will go into a queue till the main loop get the event detection part and start processing the events. Is there anyway to setup an interupt service or anything else to make the IRIS timing more accurate ? ( HOW ? ) ( It is not a good idea to time stamp the events with the AT, because then the AT clock and the IRIS clock must be synchronized. ) Homayoon Akhiani University of Illinois Urbana/Champaign ha90353@uxa.cso.uiuc.edu akhiani@s.cs.uiuc.edu