PROTECTED MODE

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
User avatar
naiksidd_85
Member
Member
Posts: 76
Joined: Thu Jan 17, 2008 1:15 am

PROTECTED MODE

Post by naiksidd_85 »

HI All,
Am trying to develop a small OS which will give a shell prompt and Unix like enviornment. the Code essentialyy is in C.
Untill now I have just managed to write a Bootloader and a small C program that loads after the bootloader.
The main issue is that I have done all this in real mode. I want to move this all to protected mode can any one help me with the methods hoe to move to protected mode.
I am through with the theory part but have less experiance with the asm coding.

Regards to all
Learning a lot these days THANKS to OSdev users
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

CANZ U RITE MAI CODEZ 4 ME? I IZ N00BCAKE N WANT FINISH KWIK, SRSLY! SRY, MAI CAPS LOCK KEY IZ BROKENZD, SO I SHAUT ALL TEH TIMEZ. KTHXBAI
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: PROTECTED MODE

Post by AJ »

naiksidd_85 wrote:I am through with the theory part but have less experiance with the asm coding.
I am interested in how you have written a boot loader that can load a C program but are having trouble with the ASM part of switching to pmode.

There is currently a forum thread by Zacariaz about switchinf to pmode. I suggest you read that.

Cheers,
Adam
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Again, I think my reply was more eloquent :P
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

Absolutely - I know I should have let it go at that, but I'm obviously feeling benevolent this morning :)
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

;) And I'm feeling irritated (bus drivers annoy me), which can be shown in my first reply! I think he'll get the hint though :P
User avatar
Combuster
Member
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:

Post by Combuster »

Try doing the Babystep tutorials.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply