OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Dec 06, 2019 6:10 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3408 posts ]  Go to page Previous  1 ... 63, 64, 65, 66, 67, 68, 69 ... 228  Next
Author Message
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Wed Jan 19, 2011 9:50 am 
Offline
Member
Member

Joined: Sun Jun 20, 2010 1:21 pm
Posts: 127
nicely done, Chandra! Things I was impressed with, with your OS (some of them require logical deduction to see where I got them from):

USB support - this seems to be the one thing that alludes me to date. I have tried time and time again... Very well done.
Fully fledged API - one thing I have to ask, is the API interrupt based, or dynamic library based?
Clean looking GUI - One of the things that is often most sought after by end users, and can sometimes be quite difficult to achieve. Love it!


Top
 Profile  
 
 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 3906 times ]


8. Wallpaper Support (Latest Addition)
Attachment:
wallpaper.JPG
wallpaper.JPG [ 117.35 KiB | Viewed 3906 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 3906 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

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: 21
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 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: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: 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 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 5428 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

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  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Wed Feb 02, 2011 3:28 am 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 9:29 pm
Posts: 2423
Location: Canada
Indeed, I recall your project as well.

Welcome to the forums Andy.

_________________
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
UNIX&BSD's, your only aspirations, to be imitated! 8)
Windows, are an opening in an otherwise solid and opaque surface through which light and, sometimes, even air can pass through; nothing more.


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Thu Feb 03, 2011 3:47 am 
Offline
Member
Member
User avatar

Joined: Fri Jan 22, 2010 7:37 am
Posts: 43
Location: Kyrgyzstan, Bishkek
It's good to see you here Andy! :)


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Fri Feb 04, 2011 3:34 pm 
Offline
Member
Member
User avatar

Joined: Tue Feb 01, 2011 6:18 pm
Posts: 31
Location: London, UK
Asper wrote:
It's good to see you here Andy! :)


Ha, you too Asper! 8)

Thanks everyone!


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot], MSN [Bot] and 14 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