User`s guide

Operation Theorem 59
{
get_int_axis(&int_axis);
int_flag = 1;
irq_axs = int_axis;
get_int_status(int_axis, &irq_sts);
}
else
_chain_intr(pcinfo.old_isr[0]);// If not, chain to other INT
//
outportb(0x20, 0x20); // End of INT
outportb(0xA0, 0x20);
//---------------------------------------------------------------------
enable(); // enable interrupt request
}
void interrupt _8134_isr1(void)
{
U16 int_axis;
U16 irq_status;
//
disable(); // disable all interrupt
_8134_Get_IRQ_Status (1, &irq_status);
if(irq_status) // Judge if INT for card 1?
{
get_int_axis(&int_axis);
int_flag = 1;
irq_axs = int_axis;
get_int_status(int_axis, &irq_sts);
}
else
_chain_intr(pcinfo.old_isr[1]);// If not, chain to other INT
//
outportb(0x20, 0x20); // End of INT
outportb(0xA0, 0x20);
//---------------------------------------------------------------------
enable(); // enable interrupt request
}
So with the sample, user can get the interrupt signal about each axis in the
motion control system.