> Turbo pascal 7 has the 'interrupt' directive which can be placed behind a > procedure name to turn it into a interrupt handler.
forget it, it's a bug it doesn't save all registers (so your program will crash if it uses longint) and it doesn't provide a stack (so your programm will crash even it it doesn't use longint). > The problem is that these parameters are probably passed 'by value'. So > these are only copies. try trapint.pas from this page: http://www.brain.uni-freiburg.de/~klaus/pascal/sources/ hope this helps, Klaus -- Klaus Hartnegg, Brain Research Group, University Freiburg, Hansa-strasse 9a, D-79104 Freiburg, Germany, [EMAIL PROTECTED] Please avoid sending me Word attachments (use txt, rtf, or pdf). See http://www.fsf.org/philosophy/no-word-attachments.html _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal