[fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?
s001 at hotbox.ru
Thu Mar 18 02:15:37 CET 2004
Ups, forgot to actually attach it, sorry, now goes...
Thursday, 18 March, 2004, 4:12:09, Nikolai Zhubr wrote:
> 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).
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the fpc-pascal