I need a free latest ebook on writing operating systems

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
OSDevver
Posts: 12
Joined: Sat Mar 17, 2007 12:45 am

I need a free latest ebook on writing operating systems

Post by OSDevver »

i need a latest book on writing an OS, it would also be very a kind help if anybody could give a well exampled one.
Also i would a great help if anybody could give an URL where i could get the full source code of Syllable(i do not know what is a CVS or where to find it!).Other than Syllable is there anyother OS written completly in C++, a well commented one!

Thanks for your help,
OSDevver
User avatar
bluecode
Member
Member
Posts: 202
Joined: Wed Nov 17, 2004 12:00 am
Location: Germany
Contact:

Re: I need a free latest ebook on writing operating systems

Post by bluecode »

OSDevver wrote:Also i would a great help if anybody could give an URL where i could get the full source code of Syllable(i do not know what is a CVS or where to find it!).
You could have looked that up on wikipedia :wink:
After installing cvs, you go to the commandline of your favorite OS and type:
cvs -d:pserver:[email protected]:/cvsroot/syllable checkout syllable
That creates a folder called syllable and downloads the current sourcecode to that folder.
There is also an online cvs browser for syllable.
Other than Syllable is there anyother OS written completly in C++, a well commented one!
My OS is in C++, too. There is also the osfaq/wiki, which will tell you about the C++ ABI, but don't expect too much: You won't have a C++ library ready to use e.g.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Post by Solar »

:roll:

CVS is a version control system commonly used by software developers. You could google for it, or look it up in Wikipedia.

And please, consider doing some application development first before you try your hands at operating system work.
Every good solution is obvious once you've found it.
ehird
Member
Member
Posts: 214
Joined: Thu Mar 15, 2007 8:48 am

Post by ehird »

(And on another note, if you somehow magically start coding something, please don't use CVS. It should have died in the 80s.)
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

CVS is so much easier to install than Subversion... :roll:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

Combuster wrote:CVS is so much easier to install than Subversion... :roll:
Subversion is pie.. I like it.. nothing better 8)

CVS is great... SVN is "better" ;-)
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
Crazed123
Member
Member
Posts: 248
Joined: Thu Oct 21, 2004 11:00 pm

Re: I need a free latest ebook on writing operating systems

Post by Crazed123 »

OSDevver wrote:i need a latest book on writing an OS, it would also be very a kind help if anybody could give a well exampled one.
Also i would a great help if anybody could give an URL where i could get the full source code of Syllable(i do not know what is a CVS or where to find it!).Other than Syllable is there anyother OS written completly in C++, a well commented one!

Thanks for your help,
OSDevver
I'm very sorry, but we OS developers are Real Men. And Real Men do their own research. I shelled out $80 for "Modern Operating Systems" at a local university bookstore. When I didn't know what CVS is, I learned what CVS is. To this day, I learn about improvements in operating system technology by reading papers on the subject. Go to http://citeseer.ist.psu.edu , and you can read most of the really good academic papers and technical reports in operating systems for the past few decades. http://www.ncstrl.org/ has even more.

And if you attempt to write an operating system by copying functionality from "a well[-]commented one", you will write a piss-poor operating system only fit to suck the appendage of Microsoft Windows Millenium Edition.

Imagine if Linus Torvalds, instead of asking the developers on the MINIX mailing list for neat features to implement, had asked them for code to integrate into his brand new kernel and a graduate-level CS education to go with it. This is how you sound, asking us for "a latest book on writing an OS" and the source code of a complete operating system in C++!

Yes, I am pissed off. If such requests were made in person, they would be considered intolerably rude.

But. But... learning is something everyone does at some point. There is a Book Recommendations thread for you to read, there are old topics to go through, and I have given you good electronic archives of good-quality (sometimes top-quality) academic papers. If you go and do the work and learn, everything is OK. When you know enough to ask smart questions, you know enough.

In that spirit, you should read How to Ask Questions the Smart Way. When you know enough to ask smart questions, you know enough.
User avatar
carbonBased
Member
Member
Posts: 382
Joined: Sat Nov 20, 2004 12:00 am
Location: Wellesley, Ontario, Canada
Contact:

