A Look At Bootstrapping
markmcb writes "OmniNerd posted an interesting article on the often-overlooked process of bootstrapping. The author does a nice job of showing how to take an x86 system from BIOS to OS once it's powered on. A complete set of commented code is provided and explained in the article."
Here I was hoping it was going to be a story about the commercialization of space.
How we know is more important than what we know.
All this article says to me is how old and convoluted the x86 architecture is. I mean, all these memory restrictions and limits, all there for the sake of backwards compatibility. And we've just kept building on the same platform, so there's no way out.
A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
When I modified the boot sector of some floppy disks and spread them around at work. If you tried to boot them, you'd see the following message:
You can't boot this floppy. Pull the floppy out of the drive and your head out of your ass and try again
"Eve of Destruction", it's not just for old hippies anymore...
Here's a bootstrapper that's written in over 99% C, boots Linux off several commercial mainboards, and isn't limited to just x86.
I guess TFA is a good technical resource, but it's also a good reminder as to why big wads of assembly suck.
Slashdot has an Article JUST FOR ME!
Finally! A /. article just for me! I've written an OS before, a small one. It didn't do much. But I didn't understand shit about the ASM involved, or even why 0x700h or whatever was the correct place to put the stack. So kudos to /.. Kudos.
I'll subscribe to Slashdot when I see a month without a dupe, a typo, or an article the "editors" didn't read.
That's a very insightful article. You know, I'm always amazed by people that sit down and start writing a new OS. I was impressed by BeOS and am very impressed by ReactOS. I'm using a Mac, and I only run Win98 inside Qemu, but as soon as ReactOS can run everything I need, I'll switch for sure! I just wish I had time to contribute to such wonderful projects!
Get a free Video iPod!
To you it might look old and convoluted. To me, it looks like a design sharpened by natural selection. The old 16-bit modes stay, because they have vestigial uses and they aren't sufficiently problematic to make the chip "evolutionarily unfit".
I'm part of the OS dev community and this has been detailed time and time again, what makes this so special?