[fpc-devel]Calling previous INTroutine
    Jonas Maebe 
    jonas at zeus.rug.ac.be
       
    Thu Dec  7 09:22:14 CET 2000
    
    
  
>  I've encountered a problem with calling previous interrupt routine
>  in my handler. I'm doing this under go32v2. I install handler with
>  set_pm_interrupt(), and before that I do get_pm_interrupt().
>  Everything works, but when I chain previous handler using the
>  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?
Jonas
    
    
More information about the fpc-devel
mailing list