Post by carbonBased »

Brynet-Inc wrote:
Combuster wrote:CVS is so much easier to install than Subversion... :roll:
Subversion is pie.. I like it.. nothing better 8)

CVS is great... SVN is "better" ;-)
Has anybody here tried Perforce, by the way? I prefer it over any versioning system. I particularly like the concept of changelists, and having many open at once.

--Jeff
ehird
Member
Member
Posts: 214
Joined: Thu Mar 15, 2007 8:48 am

Post by ehird »

Brynet-Inc wrote:
Combuster wrote:CVS is so much easier to install than Subversion... :roll:
Subversion is pie.. I like it.. nothing better 8)

CVS is great... SVN is "better" ;-)
http://www.selenic.com/mercurial/

Though none of the VCSes right now are very good.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

Subversion is under a BSD-like licence.. thus out of elimination.. it is better then the ones aforementioned.

Perforce is commercial and mercurial is GPL, I like the non-restrictivenesses offered by Subversion.. while it has way more dependences then desired.. It's clearly better in my opinion..
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
ehird
Member
Member
Posts: 214
Joined: Thu Mar 15, 2007 8:48 am

Post by ehird »

I'm not a GPL fan either, admittedly. I've toyed around with some VCS concepts, though, and writing a quick prototype of something doesn't seem too hard.. hm
User avatar
AndrewAPrice
Member
Member
Posts: 2309
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Post by AndrewAPrice »

I'm not sure about 'free', but try getting a subscription to http://www.books24x7.com. It's an online library. There are no books specific to osdeving, but there are a few good older assembly books that cover the basics of memory management, working in real and protected mode, multitasking, and accessing filesystems.
My OS is Perception.
User avatar
Kevin McGuire
Member
Member
Posts: 843
Joined: Tue Nov 09, 2004 12:00 am
Location: United States
Contact:

Post by Kevin McGuire »

I went the store today and bought some half and half along with some chicken broth. I then drove my vehicle to my house. I got out and put the items in the refrigerator. I then took a nap. I played on the computer for a little while after my nap. My name is Kevin and I am a first grader in elementary school, but since I have abnormal brain growth I posses extraordinary skills in some areas, but lack actual adult reasoning. For example I can drive complex machinery like vehicles, and heavy equipment. I like ice cream too especially the chocolate flavored kind. I got a new toy today it was a little dump truck too, but that was earlier this morning. Did I tell you my name was Kevin. I then drive my vehicle to my house. I got out and put the items in the refrigerator. Then I watched some television and then took a nap on my bed.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Post by Solar »

Moderator Note: Please excuse the heavy (and much too late) editing.

Do not offer copyrighted material on this board.

Not even via PM / email. No matter what you think about prices, DRM, capitalism or whatever.

It is a fact that a forum administrator (chase) can face legal charges if illegal content is offered / advertised on the board. That should be enough reason for anybody.

I would have preserved the discussion if I had seen any way of doing so without effectively keeping the message of "just ask me, I'll send you lots of copied stuff" intact or rewriting major parts of it.
Every good solution is obvious once you've found it.
ehird
Member
Member
Posts: 214
Joined: Thu Mar 15, 2007 8:48 am

Post by ehird »

Kevin McGuire wrote:I went the store today and bought some half and half along with some chicken broth. I then drove my vehicle to my house. I got out and put the items in the refrigerator. I then took a nap. I played on the computer for a little while after my nap. My name is Kevin and I am a first grader in elementary school, but since I have abnormal brain growth I posses extraordinary skills in some areas, but lack actual adult reasoning. For example I can drive complex machinery like vehicles, and heavy equipment. I like ice cream too especially the chocolate flavored kind. I got a new toy today it was a little dump truck too, but that was earlier this morning. Did I tell you my name was Kevin. I then drive my vehicle to my house. I got out and put the items in the refrigerator. Then I watched some television and then took a nap on my bed.
Chicken chicken chicken chicken pork.
Locked