From: Stas Sergeev <stsp@aknet.ru>
To: linux-msdos@vger.kernel.org
Subject: Re: 1.1.5.1-5 regressions and other bugs
Date: Sun, 20 Jul 2003 02:05:36 +0400 [thread overview]
Message-ID: <3F19C0B0.80803@aknet.ru> (raw)
Hello.
Robert Komar wrote:
> I'm curious as to why mouse events have this effect but
> keyboard events don't. I'm constantly hitting keys when
> the slowdown occurs, but it takes a mouse event to break
> out of it. Is there something special about mouse
> events?
That's how the hogthreshold code works.
When the program is polling the keyboard
and there are no keypresses, dosemu gives
up the CPU time. When the program is polling
the mouse and the mouse is inactive (you are
not moving it), same thing happens. dosemu
is not aware that you are targeting at a
monster so it is not an appropriate time to
release the CPU. Just disable the hogthreshold
for that.
Well, it happens that such a heuristic works
remarkably perfect with keyboard, but not with
the mouse. The solution I can think of, is to
make hogthreshold configurable separately for
keyboard, mouse and all other things and make
it disabled by default for mouse but not for
keyboard. There was someone wolunteering to do
that change but this didnt happen yet.
> I saw that the dosemu SB emulator had a sampling rate of
> 11000 Hz, while I had Duke3D setup to use 44000 Hz.
You might be too lucky - my Duke's setup doesn't
allow me to set the rate above 22KHz even if
I choose AWE32 (setup version is 1.3D). I guess
you are either cheating your setup somehow
(probably with an incorrect settings of a
BLASTER var?) or maybe your setup program is newer?
> If this sounds like the sort of problem that many others
> might have
Probably you are alone with that as normally
Duke's setup doesn't permit such a rate (for me
at least).
next reply other threads:[~2003-07-19 22:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-19 22:05 Stas Sergeev [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-07-18 16:25 1.1.5.1-5 regressions and other bugs Stas Sergeev
2003-07-19 20:04 ` Robert Komar
2003-07-18 16:09 Stas Sergeev
[not found] ` <20030719101122.GA29021@quark.fsb.hr>
2003-07-19 10:12 ` Vedran Rodic
2003-07-17 17:58 Stas Sergeev
2003-07-17 19:07 ` Vedran Rodic
2003-07-17 19:13 ` Robert Komar
2003-07-17 15:52 Stas Sergeev
2003-07-17 16:48 ` Vedran Rodic
2003-07-16 19:45 Vedran Rodic
2003-07-17 20:10 ` Bart Oldeman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F19C0B0.80803@aknet.ru \
--to=stsp@aknet.ru \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox