Who could recommend book or document about 16 bits OS
-
- Member
- Posts: 70
- Joined: Fri Nov 19, 2010 6:54 pm
Who could recommend book or document about 16 bits OS
I want to learn how to write OS about 16 bits,who
could recommend book or document,it can implement simple
functions,and the book need include detail explanation
and source codes,who could help me?
could recommend book or document,it can implement simple
functions,and the book need include detail explanation
and source codes,who could help me?
Re: Who could recommend book or document about 16 bits OS
http://books.google.co.uk/books?id=_dhQ ... r_versions
A classic. I think you need the first or second editions for 16-bit code.
A classic. I think you need the first or second editions for 16-bit code.
Re: Who could recommend book or document about 16 bits OS
XINU
Get the IBM PC version of the book. http://www.amazon.com/Operating-System- ... words=xinu
Make sure you get the right version, there's a few different versions out there: Mac, Linksys router, LSI-11.
Get the code here: ftp://ftp.cs.purdue.edu/pub/Xinu/XINU-PC-BOOK-CODE.tar
Get the IBM PC version of the book. http://www.amazon.com/Operating-System- ... words=xinu
Make sure you get the right version, there's a few different versions out there: Mac, Linksys router, LSI-11.
Get the code here: ftp://ftp.cs.purdue.edu/pub/Xinu/XINU-PC-BOOK-CODE.tar
Every universe of discourse has its logical structure --- S. K. Langer.
- Combuster
- 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:
Re: Who could recommend book or document about 16 bits OS
I also wouldn't recommend any book (except perhaps something on assembly basics, logic, or even an English grammar book for various other reasons) until I manage to find out what keeps you stuck with the most simple problems and monkey-see-monkey-do behaviour.
What you need is a tutor, professional education, or more effectively, simply a different hobby.
---
For all the other readers: 16-bit is outdated and not worth your money.
What you need is a tutor, professional education, or more effectively, simply a different hobby.
---
For all the other readers: 16-bit is outdated and not worth your money.
-
- Member
- Posts: 70
- Joined: Fri Nov 19, 2010 6:54 pm
Re: Who could recommend book or document about 16 bits OS
I want to learn the OS,so I want to start learning from 16-bit,maybe I need basical tutorialCombuster wrote:I also wouldn't recommend any book (except perhaps something on assembly basics, logic, or even an English grammar book for various other reasons) until I manage to find out what keeps you stuck with the most simple problems and monkey-see-monkey-do behaviour.
What you need is a tutor, professional education, or more effectively, simply a different hobby.
---
For all the other readers: 16-bit is outdated and not worth your money.
- thepowersgang
- Member
- Posts: 734
- Joined: Tue Dec 25, 2007 6:03 am
- Libera.chat IRC: thePowersGang
- Location: Perth, Western Australia
- Contact:
Re: Who could recommend book or document about 16 bits OS
May I point out that that opinion is the worst fallicy of OSDev. 16-bit code is not simple, nor is it a precursor to moving to 32-bit code. Writing code in real mode requires a completely different mindset to writing code in protected mode, and hence is not a good starting point.leetow2003 wrote:I want to learn the OS,so I want to start learning from 16-bit,maybe I need basical tutorial
Do yourself a favor, and start with 32-bit code (and once you have that down pat, MAYBE try 16-bit if you need to)
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Re: Who could recommend book or document about 16 bits OS
I got confused when I read this.I want to learn the OS
Do you want to learn about an existing operating system like Windows or Linux or Want to learn
about Operating Systems Development?
Both are similar in certain ways, I have some good books about Linux,
And as for 16 bit code try reading some books about DOS Programming and x86 Assembly, And don't
forget RBIL (Ralf Brown's Interrupt List) great place for BIOS Interrupts.
What's up with the wiki? Is the wiki not enough for a basic tutorial. I guess thereI need a basical tutorial
are 4 of them. I dont know whether it could be helpful but Try to get a copy of 8086 Manuals.
When you say, "I wrote a program that crashed Windows," people just stare at you blankly and say, "Hey, I got those with the system, for free." - Linus Torvalds
64 bit Kernel in early development
http://github.com/nerdguy12/core64
64 bit Kernel in early development
http://github.com/nerdguy12/core64
Re: Who could recommend book or document about 16 bits OS
This might be the worst advice in the world, but here's my opinion. I don't know how good your programming skills are, but with that being said I think the best way to really understand a language is to know what everything does. I know one way to do this with 16bit Assembly is to right a 8086 Emulator because then you learn every opcode, how the CPU works, and everything. I learned a lot when I began writing mine, there was a lot of head banging against the wall with miss information and errors in documents that I was reading but in the end it was really neat and will be beneficial later on. Or do what I did and jump to 32bit code in Assembly and just mess around till you understand everything.
Yours Truly, Matt
Yours Truly, Matt
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Who could recommend book or document about 16 bits OS
Here's what your question sounds like to us: "I need a tutorial on driving cars from the '60s." Cars are still cars---you just need to get adjusted to the one you're driving. And, of course, be prepared to miss out on the newer developments, like automatic transmission, airbags, CD players, self-driving (okay, this is not yet commonplace but, given the economical benefits, it probably will be in 10 years' time), etc.leetow2003 wrote:I want to learn the OS,so I want to start learning from 16-bit,maybe I need basical tutorial
Analogies aside, you want to learn OS theory (and other theories that are related to your particular goal) and the details of the hardware you're going to implement your OS on (in this case, I suspect you mean PC's, although there are plenty of architectures which are ambiguously called "16-bit," which is mostly a marketing term rather than a technical one). Don't conflate the two even if you plan on using them together. If you were to write a book in a foreign language unknown to you, you'd develop the plot separately from learning the language, correct?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
Re: Who could recommend book or document about 16 bits OS
I think it is perfectly legitimate to develop a hobby OS in real mode. After all every hobby OS is a waste of money, and time, and effort. The only reward is satisfaction, which is not dependent on processor mode at all.Combuster wrote:For all the other readers: 16-bit is outdated and not worth your money.
-
- Member
- Posts: 155
- Joined: Fri Oct 27, 2006 5:11 am
- Location: Oberbayern
- Contact:
Re: Who could recommend book or document about 16 bits OS
It depends on what you want to learn. If the OP wants to get a better insight into the way modern operating systems handle memory and processes, then he should steer well clear of 16-bit real mode.Hobbes wrote:I think it is perfectly legitimate to develop a hobby OS in real mode. After all every hobby OS is a waste of money, and time, and effort. The only reward is satisfaction, which is not dependent on processor mode at all.Combuster wrote:For all the other readers: 16-bit is outdated and not worth your money.
OP: if you really want to learn about real mode OSes, you might find the code in MikeOS (http://mikeos.berlios.de) useful. It's pretty well documented and I've written a lot about its working in the Handbooks. Just be aware that real mode OSes are something of a cul-de-sac -- they can be fun to play around with, as you can get results very quickly, but a lot of the stuff you learn won't be much use if you decide to make a "proper" protected mode OS later on.
Mike
MikeOS -- simple, well-documented x86 real-mode OS written in assembly language
http://mikeos.sourceforge.net
http://mikeos.sourceforge.net
- Combuster
- 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:
Re: Who could recommend book or document about 16 bits OS
You made me curious, how much actual money did you spend solely in the name of your OS? Was it worth it?Hobbes wrote:I think it is perfectly legitimate to develop a hobby OS in real mode. After all every hobby OS is a waste of money
-
- Member
- Posts: 70
- Joined: Fri Nov 19, 2010 6:54 pm
Re: Who could recommend book or document about 16 bits OS
Your advice is very important to me.Thank you very much.
Re: Who could recommend book or document about 16 bits OS
if your objective at the end is to develop modern 32 bit protected mode OS, there is really little need to learn 16 bit real mode, as you can already find plethora of tools that are already very mature who can do all the 16 bit real mode part , like boot loaders, and in modern OS, 16 bit real mode is really only used for the boot loader in the very first stages
it can be useful if you want to do some kind of dos emulator, or you want to have to deal with code wrote in 16 bit mode, or the bios, and modern intel still can operate in a mode 100% compatible with 16 bit real mode, so it's still in the intel, and modern intel can still technically run code made for 16 bit real mode, but it's still a very different approach to everything compared to how modern os are made, using paged virtual memory, memory protection, and multi tasking, and learning real mode will give you very little benefits to develop os in the modern way
it can be useful if you want to do some kind of dos emulator, or you want to have to deal with code wrote in 16 bit mode, or the bios, and modern intel still can operate in a mode 100% compatible with 16 bit real mode, so it's still in the intel, and modern intel can still technically run code made for 16 bit real mode, but it's still a very different approach to everything compared to how modern os are made, using paged virtual memory, memory protection, and multi tasking, and learning real mode will give you very little benefits to develop os in the modern way