On Wed, 25 Feb 2004, Luchezar Georgiev wrote:

> Salve,
>
> When I EXIT from primary shell (loaded without explicit /P by
> "SHELL=FREECOM.EXE" in FDCONFIG.SYS), the kernel crashes with "Invalid
> Opcode" instead of showing "System shutdown complete / Reboot now". Any
> suggestions? The code in the CVS main.c between lines 398 and 426 seems
> OK, but...

main.c is init code. It may be disappeared by the time you exit
command.com. A hook would be needed in the resident code, and it was there
some time ago but it was removed to save some bytes ;)

the real question is: why is this a problem? I think you're not supposed
to exit the primary shell.

Bart



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to