I haven't toyed with operating system development for a long time, but I figured I'd get back into it and post a topic to show the progress.
Last night, I wrote the FAT12/FAT16 floppy bootloader. It's unique from most other bootloaders in that mine can load files from a complete filepath like SYSTEM/DRV/BOOT.BIN instead of forcing the file to be in the root directory. In the pic below, it copies SYSTEM/BOOT.BIN from the floppy disk to the physical address 0x00000500 (linear 0x0000:0x0500), and jumps to it. BOOT.BIN then prints out a silly message just to prove that it got that far.
BOOT.BIN is the second stage of the bootloader, and will be responsible for parsing the master boot record to determine which partition to boot from, performing any necessary tasks that need to be done in real mode, then entering protected mode / setting up paging / and far jumping to the kernel.
Last Edit: Jan 24, 2013 18:23:27 GMT -5 by Deleted
pfft. All I ahve to say is all open source libraries and applications are sloppy, fat, and disgusting. Especially Unix and standard libraries
That's why I'm rolling my own bootloader
This is actually nothing compared to I had done before. A while back, I had an operating system that setup paging and graphics, had a simple graphics api that allowed for drawing lines, rectangles, boxes, and blitting images, and had a very simple gui framework.
yeah. I just never finished it. that was before Flotonic contacted me on Youtube over Modshack and I came back to the community.
Also please elaborate on your FOSS/OSS/OSL argument.
saying they're their sloppy and fat pretty much sums it up. fact is, you can't keep a project clean with 100+ people working on it.
also, some libraries are extremely unsafe; like libpng which makes use of jump buffers and was one of the major exploits behind softmodding the PSP, animated GIF's can contain viruses, netfront is famously known to be prone to buffer overflow errors which are often used in exploits, and Firefox is prone to memory leaks and can spike up to 2GB with just a few hours.
some examples of just how sloppy open source libraries are include the GCC, Firefox, Chromium, and libc; all of which are so ridiculously sloppy and unorganized that they refuse to build out of the box, and the developer has to hunt for hours for solutions or patches, which aren't consistent, and 99% of the time don't work.
some examples of just how fat open source libraries are include the GCC and the Ext3/4 filesystems, both of which people use alternative just for that reason like TCC and the Ext2 filesystem.
All I ahve to say is GRUB
I was making the comparison to other custom bootloaders, not full fledged libraries like like GRUB.
most of those comments are nulled out by the fact that I wasn't claiming microsoft to be better than linux. in fact, I hate it 10x more, and 99% of the time it's worse.
generally, I think ALL software sucks, especially open source. and I didn't say was grub wasn't a bootloader I said it was an entire library. It parses partitions, loads files from disks, sets graphics settings, and executes various executable types. It's more than a bootloader, it's pretty much a microkernel.
but that's aside from the point. this thread wasn't made to show off my kernel, it was made to track the progress. the project was just started.