[fpc-devel]Calling previous INTroutine

Aleksey V. Vaneev picoder at sbis.komi.ru
Thu Dec 7 17:12:36 CET 2000


Hello,

>>  following construct:
>>
>>  asm
>>    pushfd
>>    call qword ptr [OldHandler]
>>  end;
>>
>>  It just traps. What can I do? (I'm working with system timer ISR).
>Make sure OldHandler is locked in memory using lockdata(). And shouldn't
>you use 'call far ptr [OldHandler]' instead?

It says that compiler ignores "far". But it doesn't work anyways.
Locked or not. Maybe there's some undocumented mechanism to do ISR
chaining in go32v2?


Best regards,
 Aleksey                          mailto:picoder at sbis.komi.ru






More information about the fpc-devel mailing list