Live data from Hacker News

Build your own operating system

himmele.blogspot.com

1–10 of 22 posts

Re: Build your own operating system

#2
It's funny, but this could have been me. I also wrote a toy OS in 2001 and I learned by using many of the same resources you listed.

One thing that makes this all SO much easier these days is the Virtual Machine. I remember back in '01 I didn't really know much about them and so, everytime I wanted to test my OS, I would dd it to a floppy and then boot it on a crappy laptop I had lying around. I probably would have stuck with it had I used a VM and some scripts.

Re: Build your own operating system

#4

It's funny, but this could have been me. I also wrote a toy OS in 2001 and I learned by using many of the same resources you listed. One thing that makes this all SO much easier these days is the Virtual Machine. I remember back in '01 I didn't really know much about them and so, everytime I wanted to test my OS, I would dd it to a floppy and then boot it on a crappy laptop I had lying around. I probably would have s…

What would you say about writing an OS on something like an Arduino ? Without mucking with ASM, you could at least give it the ability to run multiple processes and implement some IPC. I've been trying to do something of the sort but I've got other high-priority stuff to get out of the way first.

Re: Build your own operating system

#7
Writing a toy OS is something that while seemingly intimidating, is actually pretty approachable. My mind was blown when I came across Lions' Commentary on UNIX as a HS sophomore, and I ended up spending the whole summer working on some dinky Unix'y clone.

I do OS development and most of my coworkers had similar experiences.

Re: Build your own operating system

#8
post #7

Writing a toy OS is something that while seemingly intimidating, is actually pretty approachable. My mind was blown when I came across Lions' Commentary on UNIX as a HS sophomore, and I ended up spending the whole summer working on some dinky Unix'y clone. I do OS development and most of my coworkers had similar experiences.

I've started building a webversion of Lions' Commentary, maybe this is helpful for someone. https://github.com/warsus/lions- http://warsus.github.com/lions-

Re: Build your own operating system

#10

It's funny, but this could have been me. I also wrote a toy OS in 2001 and I learned by using many of the same resources you listed. One thing that makes this all SO much easier these days is the Virtual Machine. I remember back in '01 I didn't really know much about them and so, everytime I wanted to test my OS, I would dd it to a floppy and then boot it on a crappy laptop I had lying around. I probably would have s…

What would you say about writing an OS on something like an Arduino ? Without mucking with ASM, you could at least give it the ability to run multiple processes and implement some IPC. I've been trying to do something of the sort but I've got other high-priority stuff to get out of the way first.

It's a great idea. Having the OS run on a ROM directly would make things easier...

For me, the worst part of writing an OS to x86 is that you have to start with a bootloader, a primitive filesystem, change CPU modes... all that before you get to the fun part (memory management, threads, running programs, improving your filesystem). Then I discovered LILO and GRUB, but it was too late!

Post reply on HN