Whats The Next Step

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
LordOmar
Posts: 6
Joined: Sat Jul 24, 2010 10:08 am

Whats The Next Step

Post by LordOmar »

Hi All,

My name is Omar , I am a beginner in OS developing but I've been practicing for some time and what I have done till now : 2 Stage Boot-loader then 32-Bit Kernel (A20 Line on , GDT done)
but untill now my kernel is empty i want to make a hybrid kernel but i don't know from where to start, can anybody please help

Thanks In Advance,

Lord Omar
User avatar
54616E6E6572
Member
Member
Posts: 47
Joined: Tue Aug 18, 2009 12:52 pm
Location: Kansas City

Re: Whats The Next Step

Post by 54616E6E6572 »

the wiki, as usual, has quite a few articles. I suggest you look at What order should I make things in? as well as the 5 sub style articles. Between them you'll find a good mix of them that should appeal to you and you should layout your system design from there. Then start building components based off of your system's design, reading the wiki articles and related material when you get stuck, and then searching the forums when they don't help, and if none of those help and there doesn't exist a forum topic relating to what you need help with then create a new article asking for help on the specific problem your stuck on. Your greatest tool is the one between your ears, if you stop, read, and think, the solution to most problems becomes clear.
The 2nd Doctor: "I have no doubt that you could augment an earwig to the point where it could understand nuclear physics, but it would still be a very stupid thing to do!"
AndrewBuckley
Member
Member
Posts: 95
Joined: Thu Jan 29, 2009 9:13 am

Re: Whats The Next Step

Post by AndrewBuckley »

-make it beep then stop beeping(it will be anoying)
-make the keyboard lights blink
-make it talk to a clone of itself via serial port

pick something simple to start.
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Re: Whats The Next Step

Post by jal »

Merlin wrote:-make it beep then stop beeping(it will be anoying)
If you want something useful, I'd start with memory management.


JAL
LordOmar
Posts: 6
Joined: Sat Jul 24, 2010 10:08 am

Re: Whats The Next Step

Post by LordOmar »

Thanks all for replies,

@JAL : Do you have a good tutorial or example that explains memory management , i would be very thankful if you had something like that

Best wishes,

Lord Omar
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Re: Whats The Next Step

Post by jal »

LordOmar wrote:@JAL : Do you have a good tutorial or example that explains memory management , i would be very thankful if you had something like that
The various bare bones tutorials have sections on memory management, and the Wiki has some information as well. I'd start with the latter to get to know the general concepts.


JAL
LordOmar
Posts: 6
Joined: Sat Jul 24, 2010 10:08 am

Re: Whats The Next Step

Post by LordOmar »

Hi JAL,

Thanks very mush for the help :D

Best wishes,

Lord Omar
User avatar
lemonyii
Member
Member
Posts: 153
Joined: Thu Mar 25, 2010 11:28 pm
Location: China

Re: Whats The Next Step

Post by lemonyii »

first a printk(), and a fast enough method to debug. i edit my kernel in Notepad++, compile it(UP and ENTER = make) on fedora13 in VirtualBox, and run it in qemu(double click on a .bat file). if you have faster method, send my a message.
then things like beeping, and making your screen colorful.
following steps:
i hope you can design a good archtecture, for you must have learnt a lot of theories, apply them and make sure your design can be implemented. my previous versions was a big mess, for bad design.
try to start from the most frequently used code, like message passing, or follow the step a system start up.
when your code can be called kernel, complete the modules and functions from the most important to least used.
remember, when your code begin to increase very fast, a good design will save you a lot of job.
that's concluded from my experience, take and drop according to your situation.
cheers,
lemonyii
Enjoy my life!------A fish with a tattooed retina
Post Reply