Jump to content

application work out OS ???

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
9 replies to this topic

#1
Osama

Osama

    Newbie

  • Members
  • Pip
  • 7 posts
hey everyone


i'm thinking that how could i build an application that work out the Operating System..
how could i do that ???

i know that just assemply language applications can do this but the question is what assempler that do this and how ?????
and what the type of tha file ???


thank u

#2
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Well I think that would require some work, because it will be like building an OS, I bet you will need to create the kernel and everything, then it depends if the app will have a GUI or CLI.

#3
Osama

Osama

    Newbie

  • Members
  • Pip
  • 7 posts

TcM said:

Well I think that would require some work, because it will be like building an OS, I bet you will need to create the kernel and everything, then it depends if the app will have a GUI or CLI.

first.. thanx for ur reply

i think it's not like to build an OS .. i just want to try to build an application work without OS ... and not complex just print a msg :)

we know that when u switch your computer on the BOIS go to specific segment to read instructions.... i don't remember that section address is 0FFF or somthing like that.

do u know any article some where about this matter ??

i know i'm asking the impossible :D


thank u

Edited by Osama, 22 March 2008 - 11:53 AM.


#4
R-G

R-G

    Programmer

  • Members
  • PipPipPipPip
  • 142 posts
The computer operating system (as computer software) is running in the abstract RING 3 of the RAM memory. However, the computer operating system does not have the full control of the computer machine. You must develop a computer software that will run in lower abstract RING values (optimally the RING 0). However, your computer software algoritm will have all privileges of the computer machine plus it will not run under any computer operating system.

However, many malevolent computer softwares were/are using this method to gain full privilege and control of the computer operating system and of course all other software running under it.

Edited by R-G, 22 March 2008 - 12:51 PM.

Like an angel without a sense of mercy.

#5
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Well I did not mean that it will require you to build an OS, but it will require the core/kernel files etc... which requires even more work, because you have to create an environment.

#6
G_Morgan

G_Morgan

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 537 posts
Basically what you are talking about is creating an application that runs directly from the bootloader. There is a lot of cross over with writing an OS because you have to handle similar problems. Some things can be ignored of course (you hardly need to manage processes if you have only one).

Unless you are actually interested in the lower level stuff I'd just strap your application onto the Linux kernel.

Otherwise look at this

Bona Fide OS Development Bran's Kernel Development Tutorial

That is actually a kernel development tutorial but is well suited to what you want to do.

#7
Osama

Osama

    Newbie

  • Members
  • Pip
  • 7 posts

R-G said:

The computer operating system (as computer software) is running in the abstract RING 3 of the RAM memory. However, the computer operating system does not have the full control of the computer machine. You must develop a computer software that will run in lower abstract RING values (optimally the RING 0). However, your computer software algoritm will have all privileges of the computer machine plus it will not run under any computer operating system.

However, many malevolent computer softwares were/are using this method to gain full privilege and control of the computer operating system and of course all other software running under it.

thank u for this enlightenment
very interesting

#8
Osama

Osama

    Newbie

  • Members
  • Pip
  • 7 posts

TcM said:

Well I did not mean that it will require you to build an OS, but it will require the core/kernel files etc... which requires even more work, because you have to create an environment.
i got what u mean...

i thought it's not complex ... i was wrong :(

#9
Osama

Osama

    Newbie

  • Members
  • Pip
  • 7 posts

G_Morgan said:

Basically what you are talking about is creating an application that runs directly from the bootloader.

yes that what i mean

G_Morgan said:

There is a lot of cross over with writing an OS because you have to handle similar problems. Some things can be ignored of course (you hardly need to manage processes if you have only one).

cross over ??? i know cross over -> linux application which creat an environment to run windows applications in linux !!!
could u inform me about this .... please

G_Morgan said:

Unless you are actually interested in the lower level stuff I'd just strap your application onto the Linux kernel.

actually... i'm very interesting in low level applications and how could i deal with devices.

G_Morgan said:

Otherwise look at this

Bona Fide OS Development Bran's Kernel Development Tutorial

That is actually a kernel development tutorial but is well suited to what you want to do.

useful website
thank u very much

Edited by Osama, 23 March 2008 - 11:59 AM.


#10
G_Morgan

G_Morgan

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 537 posts
By cross over I mean there are a lot of things you will have to implement in your application that would form part of an OS. If you want to read and write to the HDD then you'd have to implement a file system as a good example. You would also have to implement simpler stuff like drivers for the VGA subsystem, keyboard, etc.

OTOH there are some things that you probably won't need (say a process system, unless you want threads) that would be required for an OS.

//edit - in essence, no relation to the crossover environment in linux.//