OS development Confusion
-
- Posts: 8
- Joined: Wed Mar 08, 2017 1:58 am
OS development Confusion
Please help me somebody. I have completed the meatyOS tutorial but I am stuck with GDT tutorial. I am confused about where I should put the codes that are described in the GDT tutorial.As I am new to this please help and guide me.
Re: OS development Confusion
You chose the wrong forum. Start with Programming Beginners, learn programming, write some apps first; when you learn "where to put codes" you could start thinking about potentially maybe starting OS development.ankitbehera2670 wrote:Please help me somebody. I have completed the meatyOS tutorial but I am stuck with GDT tutorial. I am confused about where I should put the codes that are described in the GDT tutorial.As I am new to this please help and guide me.
Copypasting code from tutorial does not mean "completed".
Learn to read.
-
- Posts: 8
- Joined: Wed Mar 08, 2017 1:58 am
Re: OS development Confusion
Dear sir I have completed my c course and I have written many user apps for my institute in c language. I am just here confused about where to put the GDT code. Please help me Sir.
Re: OS development Confusion
Do you understand what the GDT is, and why you need it? If you do then it should be obvious that the code goes somewhere before you use the selectors defined in the table.
If you don't understand why you are setting up a GDT then you need to do more reading before you start coding.
If you don't understand why you are setting up a GDT then you need to do more reading before you start coding.
Re: OS development Confusion
"Many user apps" without a single link to such apps means you've written none and are still a newbie.ankitbehera2670 wrote:Dear sir I have completed my c course and I have written many user apps for my institute in c language.
Put it in a file.ankitbehera2670 wrote:I am just here confused about where to put the GDT code. Please help me Sir.
Where do you put all the "other codes"? (Note: there is no word "codes")
Learn to read.
-
- Posts: 8
- Joined: Wed Mar 08, 2017 1:58 am
Re: OS development Confusion
Sorry Sir. I have setup the GDT after reading the tutorial properly. Please forgive as your little brother
Re: OS development Confusion
Eh, Nuna is back...ankitbehera2670 wrote:Sorry Sir. I have setup the GDT after reading the tutorial properly. Please forgive as your little brother
- MichaelFarthing
- Member
- Posts: 167
- Joined: Thu Mar 10, 2016 7:35 am
- Location: Lancaster, England, Disunited Kingdom
Re: OS development Confusion
As also those who fall for it
- hgoel
- Member
- Posts: 89
- Joined: Sun Feb 09, 2014 7:11 pm
- Libera.chat IRC: hgoel
- Location: Within a meter of a computer
Re: OS development Confusion
Can you elaborate on what you mean by where to put the code?
Control flow wise the GDT setup should be one of the first steps in the os boot.
Control flow wise the GDT setup should be one of the first steps in the os boot.
"If the truth is a cruel mistress, than a lie must be a nice girl"
Working on Cardinal
Find me at [url=irc://chat.freenode.net:6697/Cardinal-OS]#Cardinal-OS[/url] on freenode!
Working on Cardinal
Find me at [url=irc://chat.freenode.net:6697/Cardinal-OS]#Cardinal-OS[/url] on freenode!
-
- Member
- Posts: 1146
- Joined: Sat Mar 01, 2014 2:59 pm
Re: OS development Confusion
It's completely possible that the apps aren't publicly available and can't be made available for whatever reason.dozniak wrote:"Many user apps" without a single link to such apps means you've written none and are still a newbie.ankitbehera2670 wrote:Dear sir I have completed my c course and I have written many user apps for my institute in c language.
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing
Re: OS development Confusion
Without any specifics on what they do it's just a brag. I don't believe it.onlyonemac wrote:It's completely possible that the apps aren't publicly available and can't be made available for whatever reason.dozniak wrote:"Many user apps" without a single link to such apps means you've written none and are still a newbie.ankitbehera2670 wrote:Dear sir I have completed my c course and I have written many user apps for my institute in c language.
Learn to read.