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 444633
To read all comments associated with this story, please click here.
nice os
by paul14213us on Sat 9th Oct 2010 23:20 UTC
paul14213us
Member since:
2010-10-08

I wonder if any of the os is written in assembly

Reply Score: 1

RE: nice os
by Neolander on Sun 10th Oct 2010 09:52 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