Some operating systems don't support hlt
instruction, because of this, the CPU spin loops instead of idling.
Here are some solutions for different OSes:
- Download
DOSID251.zip
from https://www.vogons.org/viewtopic.php?p=438763#p438763 - Unzip DOSIDLE.EXE from archive in any location (recommended to root of C:).
- Run
edit C:\autoexec.bat
- Add to file:
C:\path\to\dosidle.exe
- Save changes (press Alt + F and x) and restart the VM.
Note: To hide output when starting DOSIdle, change C:\path\to\dosidle.exe
to C:\path\to\dosidle.exe > nul
on step №4.
FreeDOS (source)
- Run
edit C:\fdconfig.sys
(oredit C:\config.sys
) - Add to file:
IDLEHALT=1
- Save changes (press Alt + F and x) and restart FreeDOS.
- Download
amnhltm.zip
from http://toogam.com/software/archive/drivers/cpu/cpuidle/amnhltm.zip (mirror) - Unzip the archive in any location.
- Note: If you have installed VBE9x, restart Windows, press F8 on boot, select Command prompt only, run
cd C:\path\to\amnhlt\
, and follow to the next step. - Run
AMNHLT.BAT
- Restart Windows, and AmnHLT will start automatically on next boot (you can safely delete archive and unpacked folder).
These systems are already supports hlt
, no further action is required.