Linked by Thom Holwerda on Thu 7th Oct 2010 19:08 UTC, submitted by poundsmack
OSNews, Generic OSes ScaraOS is a 32-bit, multiboot-compliant, monolithic OS kernel. It has the beginnings of a paged VM system and VFS. It supports PCI, DMA, AT floppies (read only), EXT2, and can do all the low-level stuff expected of an OS kernel (program the PIC, handle interrupts, control the timer, etc.). It was written primarily to learn OS fundamentals. It boots using any multiboot bootloader, and it has been tested with grub on qemu and KVM. Bootable floppy images are available.
Thread beginning with comment 444661
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: nice os
by Neolander on Sun 10th Oct 2010 09:52 UTC in reply to "nice os"
Neolander
Member since:
2010-03-08

I wonder if any of the os is written in assembly

There is necessarily at least a part written in assembly. Consider hardware-specific features like paging : you need CPU-specific instructions to access them.

Reply Parent Score: 2

RE[2]: nice os
by WereCatf on Sun 10th Oct 2010 12:15 in reply to "RE: nice os"
WereCatf Member since:
2006-02-15

There is necessarily at least a part written in assembly. Consider hardware-specific features like paging : you need CPU-specific instructions to access them.

Correct. It's however surprisingly little assembly you need. You can just write very small, specific functions and call them from some higher-level code and you end up with only a few hundred lines of actual assembly code. I too used plain C in my kernel to do all the rest, just a few scattered assembler functions when something couldn't be done in any other way.

Reply Parent Score: 2