[an error occurred while processing this directive]
[an error occurred while processing this directive]
|
oldfun = getvect(IRQ); /* Установка вектора прерываний */
setvect(IRQ, firq); /* используется прерывание IRQ9 */
mask=inp(0xa1); /* Регистр маски */
mask=~((~mask) | (1<<(irq-8))); /* 1<< (10,11... - 8 */
outp(0xa1,mask );
outp(0xa1,0);
E-mail: info@telesys.ru