▲ 0 r/lowlevel+1 crossposts

Testing the nexsOS UI (NOTE: Use of ai in source code)

Warning: This project was built using AI, mostly with free plans, but also with the support of Claude Code. It's not the nature of my post to pretend I created anything here; I was really just the supervisor. That said, the huge nature (at least from my point of view) of this project, and my limited financial resources have forced me to constantly think and learn, and continue to do so, so I consider myself at a lower level in terms of coding skills than most of the people who are part of this community, and I love seeing how each of us makes mistakes and tries to patch them.

Nexsos is therefore a project born to allow me to learn in an interactive and gradual way what all the aspects of a computer are, and to allow me to do so in an informal way, and with gradual discovery. Nexsos is not intended to be a product or a boast, it is in all respects a Frankenstein born to test how much human ignorance and curiosity mixed with the algorithmic knowledge of an LLM can give life to something that works.

On the technical side, the purpose of NexsOS1 is simple: to separate the kernel from the userspace to allow me to learn the C language on my API without blowing everyone up, and at the same time to make my C library simple and readable in a single file. The graphics protocol had to be designed in the same way. The easy choices would have been two: to provide a basic environment for GNU Utilis and compile an X server/Wayland, or to rewrite the graphical interface from scratch. I stupidly chose the second one and with all the problems that come with it, for example, for now the compositor is in the kernel and shadows without hardware vector accelerators make the framerate explode. The good thing, however, is that the rendering of the applications is done in userland, so having SMP support makes graphical applications easier.

That said, why this video? At some point in our journey, we should ask ourselves how useful we really are to others. I have always seen AI as a very powerful tool, but perhaps we tend to forget what it means for us, I do not have the actual skills to build a functional and working system on two architectures with multitasking and a working SMP, but if I do not have the actual skills to do this and I can do it, what can these tools do in the hands of large companies that do not want to share the code? Even if I call myself ignorant, perhaps I am ignorant about coding, here we all know how the GNU project and the GPL project were born, I do not know what the members of this thread think about it and I do not even know if it is the right thread, after all, guys, we also know how these LLMs were trained on the effort of all software developers, is it right to privatize public knowledge? As far as I am concerned, the only thing I could really do is exploit the knowledge of AI itself to put together and build something free, so I do not know how you want to define NexsOS, I do not care, the important thing for me is that it is free and that anyone can in turn steal code from within it.

NOTE: If anyone would like to look at the code and has any questions about missing references or licenses, I'd be happy to update the published code. Any criticism is welcome.

NOTE2: lua still doesn't pass all the tests, even though the IDE works and also the job controls of my shell seem ok (I didn't show them in this video), the exec daemon is ok, but I'm having problems with the initialization of the venv for pid.

NexsOS1

u/shsh-1312 — 1 day ago
▲ 7 r/LFS

differences between linux from scratch and linux from nothing

Quali sono le vere differenze tra la guida Linux from Scratch e la guida Linux from Nothing? A parte il fatto che Linux from Scratch sembra più adatta a un'installazione che parta da un ambiente Linux, Linux from Nothing sembra quasi più simile a come era per lo stesso Torvald assemblare un sistema Linux (Torvald non aveva a disposizione Linux), inoltre l'ho trovata più facile oltre a compilare tutti i binari, incluso il kernel, da zero. Qual è la differenza tra le due guide e perché dovremmo seguire una piuttosto che l'altra? Linux from Scratch è un ottimo libro, ma si ferma molte volte a spiegare cose che sono essenzialmente inutili durante la fase di costruzione e almeno per me che non sono un madrelingua inglese è molto più faticoso e molto meno comprensibile; tuttavia sono riuscito ad avviare il mio sistema creato da zero con un kernel compilato da me! Ora sono felice! ps: I just loved the initial phase of creating the vfs, done in a simple way

reddit.com
u/shsh-1312 — 2 days ago

Cosmic and flathub, a perfect Ubuntu environment

After installing the Ubuntu 26 T2 ISO (which in my opinion is a great system) on my MacBook Pro I decided to install Cosmic while keeping GDM3 as my display manager, and I installed Flatpak and Flathub which have become my “store”. Cosmic is really underrated, it's the Pop_OS environment! (I think it's my favorite Linux system) but on Ubuntu
it works like a charm, Gnome seems so boring…

