Page 1 of 3
OS dev tutorial
Posted: Sat Aug 25, 2007 8:15 pm
by Zacariaz
No, im not asking for tutorials here, ive actually found one that i think is rather good, but it has happened before that iwas mislead due to bad tutorials, so i was wondering if anyone would care to take a brief look at it, or if anyone know it allready. All in all, i would like an evaluation of it before i start using it as the OS dev bible.
Link:
http://www.mt2002.sitesled.com/OSDevIndex.html
Posted: Sat Aug 25, 2007 8:34 pm
by Alboin
Where is it? ...
Posted: Sat Aug 25, 2007 9:45 pm
by theforrestgump
i would like to take a look at it as well
Posted: Sat Aug 25, 2007 10:42 pm
by Zacariaz
lol, stupid me, forgot to post the link
sry bout that, here it is:
http://www.mt2002.sitesled.com/OSDevIndex.html
Posted: Sun Aug 26, 2007 2:39 am
by JamesM
While you're at it, could you have a quick gander at
http://www.jamesmolloy.co.uk/tutorial_html/index.html
Those are some tutorials I'm making atm, been working on them a week and have got as far as the GDT/IDT. Let me know what you think!
JamesM
Posted: Sun Aug 26, 2007 8:04 am
by theforrestgump
looks good....try looking into this as well
http://linuxgazette.net/issue77/krishnakumar.html
a little less disconnected
Posted: Sun Aug 26, 2007 10:38 am
by calpol
I've been reading that OS tutorial also, it's the best one i've found so far. The person that writes it is a member here i believe.
just about all OS books or tutorials are either 100% theory or those weird books which are all theory but have 100 pages at the end of solid uncommented code
. This one actually does implementation, theory and explains how things works
.
Posted: Sun Aug 26, 2007 10:40 am
by JamesM
Which OSTUT?
Posted: Sun Aug 26, 2007 10:41 am
by calpol
JamesM wrote:Which OSTUT?
The one in the first post.
Re: OS dev tutorial
Posted: Sun Aug 26, 2007 3:52 pm
by SpooK
Zacariaz wrote:No, im not asking for tutorials here, ive actually found one that i think is rather good, but it has happened before that iwas mislead due to bad tutorials, so i was wondering if anyone would care to take a brief look at it, or if anyone know it allready. All in all, i would like an evaluation of it before i start using it as the OS dev bible.
Link:
http://www.mt2002.sitesled.com/OSDevIndex.html
OK so far. Needs much editing work.
One, outright, erroneous thing that caught my attention so far is...
Note: DOS is a 16 bit operating system. During this timeframe, DOS had to refrence memory through Linear Addressing, and disks through LBA (Linear Block Addressing). Because the x86 platform is backward compatible, When the PC boots it is in 16 bit mode (Real Mode), and still has LBA. More on this later.
Unless I have been mistaken for over 15 years, and have ignored the obvious legacy BIOS settings/routines I have played around with, I have to say that it should be
CHS and not
LBA.
Posted: Sun Aug 26, 2007 4:52 pm
by Zacariaz
Ok, error do happen.
As far as i know it is allso being worked on.
I thought it might be worth mentioning that i dont think of this as a complete tutorial, only the most basic stuff.
The thing that interest me the most is if the DT parts is ok, or if theres major errors included...
Posted: Sun Aug 26, 2007 5:57 pm
by SpooK
Zacariaz wrote:Ok, error do happen.
As far as i know it is allso being worked on.
I thought it might be worth mentioning that i dont think of this as a complete tutorial, only the most basic stuff.
The thing that interest me the most is if the DT parts is ok, or if theres major errors included...
I have finished reading the tutorial. It was OK. There are many useless tidbit-like distractions coupled with smiley faces, and it was difficult to follow the author's logic flow from time to time. The latter is simply a side-effect of your mind "filling in the blanks" on a subject you already know about, so to say.
However, it is good to see a guide with practical approach instead of theory that you can get in any OS development course. If you follow the content closely, you will be able to get a basic 32-bit kernel running in very little time. This is good for all that grunt-code that just has to exist to get Protected Mode running in a stable manner.
Posted: Mon Aug 27, 2007 1:17 am
by Combuster
What strikes me, is that the author uses a dated toolchain (DJGPP) for compilation, and intends to support more broken and incompatible toolchains (MSVC, MinGW)
Also, due to the number of typos and small technical inaccuracies I don't consider this anything near a bible, but for starters it should work (if you want some sort of bible, I suggest you list all of Brendan's posts
)
Posted: Mon Aug 27, 2007 7:03 am
by Zacariaz
Combuster wrote:I suggest you list all of Brendan's posts
)
It is funny... Again and again "Brendans" tutorial is mentioned however i have yet to see a link to it. Yes, at the osdever site there is a tutorial named "Brens tutorial" or something simular, but i have never actually been told that this was the right one. Allso i have tryed to read it, and while it may be a very "correct" and extensive tutorial, i dont think i will be able to learn much from it. Its simply too geeky.
Posted: Mon Aug 27, 2007 7:27 am
by JamesM
Zacarias - did you look at my tutorials? I posted the link above. They're very similar in starting point to Bran's tutorials, I've just started them, and would really appreciate it if you could give them a read and see if they're 'too geeky' too, or any other comments.
link again:
http://www.jamesmolloy.co.uk
JamesM