Accessing ring 0 mode from user applications ( and why Borland allows this )
As the semester's deadlines approach, I decided to start working on a project in Operating Systems course at my college. The problem with the project assignment is that it requires students to develop a user application ( exe ) that will execute as a simple kernel ( basic process and thread management ). First thing that popped to my mind was : How the hell am I supposed to execute privileged code in user application? After consulting with other students ( who did the project on time ), I learned that they were able to execute privileged code without problems using Borland 3.1 compiler.