17.06.2014 Views

Hardware Manual - RTD Embedded Technologies, Inc.

Hardware Manual - RTD Embedded Technologies, Inc.

Hardware Manual - RTD Embedded Technologies, Inc.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!