med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

343
active users

#osdev

0 posts0 participants0 posts today

🦾 Writing an operating system kernel from scratch / Uros Popovic

「 I implemented this exercise in Zig, rather than traditional C. In addition to being an interesting experiment, I believe Zig makes this experiment much more easily reproducible on your machine, as it’s very easy to set up and does not require any installation (which could otherwise be slightly messy when cross-compiling to RISC-V) 」

popovicu.com/posts/writing-an-

popovicu.comWriting an operating system kernel from scratchExploring a minimal implementation of a time-sharing kernel on RISC-V, implemented in Zig, on top of OpenSBI.

Hivemind, gūdžiais ikifeisbukiniais laikais, prieš kokius ~20 metų, lietuviškame IRC buvo toks kanalas #osdev, kur rinkosi žmonės besidomintys (pagrinde mėgėjišku) operacinių sistemų programavimu. Kur dabar žmonės renkasi paplepėti tokiom temom?

Everyone has seen the #Microsoft headquarters, the #Apple headquarters, even the #Linux headquarters, but have you seen the #Arikoto headquarters?

Look up from your phone, watch, PC, whatever you’re reading this on.

Yep, over there. That’s the Arikoto headquarters. Over there too. I work on Arikoto, wherever I want, whenever I want. The universe is my headquarters.

Check it out on #Codeberg:
codeberg.org/NerdNextDoor/arik

Codeberg.orgarikotoArikoto is a personal OS project that is inspired by and is aiming to have a similar nature to ToaruOS.

On a forum I frequent for hobby operating system developers, somebody has posted code that doesn't work (nothing unusual there, most code posted on the forum doesn't work). However, this code was written with generative AI.

WHY?!?!

Writing a hobby operating system is by definition something you do for fun. Why on earth would you skip the actual bit where you do the hobby?!

If you are using #DTrace on #FreeBSD, then I've got good news for you.

I've added a new manual to FreeBSD. It's called d(7) and it is a short reference of the #D scripting language. Currently, it covers only a subset of all variables and functions, but we'll add more iteratively.

Here are some previews for you:

HTML: people.freebsd.org/~0mp/d.7.ht

MDOC (view with man(1)): people.freebsd.org/~0mp/d.7

Have fun tracing your systems!

people.freebsd.orgD(7)
#osdev#tracing#foss

I've just committed a new manual page to #FreeBSD: tracing(7), an introduction to #tracing and #performance #monitoring facilities.

It'll take a moment before it is available for readers on man.freebsd.org, so for the time being you can grab a copy from here (cgit.freebsd.org/src/plain/sha) and open it with man(1).

cgit.freebsd.orgMaking sure you're not a bot!
Replied in thread

Today:
- fixed Recent QR Stickers persistence (keeps 10-most recent within the last 2-weeks. Maybe that's too short but it's easy to adjust later.)
- added referral_source attribution for donations 🤑
- fixed camera/photo-library usage description
- added Recent QR Stickers UI

Look how cute this is!! Now available in TestFlight beta v1.4.1 (41)

Continued thread

So I'm thinking about #Asterinas which is a kernel written in #Rust and has #Linux compatible ABI. Having Linux compatibility is a great deal as you get most of the support for Linux for free.

I've messaged on their Zulip asking if Milk V Duo could be a good option for porting. I wonder if they've got an active and vibrant community. I haven't received a reply yet.

There is also #Redox but I don't like licensing my code under MIT. And it's an entire OS and not just a kernel.

If you know a community about OS/kernel development and bare metal development as well, I would appreciate an invite.

#os#osdev#milkv

Getting tired of dealing with code generation issues w/C compilers in my #osdev project, so I've started working on a fresh implementation of the C code in x86-64 assembly.

I've gotten this to the point where it starts up, switches to protected mode, then to long mode, and can read keyboard input and display some things to the text screen. I'll start rewriting the actual display driver tomorrow, then the ATA driver so I can get it to load the konilo rom & blocks. At that point, I'll hopefully be able to reuse the existing unix ilo-amd64 assembly vm code to run a full Konilo system.