Re: [Freedos-kernel] Primary shell EXIT crashes with invalid opcode

2004-02-29 Thread FreeCOM
Bart Oldeman wrote: Why not use the I/O stack (char_api_tos)? When process0 terminates the this may be possible but tricky in C. As the code must make sure it doesn't use any stack that it relies from before int21/ah=4b after int21/ah=4b. I don't understand: When process0 is about to be

Re: [Freedos-kernel] Primary shell EXIT crashes with invalid opcode

2004-02-29 Thread Luchezar Georgiev
Hallo Bart and Steffen, It goes all the way back to kernel 2024a released Apr 16 2001. Before that kernel there was a p_0() function in task.c. Around that time we were making huge gains in the memory usage of the kernel. First Tom implemented HMA support (before that the resident part of the