OSDev.org

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

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3898 posts ]  Go to page Previous  1 ... 187, 188, 189, 190, 191, 192, 193 ... 260  Next
Author Message
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Tue Jan 31, 2017 9:03 pm 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 676
szhou42 wrote:
https://github.com/szhou42/osdev
My first GUI =D> =D> (looks familiar? :wink: )


You're buttons look upside down ;)

Reminds me of how my own UI theme was based on the GTK theme I was using when I got started. I think my take on the design looks better, though (but I'm probably biased).

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Wed Feb 01, 2017 12:59 am 
Offline
Member
Member

Joined: Wed Jan 25, 2017 3:37 pm
Posts: 71
So, if your OS POSIX compatible, why not port Wayland and GTK, and write DE on GTK?


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Wed Feb 01, 2017 1:26 am 
Offline
Member
Member

Joined: Thu May 17, 2007 1:27 pm
Posts: 999
monobogdan wrote:
So, if your OS POSIX compatible, why not port Wayland and GTK, and write DE on GTK?

Porting Wayland requires a huge amount of work; it either requires massive changes to Wayland and its supporting libraries or a port of almost all of Linux' user space APIs.

Wayland by default uses Mesa EGL and dbus. EGL uses DRM (Linux' user space GPU interface) and udev. The default implementations of dbus and udev are part of systemd. udev is based on sysfs and netlink sockets. systemd requires APIs like namespaces and cgroups.

While I do think that porting all this is viable it is by no means easy and many people here might not want to turn their OS into a Linux clone.

_________________
managarm: Microkernel-based OS capable of running a Wayland desktop (Discord: https://discord.gg/7WB6Ur3). My OS-dev projects: [mlibc: Portable C library for managarm, qword, Linux, Sigma, ...] [LAI: AML interpreter] [xbstrap: Build system for OS distributions].


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Wed Feb 01, 2017 1:57 am 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 676
monobogdan wrote:
So, if your OS POSIX compatible, why not port Wayland and GTK, and write DE on GTK?

Perhaps some of us actually want to write desktop environments ourselves, from our own toolkits, for our OSes. Operating systems are more than just kernels.

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Wed Feb 01, 2017 6:41 am 
Offline
Member
Member
User avatar

Joined: Fri Aug 07, 2015 6:13 am
Posts: 1134
klange wrote:
szhou42 wrote:
https://github.com/szhou42/osdev
My first GUI =D> =D> (looks familiar? :wink: )


You're buttons look upside down ;)

Reminds me of how my own UI theme was based on the GTK theme I was using when I got started. I think my take on the design looks better, though (but I'm probably biased).


Kevin, please respond. :D [-o<
What is the name of that theme? I would like to use it on my Ubuntu. Thanks!

_________________
OS: Basic OS
About: 32 Bit Monolithic Kernel Written in C++ and Assembly, Custom FAT 32 Bootloader


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Wed Feb 01, 2017 12:57 pm 
Offline
Member
Member
User avatar

Joined: Mon Feb 22, 2016 4:40 am
Posts: 59
Location: United Kingdom
Attachment:
Screenshot_2017-02-01_18-48-34.png
Screenshot_2017-02-01_18-48-34.png [ 46.89 KiB | Viewed 3834 times ]

It works! I now have a virtual VBE text-mode ANSI-compatible console. For some reason modesetting only works on QEMU though... Anyone got any ideas why?

Anyhow, I'm very happy with this.

_________________
Current developing Tupai, a monolithic x86 operating system
http://zesterer.homenet.org/projects.shtml


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Wed Feb 01, 2017 1:19 pm 
Offline
Member
Member
User avatar

Joined: Sat Dec 27, 2014 9:11 am
Posts: 901
Location: Maadi, Cairo, Egypt
zesterer wrote:
For some reason modesetting only works on QEMU though... Anyone got any ideas why?

How are you setting the mode? Where else other than QEMU have you tried your code?

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


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Wed Feb 01, 2017 1:55 pm 
Offline
Member
Member
User avatar

Joined: Mon Feb 22, 2016 4:40 am
Posts: 59
Location: United Kingdom
omarrx024 wrote:
zesterer wrote:
For some reason modesetting only works on QEMU though... Anyone got any ideas why?

How are you setting the mode? Where else other than QEMU have you tried your code?

I'm using "set gfxpayload=1024x768x32" in grub.cfg, and my multiboot header is requesting a linear mode with width / height of 0 (I'm told this means "go as high as you can").

I've tried my code on Bochs and real hardware (2 laptops - a newer 64-bit machine, and an older mid-2000s 32-bit machine).

_________________
Current developing Tupai, a monolithic x86 operating system
http://zesterer.homenet.org/projects.shtml


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Wed Feb 01, 2017 7:04 pm 
Offline
Member
Member
User avatar

Joined: Sat Dec 27, 2014 9:11 am
Posts: 901
Location: Maadi, Cairo, Egypt
zesterer wrote:
I'm using "set gfxpayload=1024x768x32" in grub.cfg, and my multiboot header is requesting a linear mode with width / height of 0 (I'm told this means "go as high as you can").

I've tried my code on Bochs and real hardware (2 laptops - a newer 64-bit machine, and an older mid-2000s 32-bit machine).

Do you have bit 2 (value 4) set in your kernel's multiboot flags? Is the "mode type" field set to zero in your kernel's multiboot flags? A value of zero in the width/height fields doesn't mean "go as high as you can;" it means that your OS has no preference. You mention an old laptop from the mid 2000s; does it support 1024x768? I have a laptop from that time that cannot go higher than 1024x600.
BTW, it should work in Bochs. :?

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


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Thu Feb 02, 2017 7:17 am 
Offline
Member
Member
User avatar

Joined: Mon Feb 22, 2016 4:40 am
Posts: 59
Location: United Kingdom
omarrx024 wrote:
zesterer wrote:
I'm using "set gfxpayload=1024x768x32" in grub.cfg, and my multiboot header is requesting a linear mode with width / height of 0 (I'm told this means "go as high as you can").

I've tried my code on Bochs and real hardware (2 laptops - a newer 64-bit machine, and an older mid-2000s 32-bit machine).

Do you have bit 2 (value 4) set in your kernel's multiboot flags? Is the "mode type" field set to zero in your kernel's multiboot flags? A value of zero in the width/height fields doesn't mean "go as high as you can;" it means that your OS has no preference. You mention an old laptop from the mid 2000s; does it support 1024x768? I have a laptop from that time that cannot go higher than 1024x600.
BTW, it should work in Bochs. :?


I have bit 2 set, and mode type 0 in multiboot flags. Should I specifically request a 1024x768 resolution? I've tested it on older hardware and my own newer amd64 laptop. Both machines (I've checked with vbetest in GRUB) support at least 1024x768x32 resolutions.

The fact that it isn't working with Bochs suggests to me that it's another issue, but then again I might simply not have Bochs set up correctly for VGA stuff.

_________________
Current developing Tupai, a monolithic x86 operating system
http://zesterer.homenet.org/projects.shtml


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Thu Feb 02, 2017 6:58 pm 
Offline
Member
Member
User avatar

Joined: Mon Feb 22, 2016 4:40 am
Posts: 59
Location: United Kingdom
I figured it out (I really should have worked this out sooner) the framebuffer was being allocated in a region of memory I didn't expect, and it was page-faulting. It didn't alert me because... well. It had no screen to print to.

_________________
Current developing Tupai, a monolithic x86 operating system
http://zesterer.homenet.org/projects.shtml


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Thu Feb 02, 2017 11:48 pm 
Offline
Member
Member
User avatar

Joined: Sat Dec 27, 2014 9:11 am
Posts: 901
Location: Maadi, Cairo, Egypt
Humble beginning for my text editor, which also means (incomplete) support for the text box component. :)
Image

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


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Fri Feb 03, 2017 9:45 am 
Offline
Member
Member

