Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-07

Using the interrupt keyword in FPC for DOS

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andreas Berger
FPC has the interrupt keyword on GO32V2. Is this the same as that used
in TP/BP? There I could declare an interrupt function like:
    procedure ISR(Flags, CS, IP, AX, BX, CX, DX,| SI, DI, DS, ES, BP :
WORD); interrupt;

Is this the same in FPC? In what order are the register variables?

Regards,
Andreas

|

Tomas Hajny
to Andreas Berger
Andreas Berger wrote
FPC has the interrupt keyword on GO32V2. Is this the same as that used in TP/BP?

Yes, it should be.

There I could declare an interrupt function

like:

procedure ISR(Flags, CS, IP, AX, BX, CX, DX,| SI, DI, DS, ES, BP : WORD); interrupt; Is this the same in FPC? In what order are the register variables?

No idea. You don't need to specify the registers,
do you? Anyway, searching for "FPC interrupt
keyword" via Google finds some possibly useful
messages in our mailing list archives (from year
2000).

Tomas