Comment by snvzz
2 years ago
>Calling BIOS interrupts requires the system to be running in real mode, which is incompatible with running 32-bit code.
Hold my beer[0].
0. https://en.wikipedia.org/wiki/DOS_Protected_Mode_Interface
2 years ago
>Calling BIOS interrupts requires the system to be running in real mode, which is incompatible with running 32-bit code.
Hold my beer[0].
0. https://en.wikipedia.org/wiki/DOS_Protected_Mode_Interface
DPMI is a software interface exposed by an operating system or a DOS extender, not part of the BIOS.
Sure, but then again, it does prove it is possible.
DPMI provides ability to do both DOS and BIOS calls "in protected mode".
Similar trickery is often used to leverage BIOS drivers on new OSs until adequate native drivers are available.