Salem,
I thought your code would work when i compiled it. It compiles but it doesnt do the job. I tried my program with turbo c's setvect and getvect, it worked, but it doesnt work with your code, although it looks like correct. I couldn't find out where the mistake is.
I have to write my own code for setvect and getvect functions instead of using turbo c's setvect and getvect. The prototypes are:
void interrupt (*getVect(int intNo)) ();
void interrupt setVect(int intNo, void interrupt(*isr) ());
I tried to use far pointers but i had errors(cannot convert...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.