This general is for operating systems development, if you have a question, want to share a resource or want to show us something you made, feel free to do so here.>The OS wikihttps://osdev.wiki/wiki/Expanded_Main_Page>Operating systems bookshttps://pages.cs.wisc.edu/~remzi/OSModern Operating Systems by Andrew TanenbaumOperating System Concepts by Abraham Silberschatz and James Peterson (The dinosaur book)>Computer architecture booksComputer Architecture: A Quantitative Approach by John L. Hennessy, and David A. PattersonStructured Computer Organization by Andrew S. Tanenbaum, and Todd AustinAdvanced Computer architecture by Kai Hwang>AssemblyProgramming from the Ground Up>x86 and amd64 instructionshttps://www.felixcloutier.com/x86/>RISC-V assemblyhttps://www.robertwinkler.com/proje>CThe C programming language by K&RC programming a modern approach by K.N. Kinghttps://beej.us/guide/bgc/>Open source operating systems’ source codesLinuxhttps://git.kernel.org/FreeBSDhttps://cgit.freebsd.org/ReactOShttps://git.reactos.org/Plan9(discontinued)https://9p.io/sources/plan9/9front (plan9 fork actively maintained)https://git.9front.org/plan9front/9front/HEAD/info.htmlHaikuhttps://github.com/haiku/haikuMinixhttps://git.minix3.org/index.cgi?p=xv6https://github.com/mit-pdos/xv6-pubFreeRTOShttps://github.com/FreeRTOS/FreeRTOZephyrhttps://github.com/zephyrproject-rt
>>109851974Thank you for including embedded. I will not report this thread or call you a bigot.
>>109851981appreciate it anon (im still a bigot tho)
Something about writing assembly scratches an itch in my brain even though its very tedious and doesn’t require much thinking…when im not writing it i always think its a waste of time and not worth the energy but once i get forced to read or write it, it gives me a huge ego boost like a girl playing hard to get until she gives you some head and you’re like “damn girl you know how to get down” lol.Anyways I haven’t actually write anything (((useful))) or advanced in it, the only cool thing i ever did was an insertion sort on a double array based on the y-value and it was so fun, i tried in the past not to get so deep into it because it can always be done in C and better…just wanted to say this because im reading on RISC-V and want to get used and start off clean with it
I haven't looked into alternative OSes in a couple years is there anything new worth looking at?
Wrong freertos link you fucking useless buffoon
NetBSD could be installed on a VAX, a machine straight from the 80s. Could you do the same with Linux or any other UNIX/UNIX-like OS?https://www.youtube.com/watch?v=6Ys7vwsF3pc
>>109852793Just add “S” at the end
>>109851974
>>109854381>ForchDid you make this browser too?
>>109854387It's not a browser but a 4chan client, but yes, everything is custom made except some major libraries in crypto, because my crypto skills are not as good as my osdev skills (BearSSL for TLS, Monocypher for encryption, sha3_shake for more encryption, stb_image and stb_ttf for parsing a bunch of image formats and fonts). Everything else is 100% custom.Cpu-Y, my clone of CPU-Z, and also I love it when you get the TCP options so good that your own network scanner (and nmap, and p0f) identify your own OS as Linux.
Give me a modern microkernel/hybrid OS that uses capability-based security fully/extensively.
>>109854512Fine, will you write userspace for it?
>>109854407do you have a git repo? i really want to try it out if you don't mind
>>109854665I haven't released anything yet, not sure I want to, the whole idea behind it when i started, like 100 years ago was this: open hardware, open software, and i'm currently using my OS on a platform which has an Atom CPU with no Intel ME, no binary blobs, no speculative execution, no binary blobs for other devices (this specific Atheros WiFi mini pcie card doesn't need a firmware upload to powerup), so this OS runs on pretty specific hardware: ~2008-2010 era Atom netbooks, ~1GB RAM, x86, uhci/ehci/xhci (no ohci), etc. Point being, unless you have one of those devices, in my case a Sony Vaio P netbook, but i"ve heard Nokia Booklet 3g fits just fine, I just wasn't able to get my hands on one, the OS only runs in QEMU.I might release it someday, once I finish the filesystem encryption, and at that level it will be a self-suficient and self-hosting OS on a open-ish platform. Pretty fun.
>>109854522I'm asking to name one, if one exists. You can drop the microkernel/hybrid requirement, just being modern and using capability-based security fully/extensively is enough
>>109854765Sculpt OS? seL4?
A journey of a thousand miles begins with a single step
If we had more Dave Cutlers in newer generations, the world would look better today.
>>109855268>obsessed with UNIX award
>>109855268don't like unix? don't post here, nigger. this site runs on freebsd. fight unix menace by not using, you stupid piece of shit
>>109855365>>109855454>instantly assumes I was talking about UNIXI thought this was a thread about operating system architectures? If we had more Cutlers, as in talented software engineers that know how to design and write good software, the world would be a better place.Then again, UNIXfags suffer from a terminal siege mentality despite their concept running the world including this site. ¯\_(ツ)_/¯
fake quote. fake AI generated slop. a bright future awaits you retards (not), hehehe
>>109857258>tripfag
>>109854375Just make a decent thread MOTHERFUCKERS
>>109857286That's not a tripfag, newfaggotretardnigger...
>>109851974Extremely based OP.
>>109857258Your parent must be proud of you, mutt. Next time you open you mouth, better be sitting on your knees.
Just found thishttps://github.com/dreamportdev/Osdev-Notes
>>109857598>https://github.com/dreamportdev/Osdev-NotesNice, that's very useful for beginners.
>>109851974Where's oberon?
>>109857633In the history books? Beautiful concept by one of the greatest programmers and system architects who ever graced Earth with his presence. Never sold his soul, like Rob Pike and the rest of the faggots.
>>109857598neat, thank you
Anyone care to make a rizon or libera channel where we can take, share code and ideas? The original #osdev is too gay.
>>109857981I second this, this general is too dead and incompatible with nu/g/
why do people insist on risc v aside from the 'free' part it will never be mass adopted and will mostly end up in virtualization purgatory
>>109857981I'll be in #osdevers on Libera. Feel free to join for discussions.
>>109858679it already is mass adopted. Are you stupid? There are risc-v devices all around you
>>109857657the greatest programmer in the world was actually a glowiehttps://www.youtube.com/watch?v=si9iqF5uTFk
>>109851974My main complaint about homebrewed OSs is that they're just POSIX over and over again.Indeed, I suspect most of them are just copypasta from Minix, and then whatever jeet troon slaps "MyOS" on the side.
>>109855365>>109855454Wow, your unmedicated schizo projection was instant, wasn't it?
>>109858679RISC-V pretty much already dominates the microcontroller space.
>>109861421lollamoThe entire universe is ruled by ESP32 at the 1-cent-per-unit-in-deliveries-of-a-million, slightly above that is MIPS, and everything else is ARM (if it runs on batteries) or x86 (if it doesn't).
>>109861378That's why OP posted Dave Cutler. He was one of the few devs that despised POSIX and everything it represents. He knew damn well a monopoly of UNIX-like/POSIX systems wouldn't be a good thing in the long run.
>>109861445>he doesn't know the new ESP32s are just rebranded RISC-V cores
>>109861459Since what, 2025?What about the literally billions of Xtensa cores that will still be in service long after you throw yourself over the suicide net?
>>109861488Well, those will still work, that's fucking obvious. But those don't count for new sales, thing that we are talking here.
>>109855559>lousy dodge, still got hit>>109861392>angry cope, still got hitlmao
And for the curious people, here is a full boot of my OS on real hardware, so you can understand the amount of hardware drivers involved for a single machine.https://files.catbox.moe/747czp.txtinb4> i got your BT and dongle MACAnd whacha gonna do 'bout it?
>>109861421No. Arm cortex m/r has that honor.
>>109861445Brother, there are multiple manufacturers now that put risc-v inside literally everything. CH32V003 is a thing now, ignorant faggot
>>109861445>>109863674PS: Also with RVA23 risc-v will soon get popular in servers and maybe one day slowly go into desktops, but that might be still a long way to go