On Sat, 14 Feb 2004 16:04:17 +0200, Luchezar Georgiev <[EMAIL PROTECTED]> wrote:

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.

Just did that, but the result is catastrophic so far. Some of these functions don't work and the kernel dumps only the compiler and CPU and crashes. Even the signon message is not displayed. I'll have to check how the functions are called. I've declared them as ASMPASCAL. Struggle continues...


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

Reply via email to