Linux Today: Linux News On Internet Time.

More on LinuxToday

Hobby OS Development 512 Byte Bootsector Competition

Jan 15, 2010, 07:32 (0 Talkback[s])


Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers

[ Thanks to quok for this link. ]

"The goal of this 512 byte contest isn't to see who can do the fanciest thing with the least amount of asm code. Instead, it's rather practical. It's a real bootsector, and it's meant to be used by the osdev community. It also isn't being run the same as these competitions have been in the past.


"Implement in no more than 512 bytes a bootsector that will work on BOTH FAT12 and FAT16 formatted media. The bootsector must detect at runtime which filesystem type it is running on and act appropriately. This bootsector must be self contained; for example, it cannot load an additional sector to handle FAT16 operations.

"Scan for a file named "OSLOADER " in the root directory.

"OSLOADER is a statically linked 32 bit ELF file. Parse the headers and load the file accordingly. Several sample files will be provided at a later date to test your bootsector against. None of these files will have load addresses above the first megabyte.

"Jump to the ELF entry point.

"Use only instructions available on the i386."

Complete Story

Related Stories: