OSDev.org

The Place to Start for Operating System Developers
It is currently Mon Sep 23, 2019 1:13 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3438 posts ]  Go to page Previous  1 ... 224, 225, 226, 227, 228, 229, 230  Next
Author Message
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Fri Mar 22, 2019 3:41 pm 
Offline

Joined: Fri Mar 22, 2019 12:34 pm
Posts: 7
Hello, World!
Here's the culmination of about 3 to 4 weeks of work in my free time:

Image

Of course it's still missing tons of basic functionality, but since it can load and run an executable, I believe it has just reached the point of being an operating system. :D


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Fri Mar 22, 2019 4:08 pm 
Offline
Member
Member
User avatar

Joined: Sun Feb 20, 2011 2:01 pm
Posts: 60
A new, UEFI based, kernel
And yes, the APs are all started up (trying to boot another OS afterwards hangs, since the SIPIs are lost)
Attachment:
File comment: Topology code (UEFI startup)
IMG_1537.JPG
IMG_1537.JPG [ 99.08 KiB | Viewed 2887 times ]

Attachment:
File comment: Debugging BST implementation
IMG_1535.JPG
IMG_1535.JPG [ 110.15 KiB | Viewed 2887 times ]

Attachment:
File comment: Stack allocation
IMG_1534.JPG
IMG_1534.JPG [ 101.7 KiB | Viewed 2887 times ]


https://github.com/ChaiSoft/ChaiOS

_________________
Whoever said you can't do OS development on Windows?
https://github.com/ChaiSoft/ChaiOS


Last edited by bellezzasolo on Sun Mar 24, 2019 6:49 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sat Mar 23, 2019 7:57 am 
Offline
Member
Member

Joined: Thu May 17, 2007 1:27 pm
Posts: 607
In the last few months, I did not do much work on ports. Nevertheless, today I decided to implement the missing stuff for ncurses and nano.

Apart from that, a new major feature in managarm is that userspace drivers can now upload eBPF-like programs to the kernel. The programs are written using C++ expression templates (as in this example), compiled to x86_64 ELF shared libraries by my new SSA compiler library (called lewis), and inserted as kernel modules. This is used to process interrupt handlers synchronously (which previously had to be asynchronously in a mask-irq/wake-drivers/unmask-irq cycle). Hence, this feature improves performance by closing the gap in IRQ latency with respect to monolithic kernels.


Attachments:
nano.png
nano.png [ 82.55 KiB | Viewed 2843 times ]

_________________
managarm: A microkernel-based OS that is capable of running a Wayland desktop
Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sun Mar 24, 2019 7:11 am 
Offline

Joined: Sat Mar 02, 2019 6:10 pm
Posts: 1
I'm trying to learn how to write a simple OS.. here it is! MiaOS
UEFI app style OS written in C and gnu-efi

https://imgur.com/a/bQMU5Ff


Attachments:
File comment: 800x600
213.jpg
213.jpg [ 126.14 KiB | Viewed 2759 times ]
File comment: 1920x1080 (full screen qemu)
1.jpg
1.jpg [ 75.53 KiB | Viewed 2759 times ]
Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sun Mar 31, 2019 2:55 am 
Offline

Joined: Fri Mar 22, 2019 12:34 pm
Posts: 7
I've started adding graphics support to my OS.

Image

