Waiting for any non-zero duration currently waits for at least one timer
cycle (10 ms), which is especially expensive during early boot.
The current workaround of simply reading the status 14 times seems really
suspicious although the osdev wiki documents it, but let's see how well it
works on real hardware, it's probably good enough.
Try to determine the initial selected drive to save one drive selection.
This change adds the display(1) graphical user interface and desktop
environment with basic windowing support and the graphical terminal(1)
emulator along with integrations in chkblayout(1), chvideomode(1),
sysinstall(8), sysupgrade(8), as well as the games and ports.
Adopt the Aurora procedural wallpaper in display(1) and login(8).
Remove the obsolete dispd.
Juhani contributed keyboard and video mode APIs to the display protocol
and other miscellaneous changes.
dzwdz contributed the initial functioning window buttons, improved title
bar, window tiling, and minor bug fixes
Co-authored-by: Juhani Krekelä <juhani@krekelä.fi>
Co-authored-by: dzwdz <kg67199@gmail.com>