i would like to implement something using c++ (open watcom ide) to turn off lcd/monitor on ms-dos.
i think the easiest mode would be call int 10h
who knows how to do it? i need some help..
thanks!
turn off LCD/monitor using ms-dos
-
- Posts: 5
- Joined: Mon Jul 15, 2013 6:49 am
Re: turn off LCD/monitor using ms-dos
this is what i need to use...
INT 10 - VESA VBE/PM (Power Management) v1.0+ - SET DISPLAY POWER STATE
AX = 4F10h
BL = 01h
BH = new state (see #0088)
Return: AL = 4Fh if function supported
AH = call status
00h successful
else failed
SeeAlso: AX=4F10h/BL=00h,AX=4F10h/BL=02h,AX=A00Ch
(Table 0088)
Values for VESA VBE/PM power state:
00h On
01h standby
02h suspend
04h Off
08h reduced On (for flat screens)
How can i implement this using c++ ?
INT 10 - VESA VBE/PM (Power Management) v1.0+ - SET DISPLAY POWER STATE
AX = 4F10h
BL = 01h
BH = new state (see #0088)
Return: AL = 4Fh if function supported
AH = call status
00h successful
else failed
SeeAlso: AX=4F10h/BL=00h,AX=4F10h/BL=02h,AX=A00Ch
(Table 0088)
Values for VESA VBE/PM power state:
00h On
01h standby
02h suspend
04h Off
08h reduced On (for flat screens)
How can i implement this using c++ ?
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: turn off LCD/monitor using ms-dos
If you needed three minutes to get that much further, maybe it would be wise to also spend some time on learning to use the library, no?