mov eax , cr0
or eax , 0x01
mov cr0 , eax



back to months list

Project : The "Microkernel" Operating System

Journal Entry Date : 2023.12.27

Today was fixing the bug in Kernel Argument handling and implementing the higher-half kernel. I started up with making function that modifies page entry of given linear address. I tested the function, and I found something very strange. Somehow only the 32-bit parts of entry number was written to the page entry, ignoreing higher 32-bit address. I thought this was my code's problem, but I found same weird glitch from another well-known operating system.. I think that this happens because Virtualbox Debugger only reads requested linear address as 32-bit integer, since it processed as index 0x00 when I commanded to look up for linear address 0x14 0000 0000. It's very very weird bug, but I don't care much becasue the system works as intended haha.


Weird!

...

Tried implementing gcc library to kernel also. That always fails lol.