Page 1 of 1

Polkovnik Kernel

Posted: Wed May 21, 2008 12:13 pm
by chezzestix
This is going to be the WIP topic for my kernel. All my pertaining questions and news will be placed here.

Polkovnik Goals:
Small
Stackable
High Performance, its going to need it if its stacked

Question One:
How do I transfer control to programs and get it back in x commands? The only way I can think is making the programmer return control to the kernel when they make a call for kernel resources with high priority threads getting multiple calls before round robin moves on. However this leaves the system open to any program that doesnt need any kernel managed resources and ties up the computer for an unspecified time.

The most obvious fix for this is to make every resource kernel managed but I hate to bother the programmer every time they want to access the ram.

Posted: Wed May 21, 2008 1:01 pm
by JamesM
This belongs in the Announcements and test requests forum.

Posted: Wed May 21, 2008 4:50 pm
by iammisc
Why does it need to be after a certain amount of instructions, why can't it just be after a certain amount of time?

Posted: Wed May 21, 2008 5:50 pm
by chezzestix
Time works too but I still dont know how to do that... however as soon as you tell me Im sure I will go "oh... right."

Or atleast a link to a tutorial.

Posted: Thu May 22, 2008 1:25 am
by JamesM
Use the timer? I assume you're trying to implement multitasking, right?

Posted: Sun May 25, 2008 4:57 am
by inflater
Sorry for a OT, but are you a Russian cheezestix? :)

Posted: Sun May 25, 2008 9:41 am
by chezzestix
@inflater
Nope but the code name for my future os is Commune. The russians had quite the thing for communes a few years back so I chose a russian word to name my kernel. Its not all that original but I think I get a few original points back for using the russian word.

@JamesM
Correct, I was looking for a more general list of thigs I had to do but I think I pretty accuratly compiled one. The kernel is just at a stand still until I figure out why my bootloader is having trouble getting into protected mode.