I also set zsh as my default shell. I kept gnome terminal because it's better than cosmic. I actually kept some apps from one environment and some from the other. I didn't remove gnome entirely because I want it to continue managing my video drivers. I don't know if they could break. Does anyone have any suggestions for a good audio driver? The quality is embarrassing compared to macOS.

EDIT1 that with Chrome open in the background and the Cosmic Store you only use 2.3GB of RAM, this is ridiculous.

EDIT2 I noticed that when I try to open a video in full screen on Chrome after a second it exits the full screen, I have not noticed any strange behavior on games and in fact I found an Issue opened 4 days ago just about this Cosmic Compositor error with chromium, so I think they will update it soon

EDIT3

A grub update had inserted duplicate files that skipped the bootloader and went directly to grub. I deleted those files from the recovery and now they both work. To be safe, you can disable write access to the bootloader partition within Linux. Note that if you want to update grub, it must regain access:

sudo nano /etc/fstab

Finds ‘/dev/disk/by-uuid/5F66-17ED /boot/efi vfat defaults 0 1’
Edit in ‘/dev/disk/by-uuid/5F66-17ED /boot/efi vfat ro,defaults 0 1’

If you find yourself in my situation from MacOS recovery:

rm -rf /Volumes/EFI/EFI/BOOT

u/shsh-1312 — 8 days ago

Installing Ubuntu on Mac without a USB stick

I partitioned the disk in FAT 32, copied the contents of the Ubuntu T2 ISO into it and boom! The Linux installer booted without the need for a USB stick. Can anyone help me with partitioning?

EDIT: It worked! I simply used nvme0n1p1 without altering the partition with the “/boot/efi” patch and envme0n1p4 with the “/“ patch for the Linux disk. Just a quick note: pay attention to the links and make sure the ISO is copied completely.

Remember to disable the t2 bootloader security checks from the recovery menu, otherwise linux will not boot, MAKE SURE you do not corrupt or format your mac boot partition or your macos partition.

the bootloader menu may use linux as default, in which case use cntrl at startup and then from the macOS terminal type:
“sudo nvram manufacturing-enter-picker=true”

u/shsh-1312 — 9 days ago

motore inverso del codice del motore di gioco Montecristo: signore medievale costruisci difendi espandi

I used to play this game as a kid, and as cool as it is, I can find very little information about it. There are no patches and the game requires manual changes to the Windows 7 file system to run. The latest versions of Win 7, at least on my Intel Mac OS, can open it. So I cleverly (damn me) thought of re-engineering the entire code. The result: 20,000 functions that I'm now cataloging one by one. I'm separating all the Win32 and Direct3D9 calls and using shinny layers on the Ghidra-obfuscated code to map it to the Posix/OpenGL/SDL3 syscalls that my Mac has at its disposal. I also created a buddy allocator to handle the lossless conversion of the 32-bit registers without going through Wine. Naturally, I'm using the original copy as a base (from here, get assets and code). My question is this: Montecristo went bankrupt in 2010. I know that it's not. I can release assets and code under a modified license. If my modifications necessarily require touching the original code, I have to assume that anyone who wants to use this project must have the original code. Basically, to publish it legally, I would have to post a script that automatically disassembles the code taken from the original disk, the assets, and patches it on the compatibility layer I created. To stay legal, but how should I make the project available to everyone? Thanks in advance, I'm lost in the licenses. If anyone is interested in the project, I'd be happy to answer. I just wanted to start a game, but as usual, I chose to complicate my life. I've already rebuilt and mapped the 27 most used syscalls in the program (about 7,000 calls), which, every time they're resolved in the shinny layers, Ghidra produces increasingly readable code mapped to the new functions. I'm doing a gradual transition, then I'll move on to the DLLs.

reddit.com
u/shsh-1312 — 29 days ago
▲ 21 r/OSdevAI+2 crossposts

NexsOS1 V0.0.05 update

