tom ehlert escreveu:
IMO, scince FS, GS, and the high parts of EAX,... aren't used by MSDOS as well, drivers can get away when they destroy these resisters, so it's a good idea to save them as well.
This gets complicated when Kernel is 386 optimized. MS-DOS never modified this because it is 16-bit. It could be argued that if a kernel is to be compatible it cannot modify them either.
Now the other way round: can the kernel be sensistive to 386 registers being modified by drivers? IMHO not, because the original one is not and hence some drivers will stop working.
Then I believe that it is the kernel resposibility to preserve it's registers.
But it is nice to have EMM386 to preserve them too :) Alain ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
