From: Alain <alainm@pobox.com>
To: Dosemu <linux-msdos@vger.kernel.org>
Subject: How to free CPU time?
Date: Thu, 04 Aug 2005 18:41:03 -0300 [thread overview]
Message-ID: <42F28B6F.8070601@pobox.com> (raw)
In-Reply-To: <42EFD655.4060404@pobox.com>
What is the best method to release cpu usage inside dosemu?
The problem is: I have made a program that runs in a loop checking
keyboard, mouse, network, etc.. It cannot call bios read key function
and lock there. But I can release time in the event loop.
Should I do HLT, call int28 many times? If I do HLT, will it restart
after "interrupt" events like keyboard, mouse, packet driver, timer
(54ms), etc?
thanks,
Alain
PS: I still have the problem below, BC31 is important because most of
FreeDOS itself is made with it...
> 1) The cursor is fine, but completely disapears in Borland C 3.1 in the
> IDE. This happens with any number of lines and with or without "$_X_font
> = "vga""
next prev parent reply other threads:[~2005-08-04 21:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-30 9:01 Instaling Xfont Stas Sergeev
2005-08-02 20:23 ` Cursor and CVS problems Alain
2005-08-04 21:41 ` Alain [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-08-05 13:25 How to free CPU time? Stas Sergeev
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=42F28B6F.8070601@pobox.com \
--to=alainm@pobox.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