PolarOS dev

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
Tux

PolarOS dev

Post by Tux »

SOME may like the idea and some may not. I am looking to form an OSdev team.

PolarOS is a SEMI-joint (Probably NULL-joint ;D)
effort to create a Linux minus FS structure nightmares, HUGE kernel source, and dependency nightmares!!

The MAIN problem is Linux exes. They need the Linux features I am thinking to scrape. So the project won't be able to run Linux apps :(. (There might be an emu core tho)

PolarOS dev manual. (This is before paging is done!!)
1) Get HALfix nanocore
2) Reposition the code so it is all included and not linked
3) Seperate the PC functions (PIT,IDT,etc.) from the source.
4) Add Built in drivers. (Text, Keyboard, Floppy, and Sound) If user deleted drivers by mistake, kernel can still function with built in drivers. (This is where HALfix environment is booted up just like DOS to fix an error in Win)
5) Kernel creates a plugin called "SYSINF"
6) Kernel updates info constantly(Like time, ticks, etc.)
7) Kernel loads etc. plugins
8) Kernel runs program /sys/bin/login.exe
9) Kernel loads Console or GUI program depending on what the user chose.
The thing about the GUI/Console program, it is set as a Single Task. That means it has the power to run more cycles, switch MT on/off. Why that feature?
Well, if you load a game, the game will execute like a game on a console (PS2,XBox, etc.). MT_off is executed, OS backs up RAM, and executes game at full speed.

Tips/Tricks:

This is planned to be the way to have console programs compatible with GUIs.

This would be an example Hello World Function:

#include <PM.h> //Means plugin manager

void main()
{
int addr=PM_find("TEXT_WRITE"); /*Finds the location of plugin's function*/
void (*write)()=(char *) addr;
write("Hello Punks!");
}

The GUI does this:
It removes the TEXT plugin and adds a plugin called TEXT that draws FONTS.

Viola, done. Actually you got to check if a program is using the TEXT driver before you delete it.

This may all seem like blabber. We all think our very own OS is special, but we just deny what other's say.
I am not saying PolarOS is special either, I am just saying to share your creativity.

Here is a slogan: Tux wants you to CLEAN UP Linux!!
Tux

Re:PolarOS dev

Post by Tux »

I would be happy to give current OS code, but it can't be full code. Xsism has to think up a licenese for HALfix.
It will be The PolarOS code minus HALfix core!
Post Reply