home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / modula2 / 1643 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.7 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!caen!batcomputer!cornell!uw-beaver!news.tek.com!psgrain!m2xenix!puddle!f590.n139.z1.fidonet.org!Sean.Wilson
  2. From: Sean.Wilson@f590.n139.z1.fidonet.org (Sean Wilson)
  3. Sender: ufgate@puddle.fidonet.org (newsout1.26)
  4. Newsgroups: comp.lang.modula2
  5. Subject: High Precision Timer for
  6. Message-ID: <36830.2B518BA4@puddle.fidonet.org>
  7. Date: Thu, 07 Jan 93 11:00:10 PDT
  8. Organization: FidoNet node 1:139/590 - PMI BBS, Green Bay WI
  9. Lines: 34
  10.  
  11. A >   I am looking for a High Precision Timer Module in Modula-2, especially in
  12. A >   TopSpeed. It should be something like TPHRT3 for Turbo-Pascal 5.0 to 5.5.
  13. A >   It should use the 8253-chip on the PC to measure time
  14. A >   accurate to micro!!seconds.
  15.  
  16. There is an article on high resolution timing in one of the recent DDJ's
  17. thet could be extended to M2.
  18.  
  19. A >   Or does anyone know how not TopSpeed objects (.OBJ) (or .TPU's) can be linked
  20. A >   to TopSpeed? The TopSpeed Tech-Kit doesn't tell too much about it
  21.  
  22. TPU's are not linkable, they don't use OMF format.  .OBJ files should be
  23. readilly linkable providing that the guidelines in the TopSpeed Environment
  24. "Developers Guide" are followed.  Actually the main problem is not the
  25. linking so much as the calling conventions (in most cases).  Linking to
  26. MS C .OBJs needs somehing like:
  27.  
  28. (*# module(implementation=>off, init_code=>off) *)
  29.  
  30. (*# call(c_conv=>on, reg_param=>()), name(prefix=>c) *)
  31.  
  32. as a minimum.
  33.  
  34. Best Regards
  35.      Sean Wilson
  36.      (TopSpeed Technical Support)
  37.  
  38. ___
  39.  X PQ-Under-Trial 2.15 X If you ain't got it then you ain't communicatin'.
  40.  
  41.  
  42. --  
  43. uucp: uunet!m2xenix!puddle!139!590!Sean.Wilson
  44. Internet: Sean.Wilson@f590.n139.z1.fidonet.org
  45.