Page 2 of 2

Posted: Fri May 23, 2008 4:46 pm
by DrLink
I successfully managed to get Bare Bones working, thanks a million, guys! I've also gone to the trouble of creating a complex bash script to build the kernel's floppy image. I've successfully run the kernel in VMware Server (I don't see what the big pay-for fuss is about Workstation, in my opinion, Server is just as good). I was presented with a GRUB prompt, and I was still unsure of things, but I typed "kernel 200+18" and upon pressing enter and receiving another prompt, I typed "boot," and with a sigh of relief, I was greeted by an "A" in the upper right-hand corner of the screen. Since that's all that _kmain() does (for some reason, I was forced to name it "_kmain()" but I was always told that gcc renames all functions to where they have an underscore in front of their name to prevent clashing with the libraries included with C, but I must remember, when I'm using ELF, I don't have to put an underscore in the ASM entry of the kernel)... I was happy to see the little "A" in the corner. Well, it's off to make a printf and clearscreen function. Once again, thanks, and I hope to come back and ask questions for building my OS!

-Dr_Link, also known on other corners of the system-of-tubes-we-call-Internet as "TheMasterSwordsman"