Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > openwatcom.users.c_cpp > #3584
| From | Frank Beythien <fbeythien@gmx.de> |
|---|---|
| Newsgroups | openwatcom.users.c_cpp |
| Subject | Re: How do I use #pragma aux with the HLT instruction? |
| Date | 2019-10-10 18:43 +0200 |
| Organization | OpenWatcom |
| Message-ID | <qnnjf7$c9b$1@www.openwatcom.org> (permalink) |
| References | <qnl1td$crh$1@www.openwatcom.org> <h06rg8Ffg8eU1@mid.individual.net> <qnnfj4$bat$1@www.openwatcom.org> <cclupe1pfssup1lp0e0uv9o0mg1a04l60m@4ax.com> <qnni0o$c2s$1@www.openwatcom.org> |
Am 10.10.19 um 18:18 schrieb Johann 'Myrkraverk' Oskarsson:
> On 11/10/2019 12:07 am, Paul S Person wrote:
>>
>> I don't have any experience with virtual machines. When your program
>> is in an idle loop, is it checking for something, like a keystroke? If
>> so, I would expect that call to eventually become a call to the host
>> OS, which I would expect to suspend the virtual machine until the
>> keystroke (or whatever) happens. But that is just what I would expect;
>> reality may be quite quite different.
>
> The situation is not that simple or I'd have used blocking reads on
> getch() -- which presumably tells DOS I'm not busy.
>
> The problem is detecting mouse events too. The only way I've seen (and
> others have concurred) is a busy loop that checks for the mouse state
> and whether a key has been hit with kbhit().
For Causeway there is an OW replacement for kbhit()
See Causeway programmer guide cw.{inf,pdf}
CU/2
Frank
Back to openwatcom.users.c_cpp | Previous | Next — Previous in thread | Next in thread | Find similar
How do I use #pragma aux with the HLT instruction? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2019-10-10 01:31 +0800
Re: How do I use #pragma aux with the HLT instruction? nospam_2019@efbe.prima.de - 2019-10-09 21:42 +0200
Re: How do I use #pragma aux with the HLT instruction? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2019-10-10 23:37 +0800
Re: How do I use #pragma aux with the HLT instruction? Paul S Person <psperson1@ix.netcom.invalid> - 2019-10-10 09:07 -0700
Re: How do I use #pragma aux with the HLT instruction? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2019-10-11 00:18 +0800
Re: How do I use #pragma aux with the HLT instruction? Frank Beythien <fbeythien@gmx.de> - 2019-10-10 18:43 +0200
Re: How do I use #pragma aux with the HLT instruction? "Steven Levine" <steve53@nomail.earthlink.net> - 2019-10-12 16:55 +0000
csiph-web