Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

hot dos (Developers)

posted by rmcconne, 11.05.2025, 15:15

> When I run DOS 4.0 or Freedos under Virtualbox or qemu, it maxes out a CPU
> core (as far as I can tell).
>
> Even though it is just sitting at the command prompt waiting for a
> keystroke.
>
> Any idea what is causing that?
>

Ah yes, the dreaded busy-wait syndrome. This has been a recognized issue since the days of CP/M, with many suggested solutions. For the 8-bit processors, it wasn't much of an problem. They were too slow for it to make a real difference. It wasn't until the second generation of 16-bit CPUs that it actually gained notice, due to the extra heat it generated. A simple Google search on "handling busy-wait" will return lots of ideas and suggestions. I also remember more than one magazine article on the topic back in the late 1900's, but they may be difficult to find now.

Good luck,

Bob

 

Complete thread:

Back to the forum
Board view  Mix view
22552 Postings in 2097 Threads, 401 registered users, 44 users online (0 registered, 44 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum