Nice to see that beast finally working. After all those questions. Does it support any kind of synchronization or message passing or resource sharing?

Yes, I've a very basic mutex implementation. I've implemented async message passing also but it is not *very* stable and it is very very ugly. I'm working on signals now, but it is kind of hard though.

Author:

zesterer [ Mon Aug 21, 2017 4:52 pm ]

Post subject:

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

I've totally rewritten my kernel with a far more portable / stable codebase. I've not yet escaped kernel-mode, but I do at least have fake "processes" and "threads" that, aside from being in kernel-mode, operate like the real thing.

Here I am cat-ing a file sitting in my initrd and requesting the system time.

Once upon a time i found this old motherboard on a "old used crap" sale.It was some sort of a self-contained thin client - some weird Via x86 CPU, Via Rhine network card, 32 Mb of RAM.And a Disk-on-Chip by M-systems.

That DoC is only 32Mb, and is one of the earliest SSDs.I long wondered what was on it, and recently decided to figure out what would it take to find out.

The chip was fairly well documented, so writing a driver for it was straightforward.Getting the data out was a good excuse to finally make a network stack.

The network card is supported by Linux, so i cheated by peeking at it while i wrote a driver for Aprom.The network stack itself took some time.After i got a ping working, some time was wasted hunting old architectural bugs and rewriting a bunch of architectural stuff elsewhere.And finally, after a few false starts i managed to dump the content of the DoC and send it over UDP via a real network card with real driver to another PC.

Sure, i could have just dug up an old Linux distro, slap a DoC patch on it, dump from there, and be done in an hour rather than a few weeks, but what's the fun in that?

And this is how i used my Aprom OS for a real purpose for the first time.

Author:

Agola [ Thu Aug 31, 2017 5:34 pm ]

Post subject:

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

I'm porting Agola to 64-bit, after two hours of work, I've finally entered long mode. I will be able to load my kernel fully after building a 64-bit IDT and rewriting the paging code for 64-bit. Seperating arch specific things and common things in Makefile design before helped me a lot.

Author:

zesterer [ Fri Sep 01, 2017 2:44 am ]

Post subject:

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

Agola wrote:

I'm porting Agola to 64-bit, after two hours of work, I've finally entered long mode. I will be able to load my kernel fully after building a 64-bit IDT and rewriting the paging code for 64-bit. Seperating arch specific things and common things in Makefile design before helped me a lot.

Make sure you get get higher-half mapping working asap. It'll save you a lot of bother further down the road

Author:

Octacone [ Fri Sep 01, 2017 8:21 am ]

Post subject:

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

Here is something that took ages to synchronize and in the end had to be rewritten.It was definitely worth an entire morning of work.