#Interrupt Handler in C++ (Increment tick variable)

2 messages · Page 1 of 1 (latest)

steel anchor
#

I am writing code for the OpenWatcom assembler to compile on DOS. I am looking to write an interupt handler which increments a private class variable _tick.

My compiler cannot find the header file for <thread>, so I figured the other way to write code that runs concurrently is by writing an interupt handler in either C++ or assembly to run alongside my code. Specifically interrupt 0x1c.

If I am super desperate, I could probably directly modify the Interrupt Vector Table with a far pointer? (I do not think this would be an ideal solution)

pallid ploverBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.