Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Did you pass the pointer to the multiboot structure to your kernelmain? EBX contains the pointer to the multiboot structure, EAX should contain the value 0x2BADB002. You could pass both to kernelmain with something like:
MichaelPetch wrote:Did you pass the pointer to the multiboot structure to your kernelmain? EBX contains the pointer to the multiboot structure, EAX should contain the value 0x2BADB002. You could pass both to kernelmain with something like:
Yes, I've pushed the values to stack, and modified the kernelmain definition.
The problem was my formula, which was wrong. I should later convert it to Mebibytes, right?