In DOS use tools IDLE.COM or FDAPM:
LH FDAPM APMDOSPlease read this blog's to understand what I mean:
Why does DOS use 100% CPU under Virtual PC?
DOS guest in VirtualBox is heating up the host machine
Is it possible to do something to G4D using APM?
Thx.