... > The IdleCPU function [2] is a little more complex. It will first try to use > DOS to perform the Idle for power reduction. > However if that is not supported, it will simply fall back on the CPU HLT > instruction. The CPU will remain idle until the > Next interrupt occurs (like keypress, timer tick, etc.). ... > So, there really isn???t anything fancy or special going on.
You definitely pointed me in the right direction! The problem with my emulator was that it would return to the HLT instruction itself after an interrupt while it should go on with the instruction after it. Now it works :-) Thank you very much. _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel