All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: How to free CPU time?
@ 2005-08-05 13:25 Stas Sergeev
       [not found] ` <42F3BD02.7080501@pobox.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Stas Sergeev @ 2005-08-05 13:25 UTC (permalink / raw)
  To: linux-msdos

Hello.

Alain wrote:
> What is the best method to release cpu usage inside dosemu?
int 28h is known to be the most generic
way of doing this, unrelated to dosemu.
int 2fh/ax=1680h works well too.

> 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 it surely can (and should) call the
bios function to check the available
keystroke: int 16h/ah=1, and it will
release the CPU time too.

> If I do HLT, will it restart 
> after "interrupt"
Yes, but AFAIK dosemu won't release the
CPU cycles on hlt. Its use is not recommended.

> PS: I still have the problem below
Not reproduceable.


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Instaling Xfont
@ 2005-07-30  9:01 Stas Sergeev
  2005-08-02 20:23 ` Cursor and CVS problems Alain
  0 siblings, 1 reply; 5+ messages in thread
From: Stas Sergeev @ 2005-07-30  9:01 UTC (permalink / raw)
  To: linux-msdos

Hello.

Alain wrote:
> Now the problem is: The cursor is still broken (is at 1/3 from the top)
This was fixed, upgrade from CVS.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-09  2:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-05 13:25 How to free CPU time? Stas Sergeev
     [not found] ` <42F3BD02.7080501@pobox.com>
     [not found]   ` <42F3CE28.60107@aknet.ru>
2005-08-06  0:03     ` reinstalling Alain
2005-08-06  1:38       ` More info on Cursor problem Alain
2005-08-09  2:11         ` Cursor problem: Debugging Alain
  -- strict thread matches above, loose matches on Subject: below --
2005-07-30  9:01 Instaling Xfont Stas Sergeev
2005-08-02 20:23 ` Cursor and CVS problems Alain
2005-08-04 21:41   ` How to free CPU time? Alain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.