Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > openwatcom.users.c_cpp > #3578

How do I use #pragma aux with the HLT instruction?

From Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid>
Newsgroups openwatcom.users.c_cpp
Subject How do I use #pragma aux with the HLT instruction?
Date 2019-10-10 01:31 +0800
Organization OpenWatcom
Message-ID <qnl1td$crh$1@www.openwatcom.org> (permalink)

Show all headers | View raw


Dear o.u.c_cpp,

How do I write a #pragma aux for the HLT instruction?  And how do I use 
said #pragma aux?  Are there any cotchas I need to be aware of when I 
use the HLT instruction?

For context, I'm writing a DOS extended program with CauseWay, and want 
to be nice to the CPU fan in my program's idle loop for people such as 
myself who run DOS operating systems in a virtual machine.


-- 
Johann | email: invalid -> com | www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | twitter: @myrkraverk

Back to openwatcom.users.c_cpp | Previous | NextNext in thread | Find similar


Thread

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