Since the last post I have focused a lot on the criticisms here ,I always try to approach with a positive eye, first of all the possibility of cross-compiling the system from Linux, I had done a test in docker but it was not enough, so together with another guy from the community who willingly contributed we managed to make the cross-compilation from Ubuntu work completely for both toolchains that the system needs (aarch64 and amd64, nexs supports multi-architecture and requires the somewhat dated gcc v7 toolchain to compile on aarch64), and we managed to compile and boot the system on Arch with pacman (only x86_64 build, I do not have an aarch system so I cannot work on the aarch64 build), since the last post the system has undergone many changes, first of all I moved the rendering of the individual apps to usermode leaving the compositor inside the kernel only for the management of framebuffer, in addition to stabilizing the kernel and better integrating the notification system (now the processes can use them to communicate with each other or to send notifications to the screen (including userland faults, themes and resolutions are managed via notifications, notifications have a space in the registry and the registry is made accessible on capability). The most visual changes, in addition to the work under the hood, concern the desktop interface which I can now consider "almost usable by anyone" and above all the work of porting libraries, I have ported SDL2 completely via a compatibility layer in userland ,this shows that the ABI is stable and functional, lol in fact the executives that use SDL are visually appealing, in fact the system is currently "ugly" because the entire graphic layer, compositor and themes were created without any libraries but the result of an application that uses optimized libraries makes me think that the kernel is incredibly stable, I have also partially ported OpenGL and Direct3D, I have ported Lua but I still have some partial problems and I am willing to port Musl and Busybox as a compatibility layer now that I have enough functions to do so, the aim is not to use any library to build the system but to port them all to allow anyone to use the system to write code, the project was created using digital assistants heavily, but I am keen to I want to clarify that I'm not spending more than €15 on this. I don't want to offend anyone, and I respect and admire those who decide to learn every concept from scratch. This is just my way of learning, and of bringing implementations that are often private or poorly documented to the open source community. I hope to continue having fun. I've been learning and developing this for 7 months, and there's always something to learn. I've basically grasped complicated concepts, but I'm keen to overlook simpler concepts that aren't my area of ​​expertise. It would be cool to hear someone who knows more than me say, "You're wrong about this," or, conversely, to have solved a problem that was difficult for someone else. I'm speaking a bit ungrammatically, maybe because I live in Italy. What do you think? https://github.com/olmox001/NexsOS1

u/shsh-1312 — 1 month ago

NexsOS1

NexsOS1 is an operating system with hybrid kernel and multi-architecture support developed entirely by multiple llms and a careful analysis over the last 6 months, we have implemented smp support, separate user space, standard abi, library and graphical userspace, the system is currently a work in proges, we are looking for people who want to join the project actively, the project aims to be democratic and shared and to focus on all the problems that characterize modern systems, first of all (in my opinion), the inconsistency of a real univocal graphical abi and a transparent abstraction on which to reimplement posix, wine and existing abi as subsystems and not as a priority implementation, leaving behind the posix / unix architecture at the kernel level to adopt a more pragmatic approach (plan9 / sel4 / fuchsia / windows nt) in a uniform way and only later reimplement all the standard libraries as portability software

u/shsh-1312 — 2 months ago
▲ 0 r/osdev

I wanted to bring my project but you prefer hate

What the fuck is wrong with people on this subthread? I've been busting my ass for 6 months building my operating system, and all it took was a comment saying "vibe-coding" to destroy my post. What kind of mental retardation problems are you suffering from? The war against automated intelligence has turned you into idiots, you no longer know how to differentiate between a tool and a fucking human being. I'm also known to say that half of the Turing Award winners won it for their contributions to LLM models, you only know how to talk about slops? What the fuck is so backward? Thank goodness there's someone among you who understands people's efforts and isn't a fucking selfish person, because among all those who commented on me I haven't seen one who had created any content for this subthread on their page. What are you doing here? Are you here to insult? You're lucky to have an application that separates you from real life, you encephalitic bunch, start programming with perforated boards if you want to be purists, clowns, for everyone else instead a hug, we love you

I'm posting a video again, just to annoy, yes it's a slop, and it works better than yours, repeat out loud smp
Smp
smp👀

u/shsh-1312 — 2 months ago
▲ 10 r/kerneldevelopment+2 crossposts

NexsOS1

NexsOS1 is a multitasking operating system, with smp support for aarch64 and amd64, developed from scratch, the kernel is hybrid / monolithic with a tendency and research to be a microkernel, all applications (including the shell) are executables elf loaded from the file system, the system has been tested and stressed for hours with multiple processes running and is very reliable (we still have some kernel faults, but they have become very rare), the system was developed with all the means available in 2026, following a pragmatic approach and inspired by plan9, sel4, linux, windows nt, fucshia, macos and android, the system has a research purpose, and is basically simple and open source for projects that require an operating system with working graphics, and entirely readable without the accumulated complexity of linux, I do not consider myself an expert, nor one who wants to be, I just wanted to bring you a project that for me is fun and I am very fond of it

u/shsh-1312 — 2 months ago