
CODE: [Copy to clipboard][ Last edited by JonePeng on 2006-4-11 at 22:39 ]#include <dos.h>
main()
{
union REGS in,out;
/* Close monitor*/
in.x.ax=0x4f10;
in.x.bl=0x01;
in.x.bh=0x02;
int86(0x10,&in,&out);
/* Press any key to continue*/
getch();
/* Turn on monitor */
in.x.ax=0x4f10;
in.x.bl=0x01;
in.x.bh=0x0;
int86(0x10,&in,&out);
return;
}
| Quote: | |
|
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |