What does your OS look like? (Screen Shots..)

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
eekee
Member
Member
Posts: 891
Joined: Mon May 22, 2017 5:56 am
Location: Kerbin
Discord: eekee
Contact:

Re: What does your OS look like? (Screen Shots..)

Post by eekee »

bloodline wrote:I was a bit surprised that you have opted for a single-click-open for the icons... I kept opening two of each app :lol:
Double-click is evil! Eeevil I say! :mrgreen: Actually.... I'm going to post a mini-rant elsewhere.
Kaph — a modular OS intended to be easy and fun to administer and code for.
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie
GhelloWorld
Member
Member
Posts: 27
Joined: Thu Apr 19, 2018 5:31 am

Re: What does your OS look like? (Screen Shots..)

Post by GhelloWorld »

Going to try to write a AHCI driver then I guess :lol:.
And bloodline, about what you said. No I do not have hardware cursor, the code is fast because it is optimized a lot. All code is optimized with -O3 and --msse2 which really makes a great difference.
User avatar
bloodline
Member
Member
Posts: 264
Joined: Tue Sep 15, 2020 8:07 am
Location: London, UK

Re: What does your OS look like? (Screen Shots..)

Post by bloodline »

GhelloWorld wrote:Going to try to write a AHCI driver then I guess :lol:.
And bloodline, about what you said. No I do not have hardware cursor, the code is fast because it is optimized a lot. All code is optimized with -O3 and --msse2 which really makes a great difference.
I need to fix my code so -O3 works... But it looks like you have VSyncing, my mouse pointer is prone to flickering when the screen update (which is driven by a 16ms timer) loses sync with the GFX card. Also there must be a wrong conditional in my rectangle intersection code, as a certain configuration of windows allows part of a behind window to show through front ones... I'm getting fed up of debugging the GUI :roll:

-edit- Actually, just tried -O3 and it runs fine... (-msse2 doesn't work... no surprise, I don't save SEE registers or anything during a task switch...) I must have fixed the -O3 issue during the last rewrite/clean up. I'm still not meeting the level of performance you are getting. What OS quantum do you use?
CuriOS: A single address space GUI based operating system built upon a fairly pure Microkernel/Nanokernel. Download latest bootable x86 Disk Image: https://github.com/h5n1xp/CuriOS/blob/main/disk.img.zip
Discord:https://discord.gg/zn2vV2Su
User avatar
BenLunt
Member
Member
Posts: 941
Joined: Sat Nov 22, 2014 6:33 pm
Location: USA
Contact:

Re: What does your OS look like? (Screen Shots..)

Post by BenLunt »

bloodline wrote:Download latest build bootable Disk Image: https://github.com/h5n1xp/CuriOS/blob/main/disk.img.zip
bloodline,

Using my utility, I am trying to "test" every image I can get my hands on.

I looked over yours and for some reason, the "dot" entry in each sub-directory of your image has an attribute value of 0x32 (Archive, Sub, Hidden). Is this by design?
User avatar
bloodline
Member
Member
Posts: 264
Joined: Tue Sep 15, 2020 8:07 am
Location: London, UK

Re: What does your OS look like? (Screen Shots..)

Post by bloodline »

BenLunt wrote:
bloodline wrote:Download latest build bootable Disk Image: https://github.com/h5n1xp/CuriOS/blob/main/disk.img.zip
bloodline,

Using my utility, I am trying to "test" every image I can get my hands on.

I looked over yours and for some reason, the "dot" entry in each sub-directory of your image has an attribute value of 0x32 (Archive, Sub, Hidden). Is this by design?
The disk image I have used for this is created and formatted on a Mac, so any peculiarities you may find will be something Apple have done.

