|
il y a 10 ans | |
---|---|---|
.. | ||
32bit-main.asm | il y a 10 ans | |
32bit-switch.asm | il y a 10 ans | |
README.md | il y a 10 ans |
Concepts you may want to Google beforehand: interrupts, pipelining
Goal: Enter 32-bit protected mode and test our code from previous lessons
To jump into 32-bit mode:
cr0
We will encapsulate this process on the file 32bit-switch.asm
. Open it
and take a look at the code.
After entering 32-bit mode, we will call BEGIN_PM
which is the entry point
for our actual useful code (e.g. kernel code, etc). You can read the code
at 32bit-main.asm
. Compile and run this last file and you will see the two
messages on the screen.
Congratulations! Our next step will be to write a simple kernel