Information AboutLoadall |
| CATEGORIES ABOUT LOADALL | |
| x86 instructions | |
|
LOADALL notably allows access to all memory from Real Mode , without temporarily switching the processor into protected mode. Programs such as RAMDRIVE ( Ram Disk in MS-DOS ), AboveDisk (a commercial package by Above Software which converted Hard Disk or Extended Memory into Expanded Memory ), and OS/2 used LOADALL. Examination of the virtual machine monitor code in Windows/386 2.1 shows it uses both the 286 and the much less documented 386 variant. Another interesting usage of LOADALL, signalled in ''The Design of OS/2'' book, would be to allow running former real mode programs in 16-bit protected mode, catching the resulting General Protection Fault s and using LOADALL in order to load descriptor cache registers in such a way that the DOS program would have the illusion of being able to load any value into segment registers and to perform "segment arithmetic". However, this idea has been abadoned when it was noticed that some early 80286 processors were not able to recover from the GPF exception, because the value of the CX register was lost. As a result, OS/2 1.x ran DOS programs in real-mode, using either the keyboard controller or some PS/2 -specific motherboard features in order to reset the processor from protected mode where native OS/2 1.x programs ran back to real mode, something which could not be accomplished using machine instructions, which only allowed switching in the opposite direction. EXTERNAL LINKS |
|
|