1 2 3
void flush () { //Очистить буфер клавиатуры asm { cli; sub ax,ax; mov es,ax; mov al,es:[41ah]; mov es:[41ch],al; sti; } }