#include<iostream.h>
#include<dos2.h>
#include<conio.h>
void interrupt(*OldInt)(INTERRUPT_REGS)
void interrupt NewInt(INTERRUPT_REGS)
{
if((ax>>8)==0x4F && (ax&0xFF)==0x02)
{
ax=ax&0xFF00|0x03;
return;
}

}
void main()
{
OldInt=getvect(0x15);
disable();
setvect(0x15,NewInt);
enable();
clrscr();
cout<<" nhap 1 day ki tu:\n";
while(1)
{
if (getche()==27) break;
}
disable();
setvect(0x15,OldInt);
enable();
}

