Page 1 of 1

how can approach my OS

Posted: Mon Feb 04, 2008 8:25 pm
by packet50071
how can approach my OS ( its not really a Os its an App) ?
any good suggestion can be help full

questions:

1. Every thing is kernel level - there is no user mode app (fully text based as a matter of fact)
2. Every thing is hard coded. so do I need a MM?
3. If one part (if a thread) malfunctions then I don't want the whole kernel to crash ? (i.e. if it calculated a wrong address for some reason and decided to write its data to that space then i don't want that to happen ) so i need MM ! ?
4. Malfunction of codes are very possible in my case. cause The codes rewrites it self.

5. I am Trying develop a AI :roll:

Posted: Mon Feb 04, 2008 8:41 pm
by piranha
how can approach my OS ( its not really a Os its an App) ?
Umm......hmmmm...let me think abo- No. If its an App, it's not an OS. I mean wow. Research might help.
Every thing is kernel level - there is no user mode app (fully text based as a matter of fact)
So....that means that if the app screws up, the computer crashes.
2. Every thing is hard coded. so do I need a MM?
How would someone install programs? And run them? If you don't want this, then thats a problem because writing all the apps yourself and putting them into the kernel is not good. Slow. Insecure.
Malfunction of codes are very possible in my case. cause The codes rewrites it self.
Good luck without an MM or flexable system. Don't hard code. Allow flexability!
I am Trying develop a AI
Me too. But you will need a flexable system for this, not hardcoded.

-JL

Re: how can approach my OS

Posted: Mon Feb 04, 2008 9:30 pm
by jerryleecooper
packet50071 wrote:how can approach my OS ( its not really a Os its an App) ?
any good suggestion can be help full

questions:

1. Every thing is kernel level - there is no user mode app (fully text based as a matter of fact)
2. Every thing is hard coded. so do I need a MM?
3. If one part (if a thread) malfunctions then I don't want the whole kernel to crash ? (i.e. if it calculated a wrong address for some reason and decided to write its data to that space then i don't want that to happen ) so i need MM ! ?
4. Malfunction of codes are very possible in my case. cause The codes rewrites it self.

5. I am Trying develop a AI :roll:

1. Yes
2. What is a MM?
3.For your threads not to crash your kernel you need to give them privilege level 3, so they can't write or read to from memory dpl 0 from your paging system. So yes you need an MM if you want protection.
4. Bad idea if done poorly, but otherwise good idea in a spirit of AI .
5. Good luck. :D

Re: how can approach my OS

Posted: Tue Feb 05, 2008 4:06 am
by Combuster
packet50071 wrote:5. I am Trying develop a AI :roll:
Maybe a stupid question, but if that's your goal wouldn't it be easier to develop that in windoze or linux? :roll:

Re: how can approach my OS

Posted: Tue Feb 05, 2008 4:15 am
by Brynet-Inc
Combuster wrote:
packet50071 wrote:5. I am Trying develop a AI :roll:
Maybe a stupid question, but if that's your goal wouldn't it be easier to develop that in windoze or linux? :roll:
For some reason, novice developers want their OS to be highly intelligent.

"My OS is gonna be the next Hal9000!!"

It's funny.. but let the kids play their computer games. :lol:

Posted: Tue Feb 05, 2008 2:00 pm
by lukem95
iv had ideas about AI, and if i was gonna make (or attempt) one, i would start frm scratch.

however x86 isn't designed for AI, so i would start with a custom arch and custom hardware.

Making a AI for a small, fair simple creature would be awesome if you had the money to design and implement all the hardware requirements

Posted: Tue Feb 05, 2008 2:32 pm
by packet50071
okay! I didn't mean AI such as in Hal9000 :evil:
I think i wasn't clear on saying , what i want to do :?
I meant AI such as in playing chess / Controlling Electronic devices with out human attentions etc

I have my base setup (GDI , IRQ and KEYBOARD) ready to start my first prj
My first prj is gonna be a chess AI that can "physically" play a chess game :)
I have almost all of the Equipments that I need ( need two more motors and a 2 more battery) and I also made good layout that will work (hope fully) ;)

MM = memory management

Combuster : I don't feel like creating a driver in windows Cause my parallel port for windows is messed up ( it always sends 255 no matter what). And also I need the full CPU's speed.
and i am not a big fan of Linux

Re: how can approach my OS

Posted: Tue Feb 05, 2008 11:36 pm
by AndrewAPrice
packet50071 wrote:4. Malfunction of codes are very possible in my case.
If the logic in your code is as good as in your questions, then I can see why.