Here are my latest news. If I compile ALL the kernel for 80186, and ONLY the fmemcpy function in main.c for 80386 (using #pragma option -3 and -1, all the other functions in main.c are compiled for 80186 too), it crashes! I tried all other possible combinations, and it turned out that it doesn't depend on whether ANY other file or ANY other function in main.c is compiled for 80186 or 80386. It only depends on what CPU fmemcpy in main.c is compiled for. If it's compiled for 80386, it crashes. If it's compiled for 80186, it doesn't. So I'll now try to implement Bart's idea of using ASMSUPT.ASM in the INIT code. I believe that this will solve the problem once and forever.

Lucho

P.S. It seems that I'm in the black list of SourceForce, but only for the kernel mailing list, as I receive only half of the articles there. The other mailing lists work well. I'll keep trying...


------------------------------------------------------- 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