OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 25, 2024 3:08 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3898 posts ]  Go to page Previous  1 ... 63, 64, 65, 66, 67, 68, 69 ... 260  Next
Author Message
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Mon Jan 24, 2011 1:16 am 
Offline
Member
Member
User avatar

Joined: Sat Jul 17, 2010 12:45 am
Posts: 487
death2all wrote:
Fully fledged API - one thing I have to ask, is the API interrupt based, or dynamic library based?

Basically, the programs you saw are the Kernel Space Programs and hence run in ring 0. They come with their own embedded library never requesting for any of the kernel service.
All of my Kernel Space Programs are interrupt based. During execution, they replace the original mouse handler with their own handler and hence for every mouse interrupt generated(including but not limited to mouse clicks, mouse movements), they perform some sorts of test to see if next state can be entered.
When they exit, they simply replace the original handlers.

I think this should make things clear.

Best Regards,
Chandra

_________________
Programming is not about using a language to solve a problem, it's about using logic to find a solution !


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Mon Jan 24, 2011 1:28 am 
Offline
Member
Member
User avatar

Joined: Sat Jul 17, 2010 12:45 am
Posts: 487
Well, I missed some of screenshots in my previous post.So I'm continuing...

7. The Bootscreen
Attachment:
bootscreen.PNG
bootscreen.PNG [ 50.7 KiB | Viewed 6096 times ]


8. Wallpaper Support (Latest Addition)
Attachment:
wallpaper.JPG
wallpaper.JPG [ 117.35 KiB | Viewed 6096 times ]


9. And my latest concept of 'Crystal' font (Notice the transparency in the font itself)
Attachment:
cystal_font.JPG
cystal_font.JPG [ 118.18 KiB | Viewed 6096 times ]


Still alot to go...

_________________
Programming is not about using a language to solve a problem, it's about using logic to find a solution !


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Mon Jan 24, 2011 1:57 am 
Offline
Member
Member
User avatar

Joined: Mon Jun 15, 2009 10:01 am
Posts: 311
Location: France
:o

Wow! I'm really impressed. Very good work.
Waiting for the public release...

_________________
"Open source seems to embrace the dark side of human nature." - Ville Turjanmaa


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Mon Jan 24, 2011 11:03 am 
Offline

Joined: Sat Aug 09, 2008 5:07 pm
Posts: 23
fatih wrote:


Nice project you have going there.
But please, if you use code from other projects, give the original author some credit..


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Fri Jan 28, 2011 11:20 am 
Offline

Joined: Thu Mar 04, 2010 7:29 am
Posts: 14
Location: UK
I've just passed a significant milestone in my project by getting a user mode process running so now I think I can actually consider my code a proper kernel :)

Here is a screenshot of it running in QEMU (works in Bochs and on real hardware too):

Image

The code that is running is just some simple assembly code compiled to a flat binary which is loaded into memory - no ELF support or C library yet:

Code:
[bits 32]
[org 0]
start:
  mov eax, 0
  mov ebx, hello_str
  int 0x80
  jmp $

hello_str:
  db "Hello, World!", 0x0A, 0x00


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sat Jan 29, 2011 10:57 am 
Offline
Member
Member

Joined: Sat Oct 16, 2010 3:38 pm
Posts: 587
Photon Operating System?!

My operating system is called System Photon. I think we might have a problem :D


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sat Jan 29, 2011 3:05 pm 
Offline

Joined: Thu Mar 04, 2010 7:29 am
Posts: 14
Location: UK
mariuszp wrote:
Photon Operating System?!

My operating system is called System Photon. I think we might have a problem :D


It's just a temporary name/codename until I can think of something better ;)


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sat Jan 29, 2011 4:01 pm 
Offline
Member
Member

Joined: Sat Oct 16, 2010 3:38 pm
Posts: 587
And how did you get a flat binary to relocate properly? I mean, it uses memory, so it should be loaded at a SPECIFIC place, right? So how come your program works if you load it anywhere?


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sat Jan 29, 2011 4:10 pm 
Offline
Member
Member

