home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / docs / maillist / text / archive.96 / text2187.txt < prev    next >
Encoding:
Text File  |  1996-07-25  |  2.4 KB  |  61 lines

  1.     id m0tv47q-0007q7a; Fri, 8 Mar 96 08:30 MST
  2. Sender: owner-executor
  3. Received: from gwar.ardi.com by ftp.ardi.com with bsmtp
  4.     (Smail3.1.29.1 #3) id m0tv46s-0007q2C; Fri, 8 Mar 96 08:29 MST
  5. Received: by gwar.ardi.com (Smail3.1.29.1 #3)
  6.     id m0tv460-000GOKC; Fri, 8 Mar 96 08:28 MST
  7. Message-Id: <m0tv460-000GOKC@gwar.ardi.com>
  8. Date: Fri, 8 Mar 96 08:28 MST
  9. From: mat@ardi.com (Mat Hostetter)
  10. To: "Glenn R. Keyser" <GGS@ns.net>
  11. Cc: "'Scott Stegura'" <scottuf@grove.ufl.edu>,
  12.     "'executor@ardi.com'" <executor@ardi.com>
  13. Subject: RE: executor & windows95
  14. In-Reply-To: <01BB0C97.7A0714A0@ppp15.ns.net>
  15. References: <01BB0C97.7A0714A0@ppp15.ns.net>
  16. Sender: owner-executor@ardi.com
  17. Precedence: bulk
  18.  
  19. >>>>> "Glenn" == Glenn R Keyser <GGS@ns.net> writes:
  20.  
  21.     Glenn> Looking at these results gives me a question.  Why isn't
  22.     Glenn> -oldtimer part = of the default settings when it makes the
  23.     Glenn> emulation run much faster?? = What are the pluses and minus
  24.     Glenn> of using -oldtimer?
  25.  
  26. The main timer on a real Mac runs at 60 Hz (although there are other
  27. timers).  The main timer on a PC runs at 18.2 Hz.  It is possible to
  28. reprogram the PC's timer to run at 60 Hz, but that's caused problems
  29. in the past, and may not be allowed on advanced OS's like WinNT.
  30.  
  31. Executor/DOS normally uses the PC's 1024 Hz timer, and uses that to
  32. emulate a 60 Hz Mac timer.  That works well, since the 1024 Hz timer
  33. is so much faster.  However, that technique generates 1024 timer
  34. interrupts a second which can cause problems for some slower systems.
  35.  
  36. "-oldtimer" tells Executor to only use the 18.2 Hz timer.  That
  37. generates fewer interrupts (so it's faster) but it can't emulate a Mac
  38. 60 Hz timer very well.  Often this doesn't matter, but some games do:
  39.  
  40. <wait for 60 Hz timer to "tick">
  41. draw something
  42. <wait for 60 Hz timer to "tick">
  43. draw something
  44. <wait for 60 Hz timer to "tick">
  45. draw something
  46.  
  47. So with only an 18.2 Hz timer, these games run about 1/3 normal speed.
  48. I think Solarian may be in this category but I'm not sure.  Some
  49. Windows setups (incl. all WinNT setups) don't give us a reliable 1024
  50. Hz timer, so Executor is forced to only use the old 18.2 Hz timer.
  51.  
  52. You can tell which timer your setup is using by running the Globe demo
  53. and choosing the "sync to VBL" menu option.  If you see 60 fps, you're
  54. running with the 1024 Hz timer.  If you see 18 fps, you've got the old
  55. timer.
  56.  
  57. I hope that clears things up.
  58.  
  59. -Mat
  60.  
  61.