Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  my ass
Language: C/C++
Code:
#include <dos.h>
#include <bios.h>
{

char st[80];

unsigned long int temp;
unsigned int i;
unsigned int count=50;
void main (void)
 
temp=(unsigned long int)_DS;
temp = temp 4L;
i = *((unsigned int *)(&temp));
temp = temp>>16L;
outportb (0x83,*((unsigned char *)(&temp)));
outportb(0x02,*(((unsigned char *)(&i))));
outportb(0x02,*(((unsigned char *)(&i))+1));
count--;
outportb(0x03,*((unsigned char *)(&count)));
outportb(0x03,*(((unsigned char*)(&count))+1));
outportb(0x0b,0x0b);
outportb(0x08,0);
outport(0x0a,1);
getch();
}
     
Comments: