Johann 'Myrkraverk' Oskarsson
2019-10-09 17:31:33 UTC
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.
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
Johann | email: invalid -> com | www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | twitter: @myrkraverk