Top
Best
New

Posted by jggonz 8 hours ago

Os8088: A powerful Mac-like OS for the IBM XT, 286, 386(os8088.com)
147 points | 71 comments
adrianmonk 4 hours ago|
> The graphical operating system that could have been for the IBM XT

Visi On[1] was a graphical operating system for the IBM PC that actually existed as a commercial product, though definitely not a very successful one. It was made by VisiCorp, the same company that created VisiCalc (the first spreadsheet for a personal computer).

It was demoed at COMDEX in 1982, before the Apple Lisa was released. It came out after the Lisa but slightly before the Macintosh.

Here's their promotional video from 1983: https://www.youtube.com/watch?v=kc4wFeVvKTI

Fun fact: Bill Gates saw the demo at COMDEX, and at first he was skeptical that it was really running on an IBM PC. But ultimately he was so impressed he decided[2] to start developing a product called Microsoft Windows.

---

[1] https://en.wikipedia.org/wiki/Visi_On

[2] https://en.wikipedia.org/wiki/Windows_1.0

jggonz 1 hour ago||
Author of the AI written os8088 OS here...

Thanks for sharing the promotional video for Visi On. It's cool to see how many different companies gave this a shot back in the 80s.

wewewedxfgdf 4 hours ago||
This kinda almost makes it sound like VisiOn introduced Gates to the GUI which is not true. They were already using and developing for Macintosh machines at Microsoft and had hired Charles Simonyi from PARC with his expertise in GUI systems before Comdex 1982.

The story seems to be more that seeing VisiOn gave MS the nudge to get into action on the GUI due to a sense of competition/urgenbcy from VisiOn rather than learning about the GUI from VisiOn.

walrus01 2 hours ago||
Stories about Xerox PARC aside, the Apple Lisa was released to the market at the end of January 1983, and I would be surprised if Microsoft wasn't big enough/rich enough at that point to acquire at least a couple of units from the very first batch to mess around with. Windows 1.0 RTM was November 1985.
Narishma 6 hours ago||
> Hand-written real-mode 8086. No C, no linker, no runtime library.

More like hand-prompted...

vunderba 5 hours ago||
From the landing page:

> 66,183 lines of hand-written real-mode assembly

Goes to the github - contributers jggonz and CLAUDE. The README.md doubles down on this at the bottom with the license.

> Everything here is hand-written; no third-party code is vendored into the OS, so the whole tree is covered by that one license.

That's what happens when you let an LLM write your ad-copy...

ButlerianJihad 5 hours ago||
It can't be written by LLM -- the human author has claimed copyright

https://news.ycombinator.com/item?id=49203613

andai 46 minutes ago|||
> there is no value in being a Public-Domain-Dumping-Ground.

First of all, isn't that the entire point of the Internet Archive? Sounds pretty valuable to me.

Second, doesn't the same issue effectively apply to everything written with the BSD or MIT license? I'm not sure I understand the point though, so I'm probably missing something.

DaiPlusPlus 4 hours ago|||
And LLMs are still confidently bullshitting:

> Everything after that is the interface you remember from a 1984 Macintosh: […] and a dock along the bottom with one tile per running program.

In that case I look forward to seeing OS X’s Aqua ported to the IBM PS/2.

nxobject 2 hours ago|||
If we’re going to be really pedantic, there was no “System 1” as TFA says as well anyway - I don’t think there was an actual “version 1” of the System File version 1, and most of the routines at that point were in ROM.

But an LLM would have caught that. Signs of a human touch?

Someone 37 minutes ago||
> I don’t think there was an actual “version 1” of the System File version 1

There definitely was. https://en.wikipedia.org/wiki/System_1:

“The Macintosh "System 1" is the first major release of the classic Mac OS operating system. It was developed for the Motorola 68000 microprocessor. System 1 was released on January 24, 1984, along with the Macintosh 128K, the first in the Macintosh family of personal computers. It received one update, "System 1.1" on December 29, 1984, before being succeeded by System 2”

That page doesn’t mention it but I think the original Mac shipped with a 0.97 or 0.98 version.

userbinator 3 hours ago|||
In that case I look forward to seeing OS X’s Aqua ported to the IBM PS/2.

If this project is any indication, AI can definitely make that happen too.

jggonz 1 hour ago|||
"Author" of os8088 here. You're right, it's hand-prompted.

Claude's Opus and Fable have done a really great job helping me and another contributor shape this operating system. It's been a really interesting way to learn about the different techniques that other operating systems have used to get the performance we saw in LisaOS, MacOS, Windows, GEOS, etc... performance at 640x480 on an XT class machine is tricky! Also, the 64KB segment limitations were very interesting to overcome!

