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
BenLunt
Member
Member
Posts: 935
Joined: Sat Nov 22, 2014 6:33 pm
Location: USA
Contact:

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

Post by BenLunt »

Well I have had a little time to work on my stuff, so I thought I would work on my USB camera/video code. I've got it working, but just. I need to work with my task scheduler to give that particular task more time. If I don't, there is a slight pause due to the fact that the EHCI controller's frame pointer moves ahead of my frame pointer during a task switch.

Anyway, here is a screen shot.

Image

Of course I had to take a picture of it since no emulator (that I know of) emulates a video camera. (I guess VirtualBox would, if I plug a physical camera device into the host, it will emulate it through the guest.)

Anyway, the above is a picture of the top left corner of my test machine.

For a little more detail, see http://www.fysnet.net/blog/2018/02/

Edit: Just an update: I now have a better yuy2 to rgb converter as well as larger resolutions working, though see my blog post (URL above) for the reason for the line under my nose. No it isn't a weird piercing :-)

Image

Ben
Last edited by BenLunt on Sun Feb 11, 2018 4:46 pm, edited 1 time in total.
User avatar
zesterer
Member
Member
Posts: 59
Joined: Mon Feb 22, 2016 4:40 am
Libera.chat IRC: zesterer
Location: United Kingdom
Contact:

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

Post by zesterer »

BenLunt wrote:Well I have had a little time to work on my stuff, so I thought I would work on my USB camera/video code.
That is seriously impressive. Congratulations on getting that working.
Current developing Tupai, a monolithic x86 operating system
http://zesterer.homenet.org/projects.shtml
Korona
Member
Member
Posts: 999
Joined: Thu May 17, 2007 1:27 pm
Contact:

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

Post by Korona »

This is using isochronous transfers, right? I never implemented them as I have no hardware to test them. Did you encounter any unexpected difficulties with isochronous transfers? Is the documentation on USB cameras good? Do most USB webcams support a generic protocol or do they only understand vendor-specific stuff?
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].
User avatar
BenLunt
Member
Member
Posts: 935
Joined: Sat Nov 22, 2014 6:33 pm
Location: USA
Contact:

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

Post by BenLunt »

First, zesterer, thank you for the comment. It was quite enjoyable to see the first time I got a streaming image to display.

Second, yes I am using ISO transfers. There is a Video Class that any compliant camera should follow. However, for a newbie, there are a lot of things that seem to be wrong. For example, a USB camera may have 15 to 20 interfaces.

Most cameras will use Associate Interface Descriptors to divide out the audio part, so you must understand this part of the class. Then a camera will have two main interfaces, the Control Interface and the Streaming Interface. Then the Streaming Interface will have one or more (could be 20) alternate interfaces.

The biggest issue I have had so far is the timing issue. You have to be in sync with the camera or you will get half images, lines throughout the image, etc.

The current issue of my book explains all of this a little, just enough to get your feet wet. However, I am currently working on the next edition, and one of the additions is a lot more information on ISO transfers, using the camera as an example, in turn giving a lot more information on USB cameras as well.

However, if you have any questions, feel free to post on this forum, preferably creating a new thread. I will do my best to answer them.

Thanks,
Ben
User avatar
BenLunt
Member
Member
Posts: 935
Joined: Sat Nov 22, 2014 6:33 pm
Location: USA
Contact:

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

Post by BenLunt »

We have full screen video!!!!!

Image

Now for the documentation. It might be just as time consuming as it was to get full screen video :-)

Ben
- http://www.fysnet.net/blog/2018/02/
User avatar
bauen1
Member
Member
Posts: 29
Joined: Sun Dec 11, 2016 3:31 am
Libera.chat IRC: bauen1
Location: In your computer
Contact:

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

Post by bauen1 »

