Page 225 of 262

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

Posted: Fri Jan 18, 2019 3:23 pm
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.

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

Posted: Fri Jan 18, 2019 4:51 pm
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

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

Posted: Sun Jan 20, 2019 12:28 am
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.

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

Posted: Sun Jan 27, 2019 1:43 pm
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. ;)

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

Posted: Sat Feb 02, 2019 8:08 am
by pvc
It has console. It has calculator and clock. But what's most important…
It runs DOOM!
Image

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

Posted: Sat Feb 02, 2019 5:33 pm
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?

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

Posted: Sun Feb 03, 2019 7:08 pm
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.

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

Posted: Mon Feb 04, 2019 3:36 pm
by frednora

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

Posted: Tue Feb 05, 2019 3:29 pm
by pvc
"I ain't afraid of no quake".

Image

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

Posted: Wed Feb 06, 2019 4:30 am
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.

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

Posted: Wed Feb 06, 2019 7:36 am
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.

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

Posted: Wed Feb 06, 2019 5:26 pm
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.

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

Posted: Thu Feb 07, 2019 3:44 am
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).

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

Posted: Sat Feb 09, 2019 6:10 pm
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.

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

Posted: Tue Feb 12, 2019 2:22 pm
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).