TheFuzzball 35 minutes ago||
Did you ask Claude to write this comment too?
jggonz 7 minutes ago||
lol, so disappointing to see the attacks when I'm just having some fun.
skissane 4 hours ago|||
I’ve got nothing against AI-written code

But if people are going to post it on HN, they should consider at least writing the README / main page of their website by hand

It is nice to hear the human authorial voice, at least sometimes

jggonz 35 minutes ago||
I agree. We've just been spending more time on the operating system than the homepage. I'm making some updates, but it's still all going to be written "through" AI for now.
userbinator 5 hours ago|||
I'm surprised Claude is actually decent at real-mode Asm, but maybe there was a lot of attempts and guidance by the human.
winocm 1 hour ago|||
The assembly really, really hurts to read.
nineteen999 5 hours ago||||
Ive been throwing z80, 6502, 68000, 8086, i386 and x86_64 asm at it lately. Haven't seen it get stuck on any of them.
paulryanrogers 4 hours ago|||
Do you think the low-level nature of ASM contribute to how successful the LLMs are with it?
walrus01 2 hours ago||
I think also that a large/smart/fast LLM can automate testing things with QEMU for at least moderately common architectures like motorola 68000, throw code at it rapidly and try different iterations.
MiroslavPokorny 5 hours ago|||
github ?
LeoPanthera 6 hours ago||
It's funny how virtually everyone on HN is using AI to write code and simultaneously dismisses all interesting new software as written by AI.
afavour 13 minutes ago||
For me personally there’s something deeply unsatisfying about hobby projects that are entirely AI generated. Work code is something different.

This is never going to be a commercially viable project. It’s a wonderful idea for a hobbyist passion project. But if you’re not actually coding it yourself it feels far less interesting.

userbinator 5 hours ago|||
There are both pro- and anti-AI factions here... and those with more nuanced views.

Personally, I don't care as long as the end result is good, but a lot of AI software tends to be in the lower end of the quality range.

accrual 5 hours ago||
I agree, and I think one can put in more effort on a project and get a better result, especially if the prompter is already an experienced software developer. For example on one toy project I requested the use of ADTs (algebraic data types), strict linting and code formatting at every commit, tests, frequent code review rounds, and a strong initial plan which led to a very solid personal-use project.

Similar strategy can help smaller local models achieve greater results too. Small steps + many guardrails.

walrus01 2 hours ago|||
There's a difference between using AI to automate some drudge work of stuff that would just be mentally tedious to do (writing an operating system for an 8088 in assembly? Tedious, unless you're one of the rare people whose mind does well with that sort of thing), and just not even being bothered to write your own readme files and project description.

At least take the time to hand write a description of what it is and acknowledge the tool assistance as a known fact.

Making fake claims that something is totally hand written is I think what bothers people about this.

1bpp 5 hours ago|||
Different groups, the spammers like to congratulate each other for how much hard work they must have put into their very impressive prompt engineering. Regardless, AI code is distinct from extremely blatant AI design. People dismiss things that had no actual design, just whatever fell out of the prompt they gave it. If you can't write a single human paragraph or put thought and care into how you are presenting 'your' project, it's not worth paying attention to. Why can't they present their own work honestly? Why would I spend energy looking at an OS made by someone who can't write an HTML file by themself?
tonypapousek 3 hours ago|||
I can pour myself a bowl of cheerios. That doesn’t mean I’m easily impressed by someone else preparing a similar bowl of cereal.

Though, I have been finding a lot of utility in programs that support otherwise deprecated hardware, now that is some good slop.

superb_dev 5 hours ago||
It’s almost like those are two different populations of people?
LeoPanthera 5 hours ago||
Outside in the real world? Sure.

Here on HN? I don't believe that.

throw10920 3 hours ago||
OK, if you're so confident, surely you've gathered data that empirically shows that "virtually everyone on HN is using AI to write code and simultaneously dismisses all interesting new software as written by AI", because that's a very easy claim to prove or disprove.

Can we see your results and methodology?

tgv 35 minutes ago||
I think the remark was glib/sarcastic/ironic. That's frowned upon in this forum, and for good reason.
orbital-decay 5 hours ago||
Beveled-buttons Minesweeper (first appeared in Win 3.11 IIRC) running on a preemptive 8086 OS with a bootleg System 1/2/3 interface looks absolutely cursed.
jggonz 8 hours ago||
The graphical operating system that could have been for the IBM XT.