Joined: Wed Jan 25, 2017 3:37 pm
Posts: 71
omarrx024 wrote:
Humble beginning for my text editor, which also means (incomplete) support for the text box component. :)
Image

Add a antialiasing


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Fri Feb 03, 2017 12:50 pm 
Offline
Member
Member
User avatar

Joined: Wed Aug 17, 2016 4:55 am
Posts: 251
That looks like a bitmap font to me. I'd be more annoyed at the cursor shape if anything (that tail should be 22.5º, not 45º).

I've been doing, huh, some serious redesigns in Indigo. New practically everything pretty much (except cursors and font, I guess). The garbage rows at the bottom will be replaced with a taskbar (acting like some sort of Alt+Tab so you don't have to explicitly quit every time). Also took a new approach to shading the buttons.

Image

Gotta figure out how to appoach floating point to get this calculator done (or probably just do fixed point, since there's a limit to how many digits can be shown on screen and I have no intention to bother with scientific notation). Then I may upload source code (・・ )


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sun Feb 05, 2017 2:41 pm 
Offline
Member
Member
User avatar

Joined: Mon Jun 15, 2009 10:01 am
Posts: 311
Location: France
Finally got my 64-bit OS working! I had many troubles with paging. Implementing "recursive mapping" helped me a lot.
I'm focusing now on the 64-bit version. Next big step: adding UEFI support (won't be easy).
Attachment:
File comment: Obsidian 64
Obsidian64.jpg
Obsidian64.jpg [ 120.35 KiB | Viewed 3364 times ]

_________________
"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 ... 187, 188, 189, 190, 191, 192, 193 ... 260  Next

All times are UTC - 6 hours


Who is online

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