Remix.run Logo
phendrenad2 4 days ago

I'm surprised there aren't more hand-crafted OSs popping up on HN. Agentic AI can give you the basics of an OS in 15 minutes. It gets confused when debugging assembly code, but it can give you a good framework and walk you though the remainder of the steps.

engeljohnb 4 days ago | parent | next [-]

I threw myself at it for weeks and couldn't even get a blinking LED to run on the bare metal on a RPi.

BoredPositron 4 days ago | parent | prev | next [-]

I am intrigued. Go ahead and show us ONE 15 minute agentic ai os that runs on metal.

anthk 4 days ago | parent [-]

The parent commenter should get an Altair Z80 emulator with CP/M 2.2 and begin writting stuff in assembly.

Even a simple Tetris would be a daunting task.

He could even try high level languages such as T3X, which is very Pascal-like to my eyes in order to be familiar with CP/M 2.2 and after some months I would switch to Z80 assembly in order to write stuff for CP/M.

These AI's would be clueless about T3X OFC, or almost, because of the nasty scrappers. Still, it would be an ideal exercise to avoid the AI completely. You learn by the book. Literally.

phendrenad2 3 days ago | parent [-]

Wait, I'm confused. Why would I use an obscure language that no one knows about, or could find a book on, when I could just have the AI write Z80 assembly, or even have it make a Z80 C compiler for me? (You laugh because you haven't tried it)

trueismywork 4 days ago | parent | prev [-]

The biggest problem on today's OS is I/O driver. Specifically USB driver.

anthk 4 days ago | parent [-]

And ACPI/APIC and tons of extra pests.