A MacOS-like desktop for the Intel 8086, written entirely in real-mode assembly (with Claude). Verified to run on real hardware, with FAT12/16 support, ported apps, games, Sound Blaster support and upcoming Hard Drive support.

WillAdams 6 hours ago||
Well there was GeoWorks (which AOL used the GUI of to their advantage):

https://github.com/bluewaysw/pcgeos

erwan577 1 hour ago|||
PC GEOS was much later circa 1990, the company spends years maintaining the first version targeting the C64 and Apple II. I also remember fondly the quality of prints produced by PC GEOS which included lots of home printer drivers. The system used an alternate vector font system not Truetype. Its SDK is probably still very interesting, but i suspect the complexity level was one of the reasons so few third party apps were developped for it.
lepicz 3 hours ago|||
when i'm feeling blue i go read and toy with geoworks source.. it's kinda weird to read TODOs from 1900 :)

and one wonders what could have been if there were not incompetency of microsoft etc..

ozymandiax 6 hours ago||
Just discovered the videos (https://www.youtube.com/@NostalgiaPCTV) ...and the source code on github reads like a book.

Amazing.

ozymandiax 6 hours ago||
Apple might sue you though, like they did DRI :-)
jggonz 42 minutes ago||
If you want to try the operating system in the browser, you can try it by visiting here: https://os8088.com/demo/
incanus77 2 hours ago||
This looked great, I started reading things, and then I just kept reading and reading the voluminous description details, and it was an immediate indication to me that the whole thing was built up by Claude. Confirmed in the repo. I closed the tab.

I appreciate the topic, interest, and ambition, but if a human couldn’t be bothered to create and document it, I can’t be bothered to spend my time reading about it.

jggonz 1 hour ago||
"Author" of os8088 here. That's unfortunate. This is a hobby, and yes, it's all written with Claude. I have a bunch of videos up showing the process.

I'm updating the copy of the page to make it extremely clear that it's built using AI so that we can move past that point.

gizajob 1 hour ago||
Yeah if someone had spent 6 months coding this dead end from 1978 in assembly rather than getting Claude to do it in six days then I’d have given it more time too.
baud9600 4 hours ago||
This is great -

It’s almost as impressive as the “GOS” written for Atari 8-bit running on 6502 at 1.79 MHz. Visually it’s almost identical but has a nicer font. The specs are somewhat similar with 16 task slots, calculator app and task manager, serial mouse support (ST mouse) and Atari’s hardware sprites helping with some of the graphics. The XOR window frame is the same idea. Amazingly, Atari GOS runs in 128K of RAM! One has to admire the work and inventiveness in these projects. See description and videos here:

https://atari8.co.uk/gui/

jggonz 52 minutes ago|
"Author" of os8088 here. I love seeing what these early limited system could do! Someone shared a video of GOS with me after seeing what os8088 looked like.

I believe os8088 also boots now with just 128k of RAM, but it's very limited in the type of apps you can load. There's a os8088.com/hardware page where one of the contributors to the project that has been helping optimize the operating system tested it out on a bunch of different machines.

yjftsjthsd-h 2 hours ago||
https://os8088.com/how-it-works/multitasking/

> Pre-emptive multitasking on an 8086

> Twelve task slots, 1,536 bytes of stack each, and a timer interrupt that takes the CPU away from whatever is running 18.2065 times a second. No task is asked to cooperate and no task can refuse.

If you don't have protected mode, can't any program just rewrite the interrupt handler? It's not a bad system, but it sounds easy to break.

tgv 31 minutes ago||
The original MacOS lacked memory protection too. It had cooperative multi-tasking, starting at version 7. Before that, the only thing that could be launched next to the main application were "desk accessories", which were a bit of a pain to write, as they had to stay out of harm's way.
jggonz 49 minutes ago|||
Yes, it's easy to break. There's no memory protection. However, building packages, drivers, and kernel modules for it has been a fun and educational exercise in memory management.
Rohansi 2 hours ago||
> If you don't have protected mode, can't any program just rewrite the interrupt handler?

Yes? It's still possible to make it safe if you ensure that all programs are written in a memory safe language. Aside from throwing out a ton of existing code it's not as bad as it sounds. The Birth and Death of JavaScript touches on it towards the end.

https://www.destroyallsoftware.com/talks/the-birth-and-death...

rickcarlino 5 hours ago|
The website explicitly states a lack of networking. Any interest in pursuing that in a future version?

I have a Pocket 8086 - I would love to give this a try next weekend.

jggonz 48 minutes ago|
We have built in driver support now, so we will be adding network driver support soon. We just added hard drive support that is potentially a bit buggy...
More comments...