I think I can post here again, I'm currently working on myunix2 (rewrite of myunix, which is a rewrite of brainOS).
syscalls are finally working, but my kernel lacks a malloc implementation and a lot of other important things.
The kernel can be compiled (and linked !) using only tcc and nasm.
If I rewrote the multiboot entry code it should be possible to compile the complete kernel using only tcc.
TCC
Attachments
Screenshot_2018-02-14_16-48-25.png
myunix (version 3) (name suggestions are welcome!)
GPG Key fingerprint: 5ED6 D826 ACD4 3F8E D9D4 FBB2 FF0A AF5E 0812 BA9C
User avatar
BrightLight
Member
Member
Posts: 901
Joined: Sat Dec 27, 2014 9:11 am
Location: Maadi, Cairo, Egypt
Contact:

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

Post by BrightLight »

I thought maybe I'd show my new project in its early stages, which aims to have basic compatibility with Unix, just enough to port applications.
So far, it supports multiprocessing, I/O APIC and is both i386 and x86_64. My long term goals include graphics, USB and networking.

Image
You know your OS is advanced when you stop using the Intel programming guide as a reference.
Korona
Member
Member
Posts: 999
Joined: Thu May 17, 2007 1:27 pm
Contact:

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

Post by Korona »

Managarm running the Wayland reference compositor, Weston.

Image

(If you ever tried Weston on Linux, you might notice that there should be a clock on the top-right. I did not compile freetype and fontconfig yet, so it is not there.)

Unfortunately, udevd does not work yet, which prevents input devices from working. However, compared to getting Weston to run, that should be simple.
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].
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 »

If you're familiar with my OS, you may know that it makes use of a lot of third-party libraries like newlib, Cairo, and freetype. I started a new project to build a version of my OS with all in-house components.

Image

Still a lot to do, including some important C library functions, but my terminal emulator and compositor are running (the compositor is a bit slow without Cairo, though).

Progress can be tracked here.
FlatChicken
Posts: 2
Joined: Wed Aug 24, 2016 12:30 pm

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

Post by FlatChicken »

It's alive! All the subsystems are hilariously naïve. But it runs, it has system calls including Exec() and Wait(). The boot loader and second stage were hand written assembly in VS Code, the kernel is CPP-as-a-better-C in Visual Studio 2017, PE images. Single user, single processor, single thread even, but protected memory and pre-emptive multitasking.

Just wondering what to do with it next.
Attachments
OS ScreenShot.png
User avatar
pvc
Member
Member
Posts: 201
Joined: Mon Jan 15, 2018 2:27 pm

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

Post by pvc »

Here is pretty old screenshot of my Windows 95 inspired GUI (whith a little Weegee game :shock:). But don't be fooled. Under the hood is 64bit multiprocessor kernel. But unfortunately I've hit a brick wall with it's internals and as for now it's dead.
Image
MrLolthe1st
Member
Member
Posts: 90
Joined: Sat Sep 24, 2016 12:06 am

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

Post by MrLolthe1st »

So, first 3
1.png
1.png (11.21 KiB) Viewed 7754 times
2.png
3.png
MrLolthe1st
Member
Member
Posts: 90
Joined: Sat Sep 24, 2016 12:06 am

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

Post by MrLolthe1st »

Image
Image
Image
Image
Image
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 »

In my quest to build a completely in-house distribution of ToaruOS, I've hacked together an El Torito boot loader:

Image

Fully capable of booting my kernel, with modules and ramdisk:

Image
xenos1
Posts: 7
Joined: Thu Dec 14, 2017 5:08 pm

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

Post by xenos1 »

My OS """""running""""" some stuff.
Attachments
Screenshot_2018-02-27_18-28-23.png
Screenshot_2018-02-27_18-28-23.png (3.46 KiB) Viewed 7522 times
Screenshot_2018-02-20_03-05-57.png
Screenshot_2018-02-20_03-05-57.png (4.59 KiB) Viewed 7522 times
Screenshot_2018-02-28_09-52-17.png
Screenshot_2018-02-28_09-52-17.png (3.63 KiB) Viewed 7522 times
Post Reply