Board index » delphi » Hardware Interrupt Handlers

Hardware Interrupt Handlers

Does anyone have experience of writing hardware interrupt handlers in
Delphi 1.0 ?
I read in a book recently that Delphi supports the 'interrupt' directive
used after a procedure header to specify it as such a handler.  However,
there doesn't seem to be associated procedures such as SetIntVec and
GetIntVec as in TP7.  One idea I had was to write the interrupt vector
address direct to the appropriate memory locations using MemW[] but this
caused a GPF when I tried it.

Does anybody have any ideas/suggestions ?

Thanks in anticipation

Alan.

abont...@aol.com

 

Re:Hardware Interrupt Handlers


Try "Systems Programming for Window 95" by Walter Oney; MS-Press 1996. This
book should give you an insight why MemW[] and interrupt declarations don't
work that easily under Win 3.1/95/NT -- and what to do instead.
--

-----------------------------------
Hope [this] helps.
Arne Schaepers

A Bontoft <abont...@aol.com> schrieb im Beitrag
<19970218070900.CAA07...@ladder01.news.aol.com>...

Quote
> Does anyone have experience of writing hardware interrupt handlers in
> Delphi 1.0 ?
> I read in a book recently that Delphi supports the 'interrupt' directive
> used after a procedure header to specify it as such a handler.  However,
> there doesn't seem to be associated procedures such as SetIntVec and
> GetIntVec as in TP7.  One idea I had was to write the interrupt vector
> address direct to the appropriate memory locations using MemW[] but this
> caused a GPF when I tried it.

> Does anybody have any ideas/suggestions ?

> Thanks in anticipation

> Alan.

> abont...@aol.com

Other Threads