3 ms·
This discussion is interesting, I had read earlier that long mode was a point of no return, I guess that's not true after all? I guess no v86 mode still makes
by 0x0 10y ago
This discussion is interesting, I had read earlier that long mode was a point of no return, I guess that's not true after all?
I guess no v86 mode still makes it a dealbreaker for NTVDM type applications. Nobody wants to go back to a windows 95 style OS where a 16bit application runs unprotected and can stomp over anything and bring the machine to a halt. (For example, in win95 you could run debug.com and overwrite the first blocks of physical memory with zeros, which would immediately crash everything since that's where interrupt vectors like the IRQ timer is stored)
Would it be possible to bounce from 64bit long mode to 16bit real mode with some trusted code that bounces on to a mini kernel in 32bit protected mode that hosts v86 16bit applications, and then back again?
- Dylan16807 10y agoI heard that too, but then I actually looked at the manual, and it's very simple to both enter and exit long mode. As far as I know it's possible to do all that and have a very-mixed OS.
- caf 10y agoThe easiest way to host 16 bit applications now is to use the virtualisation extensions to run a VM in real mode.