View Single Post
Old Apr 29th, 2006, 7:08 PM   #3
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,034
Rep Power: 5 lectricpharaoh will become famous soon enough
Your problem might be that DOS is non-reentrant, and you're trying to call it from what appears to be an interrupt context. Without seeing exactly how you get those scancodes into AX, or under what conditions your TSR is invoked, I can't say for sure (since, according to the code, AX has your program's CS value).
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote