Assambler

Rose-OS - Makefile teardown

In this post, I will be describing programs and resources used to build Rose-OS and how we combine then into a single, automated Makefile. Programs used to generate the kernel gcc nasm bochs (Emulator) ld cat rm gcc Is the compiler we use to compile our code. Normally, this command preprocesses, compiles, assembles and links our code, but we can stop it from doing this with some command-line options.
Read more

Entering 32-bit protected mode

In this post, we will cover how to enter 32-bit protected mode. This is a requirement if we want to be able to create a OS with the features we are used to. Otherwise, we will have very little storage space allowed due to the 16-bit reference limit. Boot sector To enter 32-bit protected mode, we first have to bootstrap our code from a 16-bit sector. This is necesary because the initial code location is stored in a space-restricted zone.
Read more