I ported over sdl_picofont and made a graphical terminal. I also wrote a driver for the Bochs Graphics Adapter, and changed my multiboot header to request that Grub sets up a graphical display. That means I have graphics in Qemu and Virtualbox now (and maybe real hardware but I haven't tested it).

I added a little command that displays a bitmap in the bottom right corner, too. I'm pretty pleased with my progress! :)


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Mon Apr 01, 2019 10:27 am 
Offline
Member
Member
User avatar

Joined: Sun Feb 20, 2011 2:01 pm
Posts: 60
I finally got QEMU+TianoCore to load my OS (unusually I was using real hardware to test before I got the emulator set up!) I'm currently working on a NUMA physical memory manager, so I tested my SRAT capabilities (thankyou ACPICA!)
Attachment:
File comment: QEMU with 2 NUMA nodes
IMG_1547.JPG
IMG_1547.JPG [ 76.18 KiB | Viewed 2407 times ]

The architecture of my OS is UEFI->osloader->Kernel, so BIOS should be easier to support than I initially thought. The osloader does need to load PE files, so I went and put a DLL linker in it. The result is a dynamically linked kernel C library, ACPICA, and there'll be a Hal. Should make driver development simpler.
Attachment:
File comment: Lots of DLLs
IMG_1548.JPG
IMG_1548.JPG [ 125.31 KiB | Viewed 2407 times ]


To be precise, the OS loader sets up paging (well, reuses the UEFI mappings for now), which means a very simple physical memory manager. This involves pulling the first entries of the UEFI memory map and creating a free stack. I create a used stack when allocations are performed, rather than updating the memory map. This gives the kernel access to a page allocation system very early on, which is nice. The kernel can use this to initialise the hefty physical memory manager. Likewise, a recursive mapping is set up, and the slot is passed to the kernel.
Other than that, there's memory map information, framebuffer information (the loader sets mode from configuration or a prompt), and a puts() function.

_________________
Whoever said you can't do OS development on Windows?
https://github.com/ChaiSoft/ChaiOS


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Wed Apr 17, 2019 11:00 am 
Offline
Member
Member
User avatar

Joined: Tue Feb 11, 2014 4:59 pm
Posts: 53
My work :)

9428 lines of the pure code (no empty lines or comments) in assembly language (NASM), 23 KiB in size.

Image

_________________
wataha.net - system programming, my own 64 bit kernel and software.


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Fri Apr 19, 2019 4:33 pm 
Offline
Member
Member

Joined: Fri Jun 02, 2017 3:01 pm
Posts: 26
Finally, I've added a verbose boot mode.
Now the boot CD have two boot entries, the normal one, and the verbose boot one.

Image

_________________
Developing CHicago Operating System.


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Tue Apr 23, 2019 3:37 am 
Offline
Member
Member
User avatar

Joined: Sun Feb 20, 2011 2:01 pm
Posts: 60
Attachment:
File comment: Starting work on an XHCI driver.
IMG_1561.JPG
IMG_1561.JPG [ 104.2 KiB | Viewed 1662 times ]

Since last time, I now have an MP scheduler (very basic, with no priority yet, but it's a start), multithreading, some synchronisation primitives, and have started work on an a quick and dirty xHCI driver. I'm doing xHCI only, since that's what my PC has.

_________________
Whoever said you can't do OS development on Windows?
https://github.com/ChaiSoft/ChaiOS


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Thu May 02, 2019 8:31 am 
Offline

Joined: Mon Mar 25, 2019 8:08 pm
Posts: 3
Hi folks. I thought I would introduce Serenity, my 32-bit Unix-like operating system. :)

It's about 7 months old now, and I'm pretty happy with how far it's come. I only ever ran it in emulators, since they make for such a comfortable development environment, but I do hope to eventually make the switch to running on bare metal.

The OSDev wiki has been very helpful to me in this project, so thanks everyone who contributed to it!

Here's what Serenity looked like two days ago:

Image


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Thu May 02, 2019 10:44 am 
Offline
Member
Member
User avatar

Joined: Fri Aug 07, 2015 6:13 am
Posts: 1045
awesomekling wrote:
Hi folks. I thought I would introduce Serenity, my 32-bit Unix-like operating system. :)

It's about 7 months old now, and I'm pretty happy with how far it's come. I only ever ran it in emulators, since they make for such a comfortable development environment, but I do hope to eventually make the switch to running on bare metal.

