kvetter@dartvax.UUCP (Keith Vetter) (10/22/85)
*** REPLACE THIS LINE WITH YOUR MESSAGE ***
After reading the article in the special BYTE issue about the PC on making
your own desk accessories via an interrupt handler, I decided to write one
myself. I ran into a problem with DOS that hopefully someone out there can
shed some light on:
If the interrupt handler uses the stack segment and pointer it
receives from the interrupt, it works fine.
However, if it changes the stack segment and pointer (and restores them
upon leaving) some times, but not always, I get the error message upon
leaving an application "Memory allocation error. Can't load COMMAND.COM"
Since my handler doesn't use DOS's allocation facilities and it only
happens occasionally, it seems like a interrupt problem.
Can anyone explain what could be going on here? Thanks.
Keith Vetter
Dartmouth College
Hanover, NH 03755