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.
So please make it easily understandable.
With many a thanks,
TheCoder101
I Pray you help me.
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 .
Please help me with OS Development.
-
- Posts: 2
- Joined: Tue Aug 30, 2011 9:50 am
Re: Please help me with OS Development.
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
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
Re: Please help me with OS Development.
If you get grub error 13 I suggest you use the search function. That question has been answered many times.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
Re: Please help me with OS Development.
thecoder101 wrote:I need help from the basics such as input, interrupts, PRINTING, etc.
Can you please be specific?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
That could have been the better start, but unfortunately, is answered over and over.thecoder101 wrote:but grub gives error 13 on it.
Programming is not about using a language to solve a problem, it's about using logic to find a solution !
Re: Please help me with OS Development.
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.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.
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.