Ok, I definitely understand just about ever component necessary for Operating System development, but the problem I'm having is getting started with coding. I have a bootstrapper/loader that will load a flat-binary kernel. I'm using the following:
NASM for Assembly (x86)
DJGPP for C++
Vim for Text / Documents
I'm using Vim for text documents because i write my text on my laptop / fileserver due to the crappiness of Notepad etc.. in Windows. Otherwise I do use Windows for everything.
Any advice for starting up kernel coding & what-not so that I can get going ( memory management, etc.. )
I know a lot of it is subjective, but I've looked at many kernel examples & what-not but they aren't really as concise with comments as I'd like.
Beginning your code...
Re:Beginning your code...
Well, I think that you should have at least a printf/kprintf type function in your kernel as that will allow you to know just what's happening.
K.J.
K.J.
Re:Beginning your code...
Yes, and I have a cleverly written function to do this, but it does a BIOS call and if you are programming your OS in PMode then you can't use it. But, if you are programming in Real Mode, then just say the word and I'll give you the code. Otherwise, you're going to just have to write directly to the video memory. That's not too hard in itself. Just keep a var that holds the cursor position and there are some other things that you need to do.