Page 1 of 1

Protected Mode, in assembler Tutorials

Posted: Sun Aug 19, 2012 2:10 pm
by VolTeK
Protected mode in assembler tutorials
Shouldn't be an excuse for off topic elementary responses now.



I have decided to do some tinkering around with protected mode, So..
I have tried to look for Protected Mode tutorials, completely in assembler. If there are none i can settle with just using C and converting it to assembler, but are there any Protected Mode tutorials that anyone would know of that are completely in assembler? Maybe i haven't looked hard enough.

Re: Protected Mode, in assembler Tutorials

Posted: Sun Aug 19, 2012 2:15 pm
by JamesM
What exactly are you looking for in the tutorial in terms of content? "protected mode" is both vague and specific - specifically it takes about 10 lines of assembly to set up.

Re: Protected Mode, in assembler Tutorials

Posted: Sun Aug 19, 2012 2:18 pm
by VolTeK
JamesM wrote:specifically it takes about 10 lines of assembly to set up.
In that case, i'm looking for the whole deal. Much more then just going into protected mode. A series much like what you have, but all in assembler.


I have also downloaded The art of assembly language in 32 bit, never knew that existed. If you have read it, may i have some note on how important it would be to give it all a good read?

Re: Protected Mode, in assembler Tutorials

Posted: Sun Aug 19, 2012 3:02 pm
by Tosi
There are plenty of assembly language tutorials on the internet.
As the wiki says, you are not going to find a tutorial on everything.
Get the intel manuals and read through them, look at other people's code, and if you still need help, use google or join a general assembly language programming forum instead of asking on an OS development forum.

Re: Protected Mode, in assembler Tutorials

Posted: Sun Aug 19, 2012 3:08 pm
by VolTeK
Tosi wrote:There are plenty of assembly language tutorials on the internet.
As the wiki says, you are not going to find a tutorial on everything.
Get the intel manuals and read through them, look at other people's code, and if you still need help, use google or join a general assembly language programming forum instead of asking on an OS development forum.
VolTeK wrote:I have also downloaded The art of assembly language in 32 bit, never knew that existed. If you have read it, may i have some note on how important it would be to give it all a good read?
I have not downloaded the book, to re learn more assembler (I language i excel in, probably better than even you). Please refer to my first post as it states the main question to this thread. I had downloaded the book in hopes of learning more about the protected mode processor state, Not what the mov instruction does.

Just because i had mentioned an assembler book, does not mean its your chance to display how you learned assembler and how others should to in a thread that has nothing to do with learning it. How are you in OSDev if you can't read the first post? Unless i have phrased my title wrong.

You and a group of others on here, need a tutorial on Staying on topic, and not "How to increment my post counter"

Re: Protected Mode, in assembler Tutorials

Posted: Sun Aug 19, 2012 3:17 pm
by JamesM
I'd honestly not spend a lot of effort specifically looking for tutorials in assembly.

It'll increase your experience and skill as an engineer to take what is effectively a specification in another language of how things interact (C, in this case), and translate it into your own language.

It'll also help you avoid the copypasta pitfalls of tutorials.

(just my 2p)

Re: Protected Mode, in assembler Tutorials

Posted: Sun Aug 19, 2012 3:23 pm
by Combuster
VolTeK wrote:Protected mode in assembler tutorials
Shouldn't be an excuse for off topic elementary responses now.
It would help if you actually asked a proper, well thought and written out question that does not just demand that we go pester you with stupid questions to find out what you really want.

There are snippets on the wiki on enabling protected mode, and you can just use any of the barebones and skip the C portion for the all-assembly variant. I mostly see however a lot of bragging on assembly skills when everything else in your posts point to a lack thereof. So please, stop asking for specific tutorials as it implies that you lack the necessary programming skills altogether, and look at the "How to ask questions the smart way". You with your post count should have known by now what that is actually about, and it saves all of us quite some time and mutual annoyances.

Re: Protected Mode, in assembler Tutorials

Posted: Sun Aug 19, 2012 3:32 pm
by VolTeK
Combuster wrote: So please, stop asking for specific tutorials as it implies that you lack the necessary programming skills altogether
How, and i want Your response.
Combuster wrote: I mostly see however a lot of bragging on assembly skills when everything else in your posts point to a lack thereof.

I also want why you think that as well. Unless, your just spouting typical Combuster text. I want to know why you think that, and proof on how its true. Not from some 15 year old, who gets on here and praises you every day. I want your response.

Re: Protected Mode, in assembler Tutorials

Posted: Sun Aug 19, 2012 4:01 pm
by JamesM
VolTeK wrote:
Combuster wrote: So please, stop asking for specific tutorials as it implies that you lack the necessary programming skills altogether
How, and i want Your response.
Combuster wrote: I mostly see however a lot of bragging on assembly skills when everything else in your posts point to a lack thereof.

I also want why you think that as well. Unless, your just spouting typical Combuster text. I want to know why you think that, and proof on how its true. Not from some 15 year old, who gets on here and praises you every day. I want your response.
At least quote one of the other, non inflammatory responses in this thread and reply to them, else this thread will become solely you and Combuster and I'll have to lock it.

Re: Protected Mode, in assembler Tutorials

Posted: Mon Aug 20, 2012 12:37 am
by iansjack
Don't questions like this belong in the "Programming" forum? It's a simple "How to progam?" qustion (the answer to which is "read the manuals").

Re: Protected Mode, in assembler Tutorials

Posted: Mon Aug 20, 2012 1:12 am
by rdos
VolTeK wrote:Protected mode in assembler tutorials
Shouldn't be an excuse for off topic elementary responses now.



I have decided to do some tinkering around with protected mode, So..
I have tried to look for Protected Mode tutorials, completely in assembler. If there are none i can settle with just using C and converting it to assembler, but are there any Protected Mode tutorials that anyone would know of that are completely in assembler? Maybe i haven't looked hard enough.
There probably are no tutorials, but there are documentation (Intel manuals) and sample code for protected mode OSes (like my transition to protected mode from real mode here: http://www.rdos.net/svn/trunk/kernel/boot/boot.asm, uncommented though).