Hi, I would like to comment on that discussion again... I meant HLT in the CON idle loop and configurable through config,sys - not an HLT in int 28 without a way to configure it. Very similar to the Linux HLT (no direct config, but at boot a test is performed to see whether the CPU has an HLT bug as far as I remember). The good thing: It takes VERY little RAM to do this. The bad thing: It is less advanced and less energy-saving than FDAPM (which probably still takes less RAM than MS POWER, dunno...). About EMM386: HLT is trapped, so it is up to EMM386 to allow it to happen. But it is not generally incompatible - all EMM386s that I know either ignore the HLT or allow it to happen, none throws an error message. In any case you should either embed the HLT in pushf sti ... popf or assume "when waiting for CON input it is good to have STI anyway" and save the 2 bytes for the pushf/popf.
By the way, I have a tool around to configure Cyrix 6x86 M1 (those w/o MMX) to enable CPUID and the "stop grant state during HLT" (or something similar, forgot the exact name) and some other tweaks. Very small. If you have such a CPU, let me know and I put my tool and sources online. Eric. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel
