Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.msdos.programmer > #4182
| From | rridge@csclub.uwaterloo.ca (Ross Ridge) |
|---|---|
| Newsgroups | comp.os.msdos.programmer |
| Subject | Re: is there a high-frequency timer available on the PC? (besides the PIT) |
| Date | 2022-08-19 19:44 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <tdop79$1s7f$1@gioia.aioe.org> (permalink) |
| References | <tdieam$4gt$1@gioia.aioe.org> <tdoa0p$1831$1@gioia.aioe.org> |
Mateusz Viste <mateusz@xyz.invalid> wrote: > - PIT (18.2 Hz default, changing it doesn't work under Windows) Ross Ridge <rridge@csclub.uwaterloo.ca> wrote: >Changing it works just fine under Windows, as demonstrated by countless >MS-DOS games. Digging a little deaper, while Windows 9x does let MS-DOS applications change the PIT timer interval, it doesn't let you set a timer frequency faster than 1 kHz. Still this is probably your best bet if you want a wide range of hardware support and don't mine sacrificing Windows support. Otherwise, your next best option is the Pentium TSC, but in addition to not working on earlier processors, using it on certain newer processors can be tricky. You wouldn't have to worry about different cores of a multi-core CPU keeping different counts, but it might break an CPUs with dynamically changing frequencies and that don't support the newer frequency invariant TSC. Anything else is likey to not work on Windows and/or not as as wide of a range of hardware as the PIT or TSC. -- l/ // Ross Ridge -- The Great HTMU [oo][oo] rridge@csclub.uwaterloo.ca -()-/()/ http://www.csclub.uwaterloo.ca:11068/ db //
Back to comp.os.msdos.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
is there a high-frequency timer available on the PC? (besides the PIT) Mateusz Viste <mateusz@xyz.invalid> - 2022-08-17 12:01 +0200
Re: is there a high-frequency timer available on the PC? (besides the PIT) Johann Klammer <klammerj@NOSPAM.a1.net> - 2022-08-17 19:02 +0200
Re: is there a high-frequency timer available on the PC? (besides the PIT) rridge@csclub.uwaterloo.ca (Ross Ridge) - 2022-08-19 15:25 +0000
Re: is there a high-frequency timer available on the PC? (besides the PIT) rridge@csclub.uwaterloo.ca (Ross Ridge) - 2022-08-19 19:44 +0000
Re: is there a high-frequency timer available on the PC? (besides the PIT) Mateusz Viste <mateusz@xyz.invalid> - 2022-08-19 22:16 +0200
Re: is there a high-frequency timer available on the PC? (besides the PIT) "Alexei A. Frounze" <alexfrunews@gmail.com> - 2022-08-19 21:20 -0700
csiph-web