Please help me with OS Development.

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
thecoder101
Posts: 2
Joined: Tue Aug 30, 2011 9:50 am

Please help me with OS Development.

Post by thecoder101 »

I know its a lame question, and perhaps the wrong place, but can anyone help me with OS development in protected mode?.
I tried real mode up to a point at which NASM said "File too big" in assembly debug style language. (Error with times 256-($$-$) because there is 218 bytes of extra info ;) ).

I need help from the basics such as input, interrupts, PRINTING, etc.

Oh one more thing, I'm just 13. :D

So please make it easily understandable.

With many a thanks,
TheCoder101

I Pray you help me. [-o<


EDIT:-
I want to use a CD to boot, with the eltorito of grub as the boot loader.
I also use linux, if that can make things better and easier for me and you :D.
thecoder101
Posts: 2
Joined: Tue Aug 30, 2011 9:50 am

Re: Please help me with OS Development.

Post by thecoder101 »

I know how to create an eltorito image.
And i know how to print strings to the screen, I have already done the barebones tut, but grub gives error 13 on it.
Now I have to get my cross compiler working too.

Could any1 recommend some os dev related books for me?

Thanks,
Me ;)
Bietje
Member
Member
Posts: 100
Joined: Wed Apr 20, 2011 6:57 am

Re: Please help me with OS Development.

Post by Bietje »

thecoder101 wrote:I know how to create an eltorito image.
And i know how to print strings to the screen, I have already done the barebones tut, but grub gives error 13 on it.
Now I have to get my cross compiler working too.

Could any1 recommend some os dev related books for me?

Thanks,
Me ;)
If you get grub error 13 I suggest you use the search function. That question has been answered many times.
User avatar
Chandra
Member
Member
Posts: 487
Joined: Sat Jul 17, 2010 12:45 am

Re: Please help me with OS Development.

Post by Chandra »

thecoder101 wrote:I need help from the basics such as input, interrupts, PRINTING, etc.
thecoder101 wrote:I know how to create an eltorito image.
And i know how to print strings to the screen, I have already done the barebones tut
Can you please be specific?
thecoder101 wrote:but grub gives error 13 on it.
That could have been the better start, but unfortunately, is answered over and over.
Programming is not about using a language to solve a problem, it's about using logic to find a solution !
User avatar
miker00lz
Member
Member
Posts: 144
Joined: Wed Dec 08, 2010 3:16 am
Location: St. Louis, MO USA

Re: Please help me with OS Development.

Post by miker00lz »

berkus wrote:Perhaps Tanenbaum and his MINIX book are more or less fundamental. There's also "OS Vade Mecum" by Raphael Finkel, it's fairly UNIX-centric but also gives a nice overview of how things fit together.
yeah, definitely the MINIX book. i've got the second edition. it's excellent reading. nearly any (decent) programmer could write an OS with just that book and the osdev wiki.

thecoder101, i dont know what you did to make NASM complain about the code size but i recommend sitting down and trying a simple real-mode OS to start out with. it's the best way to learn the fundamentals behind I/O, file systems, etc without having to learn all about protected mode at the same time.

it sounds to me like you're trying to take on too much at once considering your current knowledge of the subject. start small.
Post Reply