C

Loading a simple kernel written in C

In this post, we are describing how to write a simple C program and loading it from a 32-bit boot sector code. In this post, our kernel is as simple as it can get. It consists of a stored variable in a specific location in the code. Boot sector The code we are going to use in this section has nothing new. We are changing from 16-bit to 32-bit to be able to access more memory range.
Read more