-edit- your utility looks extremely useful! I think I’ll need to use that when I start work on adding more features to my disk operation functions!!
CuriOS: A single address space GUI based operating system built upon a fairly pure Microkernel/Nanokernel. Download latest bootable x86 Disk Image: https://github.com/h5n1xp/CuriOS/blob/main/disk.img.zip
Discord:https://discord.gg/zn2vV2Su
User avatar
qookie
Member
Member
Posts: 72
Joined: Sun Apr 30, 2017 12:16 pm
Libera.chat IRC: qookie
Location: Poland

Re: What does your OS look like? (Screen Shots..)

Post by qookie »

Hi all!
Some time ago, we started work on porting managarm to ARM (AArch64 more specifically). After some inactivity due to us focusing on other stuff, I decided to pick it up again about 2 weeks ago. Now, the port progressed from barely running thor, to loading ELFs from the initrd and running them in EL0 (along with kernel threads running in EL1).

Currently supported are the Raspberry Pi 4 and the QEMU virt machine. The main kernel should work on more than that given a device tree, but the prekernel makes some assumptions about the HW and FW, like where it's loaded, and does some extra setup, like initializing the framebuffer on the RPi4 for a graphical way of getting logs instead of just serial.

There is still quite a bit to do, for example, system call handling is not implemented at the moment (the loaded binaries all spin in a tight loop at the moment).

Since this is a screenshot thread, here's a screenshot that shows the logs produced over serial from managarm running on the Pi4 :).
Image
Working on managarm.
nexos
Member
Member
Posts: 1081
Joined: Tue Feb 18, 2020 3:29 pm
Libera.chat IRC: nexos

Re: What does your OS look like? (Screen Shots..)

Post by nexos »

Looks nice! I have been trying to look at the Managarm source tree, but I am a bit confused as to what thor, eir, and so on are. Could you please explain? (We can open a separate thread for this).
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg
User avatar
BenLunt
Member
Member
Posts: 941
Joined: Sat Nov 22, 2014 6:33 pm
Location: USA
Contact:

Re: What does your OS look like? (Screen Shots..)

Post by BenLunt »

bloodline wrote:The disk image I have used for this is created and formatted on a Mac, so any peculiarities you may find will be something Apple have done.
-edit- your utility looks extremely useful! I think I’ll need to use that when I start work on adding more features to my disk operation functions!!
Thanks for the kind words. Just a note, your BPB:HiddenSectors field is not accurate either.

Thanks,
Ben
User avatar
zaval
Member
Member
Posts: 656
Joined: Fri Feb 17, 2017 4:01 pm
Location: Ukraine, Bachmut
Contact:

Re: What does your OS look like? (Screen Shots..)

Post by zaval »

qookie and Co, it's cool. I have a question, maybe stupid. since you guys are also working on an ACPI engine, haven't you considered a possibility (and feasibility) to supply ACPI tables for RPi what is now in DT?
ANT - NT-like OS for x64 and arm64.
efify - UEFI for a couple of boards (mips and arm). suspended due to lost of all the target park boards (russians destroyed our town).
User avatar
qookie
Member
Member
Posts: 72
Joined: Sun Apr 30, 2017 12:16 pm
Libera.chat IRC: qookie
Location: Poland

Re: What does your OS look like? (Screen Shots..)

Post by qookie »

nexos wrote:Looks nice! I have been trying to look at the Managarm source tree, but I am a bit confused as to what thor, eir, and so on are. Could you please explain? (We can open a separate thread for this).
thor is the main kernel, and eir is the prekernel, which sets up some things for thor (like physical memory management, paging), loads it in the higher half with proper PHDR permissions (RW or RX), parses the bootloader provided info into a generic format and hands control over to thor.
Other things that may be unclear may be explained on docs.managarm.org but that is still a bit WIP at the moment.
zaval wrote:qookie and Co, it's cool. I have a question, maybe stupid. since you guys are also working on an ACPI engine, haven't you considered a possibility (and feasibility) to supply ACPI tables for RPi what is now in DT?
We haven't considered supplying ACPI tables instead of the DT, but to me it seems needlessly complicated, as either eir or thor would need to do the conversion at runtime, since the contents of the DT are not known prior to booting (the FW on the RPi4 patches the DTB loaded from file to set the memory regions and add some properties etc, and on QEMU virt the device tree is generated completely from scratch at boot), and it also seems a bit pointless, as we'd be wasting a good bit of the ACPI engine as there would be no AML to run anyway.
Working on managarm.
User avatar
bloodline
Member
Member
Posts: 264
Joined: Tue Sep 15, 2020 8:07 am
Location: London, UK

