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

  1. >>>>> "Glenn" == Glenn R Keyser <GGS@ns.net> writes:
  2.  
  3.     Glenn> Looking at these results gives me a question.  Why isn't
  4.     Glenn> -oldtimer part = of the default settings when it makes the
  5.     Glenn> emulation run much faster?? = What are the pluses and minus
  6.     Glenn> of using -oldtimer?
  7.  
  8. The main timer on a real Mac runs at 60 Hz (although there are other
  9. timers).  The main timer on a PC runs at 18.2 Hz.  It is possible to
  10. reprogram the PC's timer to run at 60 Hz, but that's caused problems
  11. in the past, and may not be allowed on advanced OS's like WinNT.
  12.  
  13. Executor/DOS normally uses the PC's 1024 Hz timer, and uses that to
  14. emulate a 60 Hz Mac timer.  That works well, since the 1024 Hz timer
  15. is so much faster.  However, that technique generates 1024 timer
  16. interrupts a second which can cause problems for some slower systems.
  17.  
  18. "-oldtimer" tells Executor to only use the 18.2 Hz timer.  That
  19. generates fewer interrupts (so it's faster) but it can't emulate a Mac
  20. 60 Hz timer very well.  Often this doesn't matter, but some games do:
  21.  
  22. <wait for 60 Hz timer to "tick">
  23. draw something
  24. <wait for 60 Hz timer to "tick">
  25. draw something
  26. <wait for 60 Hz timer to "tick">
  27. draw something
  28.  
  29. So with only an 18.2 Hz timer, these games run about 1/3 normal speed.
  30. I think Solarian may be in this category but I'm not sure.  Some
  31. Windows setups (incl. all WinNT setups) don't give us a reliable 1024
  32. Hz timer, so Executor is forced to only use the old 18.2 Hz timer.
  33.  
  34. You can tell which timer your setup is using by running the Globe demo
  35. and choosing the "sync to VBL" menu option.  If you see 60 fps, you're
  36. running with the 1024 Hz timer.  If you see 18 fps, you've got the old
  37. timer.
  38.  
  39. I hope that clears things up.
  40.  
  41. -Mat
  42.  
  43.