Better HN
topnewbestaskshowjobs
Log inSign up

ozkl

120 karma · joined Sep 7, 2019 (7y ago) · 13 submissions

https://github.com/ozkl/soso
Submissions

1.

Show HN: A kernel written in Rust that can boot Ubuntu with Plasma desktop(github.com ↗)

2 points · by ozkl · 3w ago · discuss

comment 3y ago · link · parent

Dev here. When I was trying to port doom to my OS soso, I tried to keep it generic and doomgeneric was born!

comment 3y ago · link · parent

Hey! I realized your PR months later and wanted to merge but it could not. So I add your project as a remote and cherrypicked that commit just to include your commit in the history! Thank you!

comment 3y ago · link · parent

Dev here! I've just realized that you shared this. Thanks for sharing doomgeneric!

comment 7y ago · link · parent

Nice job. It looks so impressive. I wish we could download an OS image to try it in a VM without having to build.

comment 7y ago · link · parent

I chose x86 because I wanted to try the os in my ancient PCs like a Celeron 333MHz. And articles I was reading at the start was for 32bit.

comment 7y ago · link · parent

Yeah, and Lua is also great at dependencies. It doesn't depend anything :)

comment 7y ago · link · parent

By using 4Mb pages, we can skip one step which is page tables.

In other words, Page Directory points directly to a 4Mb Page Frame. In 4Kb mechanism, Page Directory points to a Page Table which then points to a 4Kb Page Frame.

comment 7y ago · link · parent

Thanks! Yeah it is my favorite editor and the os is entirely written in it :) In fact, doomgeneric is created just for Soso in order to port easily.

comment 7y ago · link · parent

Thanks! In fact, I prefer camel case for functions. You must be saying this for HashTable and List functions. I came from C++ world (where i name classes Pascal case and functions camel case). I wanted to group HashTable functions together like a class and named them that way. Yeah, it ended up being inconsistent unfortunately. I named structs in PascalCase.

comment 7y ago · link · parent

Thanks! I was going to go similar path you mentioned. Not 16-bit but in a way that is exe-like binaries and development with Visual Studio.

But it seemed to me that it is easier to support ELF binaries. And OSDev has great articles about elf files, binutils, cross-compilers, etc..

comment 7y ago · link · parent

Thanks. I think it would take 8 months night works. But it took longer because of breaks. I was always interested in low-level stuff especially about syscalls (how they jump to kernel from userspace). So, I was familiar with syscall internals and memory protection. But I learnt all including how paging is done in x86 when I was writing Soso thanks to OSDev.

13.

Show HN: A simple Unix-like operating system that runs Doom(github.com ↗)

233 points · by ozkl · 7y ago · 42 comments