Hey Kemyland!
KemyLand wrote:
I ran it on qemu-system-i386. As always, GRUB took about 5 seconds to load everything. The ISO is pretty heavy (why?). The kernel bootup is fine. Did you added some debug delays? The APIC driver is great, pretty Linuxy. I know the GUI is a work in progress, but it is really buggy, at least with the mouse. I'm still curious, why the ISO is 37,2MB? I know GRUB(2?) takes about 5MB, but the remaining 32,2MB of *compiled* code?
Try it in VirtualBox. It works much better there and should barely lag. QEMUs video mode is for some reason much slower than VirtualBox when using the video mode I do.
KemyLand wrote:
Edit: Results that the kernel is just 360,2KB (remember it's a micro). Those extra bits came from the initrd... What do you have in there?
BTW, what "loader" does?
Well, there are about 6-7 MB's of font's, images, cursors and stuff. I could've excluded some.
Also, the ramdisk contains all the programs that already run under the hood:
idle, initialization, ps2driver, spawner, portdistributor, vbedriver, vfs, windowmanager
each has a size of about 3 to 6 MB. They are all statically linked, and also they are C++, hence the size.
KemyLand wrote:
Edit 2: It appears to be that "loader" is what GRUB really takes as kernel. The kernel and initrd are just Multiboot modules. "loader" then does its job, right?
Right, the kernel is loaded in two steps: GRUB loads the Ghost loader, which then sets up stuff like paging and loads the Ghost kernel binary (an elf binary) right into the higher memory and jumps to it.
Thanks for the feedback and trying it out!