On Sat, 28 Oct 2017 21:56:22 +0200, Andreas K. Foerster wrote:
> The old version did a "busy-waiting". That was bad, when you run it on
> top of a multi-tasking system in an emulator. It waists cpu-cycles.

Even on a single-user DOS it is bad: increased power consumption, heat, 
less battery time...

> The new version makes use of the hlt instruction.

Not good either. You should rather issue a proper 'idle' int and let the 
task scheduler or power manager do its job.

INT 28        http://www.ctyme.com/intr/rb-4122.htm
INT 2F,1680h  http://www.ctyme.com/intr/rb-4530.htm

Mateusz
-- 
FreeDOS is present on the USENET, too! alt.os.free-dos


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to