[fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?
Nikolai Zhubr
s001 at hotbox.ru
Thu Mar 18 02:12:09 CET 2004
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.
--
Best regards,
Nikolai Zhubr
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list