Board index » delphi » Hardware Interrupts

Hardware Interrupts

How do you program hardware interrupts with DELPHI 2.0 ?
With TP we had SetIntVect and GetIntVect.
These features do not exist in DELPHI 2.0.
I have to write a little core when interrupted by IRQ 12.
Thanks.

 

Re:Hardware Interrupts


Quote
Marc INGLEBERT wrote:

> How do you program hardware interrupts with DELPHI 2.0 ?
> With TP we had SetIntVect and GetIntVect.
> These features do not exist in DELPHI 2.0.
> I have to write a little core when interrupted by IRQ 12.

You're in a protected mode, multi-threading, multi-tasking
operating system now, so you'll have to be nice to everybody
else who's running 'a little core' on IRQ 12...
VxD is the answer. And you probably won't do it in Delphi.
Assembly and/or C/C++.

M.

--
Martin Larsson, author of several unknown utilities for DOS and Windows.
mailto:martin.lars...@delfi-data.msmail.telemax.no
http://www.delfidata.no/users/~martin
X.400:G=martin;S=larsson;O=delfi-data;P=msmail;A=telemax;C=no

Other Threads