www.digitalmars.com         C & C++   DMDScript  

c++.dos.16-bits - TSR and DOS stack problem

reply "Zbynžk JaroĻ" <jaros swotes.cz> writes:
Hello,

I start a TSR /INT 1C - timer/ and a aplication program and both programs
work correctly. When I close apllication, the DOS command.com didn't load to
memory and system halted with error message 'Memory page fault'. I using
MSDOS 6.2.
In DOS mode WIN98 both programs work correctly and after I finished
application command.com loaded and work.


Thanx  Zbynek
Aug 31 2001
parent "Walter" <walter digitalmars.com> writes:
DOS is notorious for being extremely sensitive to any coding errors in a TSR
program. The best I can suggest is to write a bare minimum TSR, and see if
that works under DOS 6.2. If that does, then gradually add the features of
your program to see what is breaking it. -Walter

Zbynžk JaroĻ wrote in message <9mnu3a$2ql0$1 digitaldaemon.com>...
Hello,

I start a TSR /INT 1C - timer/ and a aplication program and both programs
work correctly. When I close apllication, the DOS command.com didn't load

memory and system halted with error message 'Memory page fault'. I using
MSDOS 6.2.
In DOS mode WIN98 both programs work correctly and after I finished
application command.com loaded and work.


Thanx  Zbynek

Aug 31 2001