What does your OS look like? (Screen Shots..)
Re: What does your OS look like? (Screen Shots..)
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.
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 :-)
Ben
Anyway, here is a screen shot.
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 :-)
Ben
Last edited by BenLunt on Sun Feb 11, 2018 4:46 pm, edited 1 time in total.
- zesterer
- 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..)
That is seriously impressive. Congratulations on getting that working.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.
Current developing Tupai, a monolithic x86 operating system
http://zesterer.homenet.org/projects.shtml
http://zesterer.homenet.org/projects.shtml
Re: What does your OS look like? (Screen Shots..)
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].
Re: What does your OS look like? (Screen Shots..)
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
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
Re: What does your OS look like? (Screen Shots..)
We have full screen video!!!!!
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/
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/
- bauen1
- 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..)
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
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
myunix (version 3) (name suggestions are welcome!)
GPG Key fingerprint: 5ED6 D826 ACD4 3F8E D9D4 FBB2 FF0A AF5E 0812 BA9C
GPG Key fingerprint: 5ED6 D826 ACD4 3F8E D9D4 FBB2 FF0A AF5E 0812 BA9C
- BrightLight
- 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..)
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.
So far, it supports multiprocessing, I/O APIC and is both i386 and x86_64. My long term goals include graphics, USB and networking.
You know your OS is advanced when you stop using the Intel programming guide as a reference.
Re: What does your OS look like? (Screen Shots..)
Managarm running the Wayland reference compositor, Weston.
(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.
(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].
Re: What does your OS look like? (Screen Shots..)
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.
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.
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.
-
- Posts: 2
- Joined: Wed Aug 24, 2016 12:30 pm
Re: What does your OS look like? (Screen Shots..)
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.
Just wondering what to do with it next.
Re: What does your OS look like? (Screen Shots..)
Here is pretty old screenshot of my Windows 95 inspired GUI (whith a little Weegee game ). 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.
-
- Member
- Posts: 90
- Joined: Sat Sep 24, 2016 12:06 am
-
- Member
- Posts: 90
- Joined: Sat Sep 24, 2016 12:06 am
Re: What does your OS look like? (Screen Shots..)
In my quest to build a completely in-house distribution of ToaruOS, I've hacked together an El Torito boot loader:
Fully capable of booting my kernel, with modules and ramdisk:
Fully capable of booting my kernel, with modules and ramdisk:
Re: What does your OS look like? (Screen Shots..)
My OS """""running""""" some stuff.
- Attachments
-
- Screenshot_2018-02-27_18-28-23.png (3.46 KiB) Viewed 9293 times
-
- Screenshot_2018-02-20_03-05-57.png (4.59 KiB) Viewed 9293 times
-
- Screenshot_2018-02-28_09-52-17.png (3.63 KiB) Viewed 9293 times