函数名: poke
功 能: 存值到一个给定存储单元
用 法: #include <dos.h>
void poke(int segment, int offset, int value);
程序例:
#include <dos.h>
#include <conio.h>
int main(void)
{
clrscr();
cprintf("Make sure the scroll lock key is off and press any key\r\n");
getch();
poke(0x0000,0x0417,16);
cprintf("The scroll lock is now on\r\n");
return 0;
}