Good news! The venerable SoftICE 2.80 for DOS helped me out even without its back trace function! When the INSTALLedHIGH program gets loaded and DOS function 31h (keep process resident) is called, during this call it crashes! Specifically, when returning from 997D:27EE, it starts executing code consisting of... 9 consecutive zeroes at 997D:03E9! 997D is the INIT_TEXT segment. Now let me see the map... 27EE (from where it returns) is the RET at the end of DOINSTALL, and 3E9 is the place near the end of _FreeDOSmain which should contain a call of KERNEL, but it contains only ZEROES! So, somebody *wipes* the code while we're executing DOINSTALL - we have a kind of unintentional self-modifying code! The question is *who*, *where* and *when* does that! Again SoftICE will help.
The function that wipes the code at that place turned out to be DOSMEMFREE! The fault may not be in it but in the parameters it gets, but anyway, I must see its source code to see what's going on...
Stay tuned... Lucho
------------------------------------------------------- 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