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 ecm Homepage E-mail, Düsseldorf, Germany, 08.05.2025, 00:36

> 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?
>
> I would have expected the BIOS provided by Virtualbox/qemu to just ask the
> underlying host for a keystroke and that would put it to sleep.
>
> I guess the timer interrupts will still be firing, but those too are
> internal to Virtualbox/qemu so I expect them to be small, even if it
> doesn't have the smarts to recognize that in this situation it doesn't need
> to run them at all.
>
> Thanks. Paul.

You have to idle the machine while waiting. Unfortunately most DOS and ROM-BIOS do not do that. Try loading fdapm apmdos (most aggressive savings) or fdapm adv:reg (less aggressive to minimise delays).

A build is available at https://pushbx.org/ecm/download/fdapm.zip This build supports the fdapm unload command.

---
l

 

Complete thread:

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