good book for before I write a realmode os?

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.
Post Reply
orchid
Posts: 1
Joined: Thu Sep 08, 2011 9:16 pm

good book for before I write a realmode os?

Post by orchid »

Hi I'm looking for a good book that will go indepth into real-mode OS development? Perhaps someone can recommend something to read that isn't all modern. I've read some beginner stuff on the subject but looking for something to continue that knowledge so i can start a project.
gerryg400
Member
Member
Posts: 1801
Joined: Thu Mar 25, 2010 11:26 pm
Location: Melbourne, Australia

Re: good book for before I write a realmode os?

Post by gerryg400 »

IIRC, the original version of Minix was able to run in real mode. So I would recommend the original Minix book.
If a trainstation is where trains stop, what is a workstation ?
User avatar
Thomas
Member
Member
Posts: 284
Joined: Thu Jun 04, 2009 11:12 pm

Re: good book for before I write a realmode os?

Post by Thomas »

Hi orchid ,

Few good books in my library are given below, hope that you find them useful as well.
One good thing to do is make use of emu8086 , it is very easy to test and write simple real mode operating systems with it.

--Thomas
hall123
Posts: 9
Joined: Fri Apr 29, 2011 9:03 pm
Location: Australia

Re: good book for before I write a realmode os?

Post by hall123 »

Real mode really?

Real mode on the 8086 is a evil land of segments, unless its for education I would recommend staying away from that area. At least you get the BIOS to help out :D

As for books the original MINX book is pretty good, the new one gives a great overview to operating system design thats a little past beginner stage.
Garbage collection is only for programmers that make garbage and can't clean up for themselves.
guyfawkes
Member
Member
Posts: 93
Joined: Mon Jul 18, 2011 9:47 am

Re: good book for before I write a realmode os?

Post by guyfawkes »

There is no good book, but theres a good alternative called MikeOS, thats has great doc's and will teach you all you need to know.
Also take a look at MiniDos, A 2K dos clone.
M-Saunders
Member
Member
Posts: 155
Joined: Fri Oct 27, 2006 5:11 am
Location: Oberbayern
Contact:

Re: good book for before I write a realmode os?

Post by M-Saunders »

hall123 wrote:Real mode on the 8086 is a evil land of segments, unless its for education I would recommend staying away from that area. At least you get the BIOS to help out :D
Yes, segments are pretty horrible, but if you think small you can avoid them. For instance, in my OS -- http://mikeos.berlios.de -- everything is in a single, 64K segment. The kernel lives in the first 32K, and apps run in the seconds 32K.

Sure, this is very limiting for any kind of serious OS, but it's plenty of space for learning about a basic project. In 64K we have a BASIC interpreter, text editor, games, image viewer, serial terminal app etc., so you can do quite a few things without worrying about segments.

M
MikeOS -- simple, well-documented x86 real-mode OS written in assembly language
http://mikeos.sourceforge.net
Post Reply