Page 1 of 1

PROTECTED MODE

Posted: Fri Jan 18, 2008 1:20 am
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

Posted: Fri Jan 18, 2008 2:26 am
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

Re: PROTECTED MODE

Posted: Fri Jan 18, 2008 2:33 am
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

Posted: Fri Jan 18, 2008 2:38 am
by JamesM
Again, I think my reply was more eloquent :P

Posted: Fri Jan 18, 2008 2:46 am
by AJ
Absolutely - I know I should have let it go at that, but I'm obviously feeling benevolent this morning :)

Posted: Fri Jan 18, 2008 3:40 am
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

Posted: Fri Jan 18, 2008 4:14 am
by Combuster
Try doing the Babystep tutorials.