Joined: Tue Jun 15, 2010 9:27 am
Posts: 255
Location: Flyover State, United States
mariuszp wrote:
And how did you get a flat binary to relocate properly? I mean, it uses memory, so it should be loaded at a SPECIFIC place, right? So how come your program works if you load it anywhere?

The "org 0" directive tells the assembler to assume everything starts at 0x00000000. Then when the kernel loads it as a module, it just creates a page directory for the process and adds a PTE mapping 0x00000000 to whatever physical address it was loaded at. To the process, it appears as if it is running at 0x00000000.

As for the kernel itself, it is either identity mapped, which makes things easy, or is a higher-half kernel. From the looks of the screenshot, I would guess it's an identity mapped kernel.

_________________
Getting_Started on the wiki
x86 technical information
Interrupt Jump Table
Real Programmers Don't Use Pascal
My open-source projects


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sun Jan 30, 2011 1:43 am 
Offline

Joined: Thu Mar 04, 2010 7:29 am
Posts: 14
Location: UK
Tosi wrote:
mariuszp wrote:
And how did you get a flat binary to relocate properly? I mean, it uses memory, so it should be loaded at a SPECIFIC place, right? So how come your program works if you load it anywhere?

The "org 0" directive tells the assembler to assume everything starts at 0x00000000. Then when the kernel loads it as a module, it just creates a page directory for the process and adds a PTE mapping 0x00000000 to whatever physical address it was loaded at. To the process, it appears as if it is running at 0x00000000.

As for the kernel itself, it is either identity mapped, which makes things easy, or is a higher-half kernel. From the looks of the screenshot, I would guess it's an identity mapped kernel.


The program is indeed loaded in virtual memory at 0x00000000 and mapped to wherever GRUB loads the module in physical memory (which is 0x07F3F000 in the screenshot).

It is in fact a higher half kernel. I know it says setting up paging way after all that other stuff but paging is actually set up in my assembly code before C is ever called - that code is just preparing things which are easier to do in C like setting up the page fault interrupt.


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sun Jan 30, 2011 3:42 pm 
Offline
Member
Member

Joined: Sat Oct 16, 2010 3:38 pm
Posts: 587
I stopped working on Asmadian (my old, crap OS), and now I'm making System Photon (as I mentioned above), and i'm sort-of close to finishing the kernel, look at this amazing screenshot:
Image
Comment please! :D


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Mon Jan 31, 2011 9:14 pm 
Offline
Member
Member
User avatar

Joined: Thu Feb 12, 2009 5:12 pm
Posts: 286
mariuszp wrote:
Comment please! :D

gods thats over whelmingly pink and bright! :shock:

_________________
My hero, is Mel.


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Tue Feb 01, 2011 3:30 pm 
Offline
Member
Member

Joined: Sat Oct 16, 2010 3:38 pm
Posts: 587
Coty wrote:
mariuszp wrote:
Comment please! :D

gods thats over whelmingly pink and bright! :shock:

gods that's only the bootup screen, in the finished OS you'll see this for less than a second!!! :shock:

P.S. you magenta, not pink :D


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Tue Feb 01, 2011 6:38 pm 
Offline
Member
Member
User avatar

Joined: Tue Feb 01, 2011 6:18 pm
Posts: 31
Location: London, UK
Visopsys
Attachment:
index-screenshot.jpg
index-screenshot.jpg [ 82.02 KiB | Viewed 7813 times ]


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Wed Feb 02, 2011 12:30 am 
Offline
Member
Member
User avatar

Joined: Mon Jun 15, 2009 10:01 am
Posts: 311
Location: France
Hi Andy, and welcome to the OSDev forums.

Your OS is very good and I know it since a while (The first version I tested is 0.2_PRE :D ).
Anyway, I'm very impatient to test the next version 0.7. Hope it will be available in a few
days :D ...

f2

_________________
"Open source seems to embrace the dark side of human nature." - Ville Turjanmaa


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3898 posts ]  Go to page Previous  1 ... 63, 64, 65, 66, 67, 68, 69 ... 260  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 213 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group