OSDev.org
https://forum.osdev.org/

What does your OS look like? (Screen Shots..)
https://forum.osdev.org/viewtopic.php?f=1&t=12087
Page 212 of 223

Author:  frednora [ Thu Oct 12, 2017 4:40 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

zesterer wrote:
Octacone wrote:
7th time wow, I can relate to you. :P Looks like some people just love rewriting their OSes over and over.
What is wrong with C++? What problems did you run into? I've recently (~5 months ago) switched to C++ and things are definitely easier to work with and organize.
Nah, don't go micro yet, that is a really big big switch IMHO, lots of specific things to consider.


It wasn't so much that I had a problem with C++: I love the language, and it can be extremely expressive. If you excuse the ridiculous naming conventions of its standard library, it's incredibly powerful too.

The problem I found was that I got bogged down in details. I'd write my own implementation of std::vector. It would work, but then I'd realise a month down the line that there was a bug in it. I'd go back to fix that, and this became a common thing. The more I tried to create abstractions: automatic reference counting, smart data structures, etc. the more time I consumed working on things that weren't core features of the OS. I got myself stuck in a pit where, for about 2 months, I added virtually no new features to my OS, instead spending my time improving and adding needless overhead to my kernel in an effort to produce correct code.

I moved to C, and things are much nicer. Most code is actually shorter, it doesn't do strange things in the background, you mostly don't have to care about constructing static objects, it doesn't mangle function names (putting 'extern "C"' at the beginning of stuff gets boring very quickly), and the syntax is SO simple that it feels more like you're working with the underlying machine rather than the language. Its syntax seems to be designed to just get out of the way, without any distractions like OO, templating, constexpr, lambda functions, global construction, etc.

My conclusion is this: C++ is superb for userland applications. But for my kernel, I'm going to use C for sure.


I think the same thing.
I'm gonna use C and Assembly for kernel stuff, port some small C compiler for user land ... and that is it.
C++ is a nightmare. I simply can't handle that language at this moment.
Maybe in the future.

Author:  mariuszp [ Sat Oct 14, 2017 5:29 am ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

Revamp of my GUI. Some optimisations, and some improvements in graphics. A bunch of new games and applications :)

Image

Author:  MajickTek [ Sun Oct 15, 2017 6:43 am ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

mariuszp wrote:
Revamp of my GUI. Some optimisations, and some improvements in graphics. A bunch of new games and applications :)



I love it! Looks professional.

Author:  Sik [ Sun Oct 15, 2017 12:07 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

frednora wrote:
A simple window.

You probably should start using different colors for the text depending on where it's used (I can barely see the text on the titlebar buttons)

Author:  CHOSTeam [ Sun Oct 22, 2017 9:02 am ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

Finally, my operating system have keyboard support, and a basic shell!

Image

Author:  Seahorse [ Thu Oct 26, 2017 5:00 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

CHOSTeam, your CLI design is lovely.

Gungomanji isn't very bad himself, either.

Author:  CHOSTeam [ Sun Oct 29, 2017 8:20 am ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

It's based in bash, but i used colors from text mode.

Author:  MollenOS [ Mon Oct 30, 2017 9:05 am ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

After months of development i finally got my kernel converted to a hybrid micro-kernel. The system layer (in this case i386) and kernel layer (shared code between architectures) are also seperated. All drivers run as seperate user-land processes, and all communication is performed via IPC. This is my usb-stack enumerating an port that the uhci driver told it about.

Image

Author:  CHOSTeam [ Wed Nov 01, 2017 6:37 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

Now, CHIcago have a basic in-memory file system with working permissions! (Still need to commit this to the repository...)

Image

Author:  Ascended [ Mon Nov 06, 2017 6:36 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

Not much to look at here yet. Just started a few hours ago. Still dusting off the cobwebs and finding my feet again.

Image

Basic bootloader running in CGA mode.

Author:  zaval [ Mon Nov 06, 2017 6:53 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

^ OS Test. very original name for the OS. :D jk.
I guess it's not bad for a few of hours.
And this is my humble achievements in like a few of months. :^/
But hey, I now can read multiple blocks from an SD card! Don't believe the screenshot where it's saying it's a single block read, it's CMD18 - Multiple block read, just didn't change the string. We just have read 8 consecutive sectors.
With this speed of progress, I guess HDMI/LCD stuff will get working after a couple of years. :D Definiteley, we need to accelerate things. :)
Image

Author:  Ascended [ Mon Nov 06, 2017 7:19 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

@zaval Nice!

it has been years since I played with this kind of thing. I stumbled across this site yesterday and the community and wiki info looks awesome. So, I thought I'd give it a crack again. :)

Author:  frednora [ Wed Nov 08, 2017 7:06 am ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

This window shows me some kernel info.

Attachments:
kernel-info.png
kernel-info.png [ 12.15 KiB | Viewed 6063 times ]

Author:  FelixBoop [ Sun Nov 19, 2017 11:59 am ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

Image

Finally got interrupts working after about an hour of head-banging and double faults. It's amazing how deep something looks when really you just wrote "0x0c" instead of "0x0d".

Anyway, now I can remap the PIC and import old keyboard driver code.

Author:  bellezzasolo [ Sun Nov 19, 2017 12:51 pm ]
Post subject:  Re: What does your OS look like? (Screen Shots..)

Just started the latest revamp.
Currently, I only have the most basic VGA driver. It's not worth working on.
I've gone down the Multiboot2 line, and have successful builds for x86 and x64. I have ARM/ARM64 targets, but I need to work out how to load on those architectures...
I now have a module loader, meaning the kernel doesn't need a particularly advanced paging driver, the HAL is responsible for that. In fact, my kernel paging code is all in assembly.
The kernel itself is written in C++. Mainly, I've been focused on parsing the multiboot2 stuff.

Attachments:
File comment: Early boot process
Capture.PNG
Capture.PNG [ 22.69 KiB | Viewed 5552 times ]

Page 212 of 223 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/