OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Apr 16, 2024 9:48 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Blue Desert (ParticleOS) 0.0.1 is out! (Click here!))
PostPosted: Wed May 25, 2016 2:58 am 
Offline
Member
Member
User avatar

Joined: Mon Dec 28, 2015 11:11 am
Posts: 401
Hi, i finally uploaded my operating system. FDC makes my system freeze and switcher to real mode do not work, so, it can't load GUI shell. If anyone wants to check it, there is old image of that GUI:

I renamed my OS to Blue Desert yesterday, and because this is old version it have old name (ParticleOS):
Image


Anyways, there is image of current version:
Image


Also, there is boot screen:
Image


And memory viewer:
Image


Want to try it?
Download it:
Website link : http://bluedesert.netai.net


Top
 Profile  
 
 Post subject: Re: Blue Desert (ParticleOS) 0.0.1 is out! (Click here!))
PostPosted: Fri May 27, 2016 11:45 am 
Offline
Member
Member
User avatar

Joined: Mon Dec 28, 2015 11:11 am
Posts: 401
Why's no one replying? Is there something wrong with my OS!? :evil:


Top
 Profile  
 
 Post subject: Re: Blue Desert (ParticleOS) 0.0.1 is out! (Click here!))
PostPosted: Fri May 27, 2016 9:46 pm 
Offline
Member
Member
User avatar

Joined: Sat Dec 27, 2014 9:11 am
Posts: 901
Location: Maadi, Cairo, Egypt
I don't mean any offense by this, but probably by the kind of questions you have been recently asking, people can see you are not experienced, and therefore do not expect much of your work.

_________________
You know your OS is advanced when you stop using the Intel programming guide as a reference.


Top
 Profile  
 
 Post subject: Re: Blue Desert (ParticleOS) 0.0.1 is out! (Click here!))
PostPosted: Sat May 28, 2016 4:54 am 
Offline

Joined: Sun Mar 18, 2012 9:06 am
Posts: 4
Location: At the computer
It looks nice :)

I might recommend printing memory addresses in hex. It may prove to be more readable - especially when viewing a large list of them.
But that's just my 2 cents.


Top
 Profile  
 
 Post subject: Re: Blue Desert (ParticleOS) 0.0.1 is out! (Click here!))
PostPosted: Sat May 28, 2016 10:11 am 
Offline
Member
Member
User avatar

Joined: Sun Feb 18, 2007 7:28 pm
Posts: 1564
Didn't see this one until now -- its a good start. Wouldn't call it 0.0.1 just yet though. Are those programs running in user mode or is the entire console running in the kernel? You should be able to boot the graphics shell by just setting the mode during boot and accessing the LFB in protected mode. I didn't try it yet, will try it when I can and let you know how it runs here. Nice start. :)

Second using hex in the memory viewer -- so much easier to read then base 10. Who uses base 10 anyways?

For the calculator, one possible approach you might want to try in the next release is to have it so the user types in a whole expression and it gets computed. One easy way to do this is converting infix to prefix notation [e.g. 2 + 3 into + 2 3] and then using a stack to evaluate it.

_________________
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}


Top
 Profile  
 
 Post subject: Re: Blue Desert (ParticleOS) 0.0.1 is out! (Click here!))
PostPosted: Sat May 28, 2016 12:04 pm 
Offline
Member
Member

Joined: Sat Mar 01, 2014 2:59 pm
Posts: 1146
neon wrote:
For the calculator, one possible approach you might want to try in the next release is to have it so the user types in a whole expression and it gets computed. One easy way to do this is converting infix to prefix notation [e.g. 2 + 3 into + 2 3] and then using a stack to evaluate it.
Or you could write a recursive equation parser - something which I've been meaning to try for a while.

_________________
When you start writing an OS you do the minimum possible to get the x86 processor in a usable state, then you try to get as far away from it as possible.

Syntax checkup:
Wrong: OS's, IRQ's, zero'ing
Right: OSes, IRQs, zeroing


Top
 Profile  
 
 Post subject: Re: Blue Desert (ParticleOS) 0.0.1 is out! (Click here!))
PostPosted: Sat May 28, 2016 6:24 pm 
Offline
Member
Member
User avatar

Joined: Sun Feb 18, 2007 7:28 pm
Posts: 1564
Actually runs pretty well on VMWare. The shell command crashes it with a #GPF but that was expected. Typing "1=2" in the add command of calc produced -4110468 rather then an "invalid syntax" handler. The unknown option 6 produced weird results (hard to explain what happens, but it does not crash), apparently 2/9x10^36 = 26, who knew? (I didn't use scientific notation on input, just using it here for my sake. I was watching for overflow detection.) Doesn't appear to support doubles/floats. It accepts "no number" as "zero" (i don't know if this was the intent or not.) Typing "3" in "exit" command displayed a different character.

So, pretty much only problems I found were in the calc program. Besides the expected #GPF, the system ran quite smoothly. Nice work :)

Using a proper parser (like recursive descent) would probably be the best long term goal for the calc program (write it in user mode and port it - always easier that way.) I just mentioned the stack method cus I figured it would be easier - but tbh both methods aren't too hard, its just that the recursive descent method might be hard if you haven't done much of formal language theory.

_________________
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}


Top
 Profile  
 
 Post subject: Re: Blue Desert (ParticleOS) 0.0.1 is out! (Click here!))
PostPosted: Thu Jun 02, 2016 8:04 am 
Offline
Member
Member
User avatar

Joined: Mon Dec 28, 2015 11:11 am
Posts: 401
neon wrote:
Didn't see this one until now -- its a good start. Wouldn't call it 0.0.1 just yet though. Are those programs running in user mode or is the entire console running in the kernel? You should be able to boot the graphics shell by just setting the mode during boot and accessing the LFB in protected mode. I didn't try it yet, will try it when I can and let you know how it runs here. Nice start. :)

Second using hex in the memory viewer -- so much easier to read then base 10. Who uses base 10 anyways?

For the calculator, one possible approach you might want to try in the next release is to have it so the user types in a whole expression and it gets computed. One easy way to do this is converting infix to prefix notation [e.g. 2 + 3 into + 2 3] and then using a stack to evaluate it.

User mode -- Am i crazy to use kernel mode for that!?


Top
 Profile  
 
 Post subject: Re: Blue Desert (ParticleOS) 0.0.1 is out! (Click here!))
PostPosted: Thu Jun 02, 2016 8:07 am 
Offline
Member
Member
User avatar

Joined: Mon Dec 28, 2015 11:11 am
Posts: 401
StereoRocker wrote:
It looks nice :)

I might recommend printing memory addresses in hex. It may prove to be more readable - especially when viewing a large list of them.
But that's just my 2 cents.

Thanks :)
Calculator was just test for itoa and atoi. It will be reimplemented for some amount of time.
Hex output was already implemented and plot into memview.
Big amount of code were entirely rewriteen (keyboard driver, PIT driver (partially), GDT driver, etc.)
FAT12 in progress (but i still can't get floppy driver working xD)


Last edited by Ycep on Thu Aug 25, 2016 7:33 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Blue Desert (ParticleOS) 0.0.1 is out! (Click here!))
PostPosted: Thu Jun 02, 2016 8:14 am 
Offline
Member
Member
User avatar

Joined: Mon Dec 28, 2015 11:11 am
Posts: 401
omarrx024 wrote:
you are not experienced, and therefore do not expect much of your work.

I think it's opposite. Because i'm "unexperienced" it should be interesting to see what newbie wrote.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 153 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