Hardware Manual - RTD Embedded Technologies, Inc.
Hardware Manual - RTD Embedded Technologies, Inc.
Hardware Manual - RTD Embedded Technologies, Inc.
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
void interrupt ISR(void)<br />
{<br />
/* Your code goes here. Do not use any DOS functions! */<br />
outportb(BaseAddress + 23, 0); /* Clear DM5604 interrupt */<br />
outportb(0x20, 0x20); /* Send EOI command to 8259 */<br />
}<br />
<br />
Procedure ISR; Interrupt;<br />
begin<br />
{ Your code goes here. Do not use any DOS functions! }<br />
Port[BaseAddress + 23] := 0; { Clear DM5604 interrupt }<br />
Port[$20] := $20; { Send EOI command to 8259 }<br />
end;