The OSDev wiki has been very helpful to me in this project, so thanks everyone who contributed to it!

Here's what Serenity looked like two days ago:

[img]snip[/img]


7 months! Mother of God! How does an individual do something like this in such a short amount of time? You must be really skilled, do you work at Apple or something? :)
Super impressed by your work, this is so next level, you even have your own Visual Studio type app.

_________________
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: Thu May 02, 2019 11:03 am 
Offline

Joined: Mon Mar 25, 2019 8:08 pm
Posts: 3
Octacone wrote:
7 months! Mother of God! How does an individual do something like this in such a short amount of time? You must be really skilled, do you work at Apple or something? :)
Super impressed by your work, this is so next level, you even have your own Visual Studio type app.

Thanks for the kind words! And that's a very good guess actually, I did work at Apple in the past (on WebKit) :)
There are two main reasons I was able to get this system up and running so fast:

  • I rented a remote cabin and spent 6 months there by myself, with nothing else to do.
  • My other hobby project is a reasonably functional x86 PC emulator (also on GitHub), so I knew the ins and outs of a basic PC already. And when something didn't work as expected, I had the comfort of being able to debug it in my own emulator!

The Visual Builder app is coming along nicely, although it can't save or load forms just yet, so it's still very much in the prototype stage.

Here's the famous nyancat program running on Serenity, it was one of the first 3rd party things I got running, fantastic for testing basic terminal functionality:

Image


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Tue May 07, 2019 11:48 am 
Offline

Joined: Sun Apr 21, 2019 7:39 am
Posts: 18
Image
This is what my OS can do (the 'test' command runs an application written in a custom 'bytecode' I wrote over 3 months ago)

The reason I went with bytecode instead of bare x86 is because I don't know much of the ins and outs of x86. Plus, it gives me the advantage that I get an additional security layer (though it's not hacker-proof) whereas in x86 I'd have to mess around with protection levels, interrupts etc. I don't want to mess with those for now, so that's why I decided to do that.

Actually, the 'bytecode' was written for the severely limited Harvard-based AVR microcontroller architecture, which can only execute machine code from Flash memory, thus I had a project laying around, so I said 'Eh, why not?'


Attachments:
f.png
f.png [ 22.52 KiB | Viewed 1116 times ]
Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Tue May 07, 2019 11:49 am 
Offline

Joined: Sun Apr 21, 2019 7:39 am
Posts: 18
awesomekling wrote:
Octacone wrote:
7 months! Mother of God! How does an individual do something like this in such a short amount of time? You must be really skilled, do you work at Apple or something? :)
Super impressed by your work, this is so next level, you even have your own Visual Studio type app.

Thanks for the kind words! And that's a very good guess actually, I did work at Apple in the past (on WebKit) :)
There are two main reasons I was able to get this system up and running so fast:

  • I rented a remote cabin and spent 6 months there by myself, with nothing else to do.
  • My other hobby project is a reasonably functional x86 PC emulator (also on GitHub), so I knew the ins and outs of a basic PC already. And when something didn't work as expected, I had the comfort of being able to debug it in my own emulator!

The Visual Builder app is coming along nicely, although it can't save or load forms just yet, so it's still very much in the prototype stage.

Here's the famous nyancat program running on Serenity, it was one of the first 3rd party things I got running, fantastic for testing basic terminal functionality:

Image


Your OS looks very cool, and gives a sort of MacOS feel (with the top menu bar). I really like what you made.


Top
 Profile  
 
 Post subject: Re: What does your OS look like? (Screen Shots..)
PostPosted: Sat May 11, 2019 12:18 am 
Offline

Joined: Sat May 11, 2019 12:15 am
Posts: 1
Hi, I am from Indonesia.
This is what my operating system look like:

Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3438 posts ]  Go to page Previous  1 ... 224, 225, 226, 227, 228, 229, 230  Next

All times are UTC - 6 hours


Who is online

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