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

BenLunt wrote:I guess .jpeg would be next, but this image format is a bit more complicated. :-)

- http://www.fysnet.net/osdesign_book_series.htm
JPEG is less complicated than PNG, I think, just requires a bit of math. I have a little JPEG decoder in ToaruOS.
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 »

klange wrote:
BenLunt wrote:I guess .jpeg would be next, but this image format is a bit more complicated. :-)

- http://www.fysnet.net/osdesign_book_series.htm
JPEG is less complicated than PNG, I think, just requires a bit of math. I have a little JPEG decoder in ToaruOS.
I thought PNG was fairly easy once I got the documentation figured out. I will have another look at JPEG and visit your decoder to see how you do it.

Thanks,
Ben
Antti
Member
Member
Posts: 923
Joined: Thu Jul 05, 2012 5:12 am
Location: Finland

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

Post by Antti »

BenLunt wrote:so I decided to implement .PNG images, which now must include a ZLIB decoder
As a side note, I did not want to use ZLIB in my project so I decided to write my own tools that use Deflate. I don't have the decoder at this point but I have a tool that can produce ZIP files. The encoder is embarrassingly naive but I was very surprised that the compression ratio is not that bad. For example, I packed all the source code files that I have in the project and compared it to a Linux "zip" (with -9 option):

Code: Select all

        My zip:    176 KiB (roughly)
        Linux zip: 146 KiB (roughly)
The other example is all the disk images (~ 12 MiB) I have and the numbers are "185 KiB (my)" and "111 KiB (Linux)". Here the difference is definitely bigger.
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 »

BenLunt wrote:Can you tell I am a TRON fan...
Just-about...! :D I thought you'd ported Armagetron for a moment. Good game! As for me,
I'd say there's at least an 80% chance my OS GUIs will end up with a lot of black surfaces and glowing neon lines. ;)
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
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 »

It has console. It has calculator and clock. But what's most important…
It runs DOOM!
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 »

pvc wrote:It has console. It has calculator and clock. But what's most important…
It runs DOOM!
Another windowing system implemented in-kernel... tsk tsk!

But seriously, congrats on the Doom port!
mariuszp wrote:https://www.youtube.com/watch?v=bOKfypG7MRQ
This video is a year old, got anything new?
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 »

mariuszp wrote:Yes, I tried recording something knew but VirtualBox refused to let me. I'll try again later.
My suggestion is to use OBS to screen-cap VirtualBox or QEMU - that's how I do all my videos these days. I found VirtualBox's integrated video recording to have weird stutter issues.
User avatar
frednora
Posts: 18
Joined: Fri Sep 01, 2017 6:53 pm
Location: Londrina - Paraná | Brazil
Contact:

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

Post by frednora »

Attachments
label-centralized.png
label-centralized.png (7.7 KiB) Viewed 6274 times
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 »

"I ain't afraid of no quake".

Image
Duuqnd
Posts: 1
Joined: Fri Jan 11, 2019 10:00 am

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

Post by Duuqnd »

pvc wrote:"I ain't afraid of no quake".
Wait, you got Quake to run?! If the Github page is accurate, you started in September last year. I'd say that this is really impressive, if that's the case.
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 »

:D I've ported SDL 1.2 (video, events, threads and partially timers and audio). Since quite a lot of games use SDL, porting them requires just some minor tweaks.
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 »

pvc wrote::D I've ported SDL 1.2 (video, events, threads and partially timers and audio). Since quite a lot of games use SDL, porting them requires just some minor tweaks.
Your next step should be to port Bochs, so you can run your OS in your OS.
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 »

Haha… What have you done?! OSception? Good job!
That would be funny if I could do that as well. But not happening right now. I still have some issues with writing on ext2 (which is the only writeable filesystem on my OS for now).
And I thought about actually trying DOSBox. But first BusyBox, YASM and GCC (binutils are already done).
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 »

mariuszp wrote:What is OBS? Are you referring to "OBS studio"? Trying to find it, but can't.
Yes. It’s typically just OBS in conversation, there’s nothing really special about Studio over the previous version. It’s the gold standard in desktop recording and streaming these days.
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 »

After taking a 5 month break I decided to pick quack back up. I have started moving it to a microkernel architecture, and so far I've got:
  • New and improved scheduling and task management code
  • A simple exec server that can start new programs from ELF files passed to it via an IPC message
  • A way for processes to handle device interrupts(process sleeps until the interrupt arrives, kernel wakes the process up)
  • A test program that handles PS/2 keyboard interrupts and simply prints characters to the screen
  • Other stuff too small to mention individually
Anyway, here's an image of what I have going on right now:
Image

In this picture the "hello world, this is quack" text was typed in via the PS/2 keyboard, and the one lone character at the bottom is the least significant byte of the global system tick counter, which processes can nicely ask the kernel to map into their address space as read-only. All I really need to do now is to actually focus on the userspace side of the OS, since the kernel has almost everything I need(apart from waiting for multiple kinds of events, like waiting for either an IPC message or an IRQ).
Working on managarm.
Post Reply