Re: What does your OS look like? (Screen Shots..)

Post by bloodline »

BenLunt wrote:
bloodline wrote:The disk image I have used for this is created and formatted on a Mac, so any peculiarities you may find will be something Apple have done.
-edit- your utility looks extremely useful! I think I’ll need to use that when I start work on adding more features to my disk operation functions!!
Thanks for the kind words. Just a note, your BPB:HiddenSectors field is not accurate either.

Thanks,
Ben
Hmmm, my filesystem driver uses the LBA value of a each partition from the MBR only, so this discrepancy hasn’t caused me any issues. I only really plan to support FAT enough to use it as the format of the boot partition, the OS root will be a separate partition... likely not FAT :lol:
CuriOS: A single address space GUI based operating system built upon a fairly pure Microkernel/Nanokernel. Download latest bootable x86 Disk Image: https://github.com/h5n1xp/CuriOS/blob/main/disk.img.zip
Discord:https://discord.gg/zn2vV2Su
Gigasoft
Member
Member
Posts: 856
Joined: Sat Nov 21, 2009 5:11 pm

Re: What does your OS look like? (Screen Shots..)

Post by Gigasoft »

Progress report:
- Can have multiple login sessions and switch between them
- Multi seat
- Started working on ACPI
- Can make TCP connections
- User pointer validation implemented for most system calls
- Notepad is now an user mode application
- Programs can now take parameters, including kernel handles. This is used as shown below to initialize a Notepad instance with data downloaded from the Internet.
Attachments
network_working.png
User avatar
bloodline
Member
Member
Posts: 264
Joined: Tue Sep 15, 2020 8:07 am
Location: London, UK

Re: What does your OS look like? (Screen Shots..)

Post by bloodline »

Gigasoft wrote:Progress report:
- Can have multiple login sessions and switch between them
- Multi seat
- Started working on ACPI
- Can make TCP connections
- User pointer validation implemented for most system calls
- Notepad is now an user mode application
- Programs can now take parameters, including kernel handles. This is used as shown below to initialize a Notepad instance with data downloaded from the Internet.
I love testing out other people's creations, When people post screen shots are they also able to post bootable disk images so we can fire them up in QEmu?
CuriOS: A single address space GUI based operating system built upon a fairly pure Microkernel/Nanokernel. Download latest bootable x86 Disk Image: https://github.com/h5n1xp/CuriOS/blob/main/disk.img.zip
Discord:https://discord.gg/zn2vV2Su
Peterbjornx
Member
Member
Posts: 116
Joined: Thu May 06, 2010 4:34 am
Libera.chat IRC: peterbjornx
Location: Leiden, The Netherlands
Contact:

Re: What does your OS look like? (Screen Shots..)

Post by Peterbjornx »

Started doing some more work on the old kernel I wrote in high school:
Finally took the time to implement a proper kernel log/console stack. It supports log levels per sink, early/late console types, cmdline config, and routing overrides per level,source,sink combo.
Image
klange
Member
Member
Posts: 679
Joined: Wed Mar 30, 2011 12:31 am
Libera.chat IRC: klange
Discord: klange

Re: What does your OS look like? (Screen Shots..)

Post by klange »

I haven't done much recently, but looking at when I last posted a screenshot here I have built my own PNG loader and replaced all of my icons with PNG versions. I also picked a new wallpaper.

Image
Post Reply