From: Clarence Dang <clarencedang@yahoo.com>
To: John Coppens <john@jcoppens.com>
Cc: linux-msdos@vger.kernel.org
Subject: Re: Timing problems
Date: Fri, 22 Jun 2007 17:40:42 +1000 [thread overview]
Message-ID: <200706221740.44421.clarencedang@yahoo.com> (raw)
In-Reply-To: <20070620020841.5d5e2274.john@jcoppens.com>
On Wednesday 20 June 2007 15:08, John Coppens wrote:
> I was trying to install a very old DOS data acquisition program for a
> friend of mine (under Linux + DOSEMU), but there seem to be strange
> timing problems.
>
> After many unsuccessful tests (the link with the sensor wouldn't even
> come up), I started suspecting timing issues. I booted the machine with a
> real DOS disk and sure enough, everything worked.
>
> I suspect this program uses the DOS 18.xxx Hz timer for its loops. Is the
> emulation of the timer under DOSEMU the same frequency? Does it depend on
> setting up the 250/1000 tick/s of the kernel?
DOSEMU can handle about 100 Hz for the PIT.
I have a patch I can dig up that can go up to 250 (or even 1000 depending on
the kernel version). It's just a quick hack and not the proper solution
though.
next prev parent reply other threads:[~2007-06-22 7:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-20 5:08 Timing problems John Coppens
2007-06-22 7:40 ` Clarence Dang [this message]
2007-06-26 1:33 ` John Coppens
2007-07-09 8:30 ` Clarence Dang
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=200706221740.44421.clarencedang@yahoo.com \
--to=clarencedang@yahoo.com \
--cc=john@jcoppens.com \
--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