[fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

Nikolai Zhubr s001 at hotbox.ru
Thu Mar 18 02:15:37 CET 2004


Ups, forgot to actually attach it, sorry, now goes...
-- 
Best regards,
 Nikolai Zhubr

Thursday, 18 March, 2004, 4:12:09, Nikolai Zhubr wrote:
> Hi,
> Thursday, 18 March, 2004, 2:51:36, Harald Houppermans wrote:
>> Actually it is for a packet driver in dos.

>> Maybe I have to manually set the interrupt routine in the interrupt vector
>> table or will the packet driver do that ?
> I have no idea what the packet driver does but to your
> original question yes, you can freely modify registers'
> values passed to the interrupt procedure and new values will
> have effect upon return, just like help says, and see the
> attached example.
> No, it doesn't matter whether you use SetIntVec or change
> interrupt table by hand (though I'd not recommend the latter).
> HTH.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Intt.pas
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20040318/22086bef/attachment.ksh>


More information about the fpc-pascal mailing list