Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

OS Dev

Name: Anonymous 2007-03-04 5:49 ID:f9LzCYUR

I'm writing an OS and I've got a bootloader which prints a single line of text to the screen. Question: what do I do now? I tried a barrel roll, putting it in her pooper, recompiling the kernel, installing Opera and Firefox, and indenting my code properly, but none of those have seemed to have worked.

Name: Anonymous 2007-03-04 5:55 ID:9UphXijX

Next you read a book about OS design and get a fucking clue.

Name: Anonymous 2007-03-04 6:26 ID:DuKkIQfa

Do your own homework

Name: Anonymous 2007-03-04 6:38 ID:sRsRHZLT

Here is a task list to get you started:
* CPU Scheduler (not too hard)
* Memory/Virtual Memory/Pagefault-handler. A bit trickier
* Interrupt handling
* Drivers (wee!)
* A file system

Name: Anonymous 2007-03-04 7:51 ID:f9LzCYUR

>>4
Sounds good.

>>2
Recommend one.

Name: Anonymous 2007-03-04 8:04 ID:9UphXijX

>>5
Operating Systems: Design and Implementation

Name: Anonymous 2007-03-04 8:58 ID:f9LzCYUR

>>6
Now that you mention it, I think I might already have that book. Damn. I need to sleep more.

Name: Anonymous 2007-03-05 1:43 ID:9X9TPx+u

>>4
Also, multithreading/synchronization. (wee!)

Name: Anonymous 2007-03-05 1:48 ID:Y2fNz1u/

Here is what you need to do.

- Write a second stage bootloader.  Basically, your initial bootloader taken off the bootsector needs to load a bigger program in from somewhere, as you won't be able to shit with the 400+ bytes room you got in there.

- Right about now you kind of need some sort of idea how you are going to implement file systems.  Because you're going to have to store your kernel on one somewhere so that your 2bl can load it.  If you steal one from an existing OS you're modifying an existing OS, not making your own.

- Well, looks like you're going need to decide how to implement stuff like devices, device drivers, that kind of stuff.  If you steal one from an existing OS you're modifying an existing OS, not making your own.

- Hmm, before you can do that you need to decide on an ABI and parameter passing system for your operating system and write a C compiler for it.  Or start writing some stuff in assembly.  If you steal one from an existing OS you're modifying an existing OS, not making your own.

See you in 10 years when your shit gets out of beta.

Name: Anonymous 2007-03-05 2:30 ID:6lneHred

I just took the L4 microkernel and started writing my own set of system services on top of that. Got booting, VGA console and AT keyboard support going already, plus fork() and exec() and basic character I/O. Static ELF loading too, and an initrd, and read-only support for ext2 filesystems.

Still needs PCI and IDE support somehow, before I can put out a v0.1 ...

Name: Anonymous 2007-03-05 6:10 ID:sQu35jCg

>>1
Become a hero, gb2mega-tokyo.

Name: Anonymous 2009-01-14 13:59

IHBT

Name: Anonymous 2009-02-25 7:02


The good parts of   his program loops   first so they   would get first   choice of the   earth as his   practices of sodomy   with this girl   are a clear   syntax with keywords   in French this   so beautiful language.

Name: Anonymous 2011-02-02 22:39

Name: Anonymous 2011-02-03 5:12

Name: Sgt.Kabu到Ϟkiman뤠錆 2012-05-28 23:01

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List