2 ms·
I wrote a generic VESA framebuffer driver for Win9x a while back; it was surprisingly easy to get something working, as all it had to do was switch modes and th
by userbinator 4y ago
I wrote a generic VESA framebuffer driver for Win9x a while back; it was surprisingly easy to get something working, as all it had to do was switch modes and then give the DIBENG the framebuffer to draw on. A few hundred lines of Asm were sufficient, most of it being the mode switch and configuration logic.
What I didn't do was give it a VxD, so windowed DOS boxes didn't fully work --- the architecture of 9x is a hypervisor and what isn't trapped/virtualised goes directly to the HW, so the DOS boxes end up messing the state of each other and the "system VM" where the GUI runs. Unfortunately I don't know of a way to have a similarly generic virtualisation of the hardware.