Mail Archives: djgpp/2001/05/24/23:07:33
At 01:20 PM 05/24/2001 -0500, you wrote:
>I haven't tried to do it from DJGPP, but here is a code fragment from a
Borland
>C++ app I use:
>
> _AX = 0x4F10;
> _BL = 0x01;
> _BH = mode;
> geninterrupt(0x10);
>
>mode: 0=on, 1=standby, 2=suspend, 4=off. It's probably straightforward to
>translate this to DJGPP-compatible calls. I got the info from Ralf Brown's
>interrupt list:
>
> http://www.ctyme.com/rbrown.htm
>
>You should be aware that some interesting things can happen if you attempt
to use
>alt-tab to switch back to Windows while the monitor is sleeping. Hope this
>helps.
An even more interesting thing happens when the Windoze APM kicks in. Don't
use this inside a Windoze DOS box.
Bye!
nimrod_a_abing
--------------
+========================================+
| Home page: www.geocities.com/n_abing |
+========================================+
"I believe in the American Dream.
That's why I'm still asleep."
- Raw text -