The problem is that qemu goes into a boot loop and only loads my boot-loader before it fails and restarts instantly.
I think the problem is with the length of my kernel or the location of my kernel main function in memory. I am completely stumped on this.
The source code:
https://github.com/lochyj/OSI am running Arch in WSL on windows 10 to compile and run it.
i have a previous version that works untill i include certain header files in the kernel.c file. But i tried removing the files from the kernel.c file on the current version and it doesnt work.
The kernel is an adapted version of
https://dev.to/frosnerd/series/9585Running the image file: qemu-system-i386 -fda ./out/image/image.img
There is extra info in the github repo
I am relatively a beginner at OS dev and i am just trying it out for fun and as a project to put on my github.
Thanks in advance!
If you need any extra info just ask!