News for hackers. Stuff that matters.
Re:Operating System Development Series (2008) by octo_t on Saturday August 24, 2013 @10:07AM (#6268680)
If you are also interested in OS development, Stanford has developed Pintos[1] which is designed to teach OS concepts: threads, system calls (and the security thereof), virtual memory and filesystems.

[1] - http://www.stanford.edu/class/cs140/projects/pintos/pintos.h...

Re:Operating System Development Series (2008) by lubomir on Saturday August 24, 2013 @10:16AM (#6268698)
Another interesting source where to learn about implementing Unix-like OS is JamesM's kernel development tutorial.

http://www.jamesmolloy.co.uk/tutorial_html/index.html

Re:Operating System Development Series (2008) by sigjuice on Saturday August 24, 2013 @11:15AM (#6268846)
Re:Operating System Development Series (2008) by computer on Saturday August 24, 2013 @04:41PM (#6269724)
I wish this resource existed 10-15 years ago. I remember scavenging the internet for information about OS development, assembly and everything.

I think in the end the best resource I found was something called "DS-OS", a basic assembly OS implementation. Looks like it's online at http://forum.osdev.org/viewtopic.php?f=2&t=22083

This stuff got me into lower-level (than VB) computer programming-- good memories.

Re:Operating System Development Series (2008) by hga on Saturday August 24, 2013 @06:51PM (#6270143)
In the bad old days, 1976 and on, we used this: http://en.wikipedia.org/wiki/Lions%27_Commentary_on_UNIX_6th...

Unfortunately it was essentially samizdat until 1996. But it's an excellent work, and e.g. taught me pointers when the K&R chapter on pointers and arrays didn't work for me.

Re:Operating System Development Series (2008) by aray on Sunday August 25, 2013 @03:53AM (#6271291)
Tanenbaum's ineffable "Operating Systems Design and Implementation" and MINIX (a learning OS) existed then, and was what Linus Torvalds studied before creating Linux:

http://www.amazon.com/dp/0131429388

Re:Operating System Development Series (2008) by ersenal on Sunday August 25, 2013 @08:59AM (#6271918)
I have developed a monolithic x86-32bit OS[1] for my undergraduate dissertation[2] with the aid of Brokenthorn's and JamesM's tutorials.

The project aims to introduce OS concepts to CS students, thus the code readability was the number one priority.

The main features include:

- Preemptive multitasking

- Doug Lea's Malloc as the heap manager for both Kernel and User side.

- Read-only ram disk (which is simply a tar file passed as a GRUB module)

- A (very) simple user Shell

[1] - https://github.com/ersenal/Incitatus-OS

[2] - https://github.com/ersenal/Incitatus-OS/blob/master/disserta...

Re:Operating System Development Series (2008) by gpsarakis on Saturday August 24, 2013 @12:17PM (#6269016)
I particularly focused on this section http://www.brokenthorn.com/Resources/OSDev18.html . Although not mandatory for development, having a grasp of these concept does give a better insight. Well done!
Re:Operating System Development Series (2008) by aninteger on Saturday August 24, 2013 @01:48PM (#6269260)
Anything on amd64 with a focus on acpi? Pretty my a requirement for modern x86 os dev these days.
Re:Operating System Development Series (2008) by tankenmate on Sunday August 25, 2013 @01:53AM (#6271072)
This site is focused only on x86 rather than x86_64. In fact you'll find that this organisation of permissions within the kernel using 4 ring levels will only work on x86 as most other ISAs only have two levels, supervisor and user (ARM, MIPS, SPARC et aia).
Re:Operating System Development Series (2008) by zura on Saturday August 24, 2013 @02:56PM (#6269430)
I'm still waiting for some good OS/Systems course from Coursera, Udacity or EdX.
Re:Operating System Development Series (2008) by aray on Sunday August 25, 2013 @03:59AM (#6271302)
MIT's OpenCourseWare has their Operating Systems Engineering course available online : http://ocw.mit.edu/courses/electrical-engineering-and-comput...
Re:Operating System Development Series (2008) by zura on Sunday August 25, 2013 @06:39AM (#6271612)
Yes, but there are no lecture videos. The lecture notes pdf's alone are not enough for thorough learning.
Re:Operating System Development Series (2008) by gvkalra on Saturday August 24, 2013 @03:06PM (#6269461)
yea. Me too. That would be a wonderful leap.
Re:Operating System Development Series (2008) by dmytrish on Saturday August 24, 2013 @02:29PM (#6269358)
I did a bit of OSDev two years ago: https://github.com/EarlGray/COSEC

It's still a very incomplete system: it loads, sets up IDT/GDT, uses several simple drivers for keyboard, timers, serial interfaces, probing PCI bus, an effort to write a floppy disk driver (I could test it on virtual machines only though). There's a demo of multitasking, a demo of going to userspace and doing system calls, a demo of VFS and RAM-fs (I overcomplicated it and got stuck, but I have not rewritten it yet).

These articles were an invaluable source of information and a starting point for design.

Re:Operating System Development Series (2008) by stephengillie on Saturday August 24, 2013 @05:12PM (#6269802)
Slightly simpler guide for writing an OS for the RasPi (repost):

http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/os/