Os8088: A powerful Mac-like OS for the IBM XT, 286, 386

(os8088.com)

101 points | by jggonz 5 hours ago

17 comments

  • Narishma 3 hours ago
    > Hand-written real-mode 8086. No C, no linker, no runtime library.

    More like hand-prompted...

    • DaiPlusPlus 1 hour 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.

      • userbinator 48 minutes 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.

    • vunderba 2 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...

    • skissane 1 hour 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

    • userbinator 2 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.
      • nineteen999 2 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 1 hour ago
          Do you think the low-level nature of ASM contribute to how successful the LLMs are with it?
        • MiroslavPokorny 1 hour ago
          github ?
    • winocm 47 minutes ago
      The assembly really, really hurts to read.
  • LeoPanthera 3 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.
    • userbinator 2 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 1 hour 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.

    • tonypapousek 18 minutes 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.

    • 1bpp 2 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?
    • superb_dev 2 hours ago
      It’s almost like those are two different populations of people?
      • LeoPanthera 2 hours ago
        Outside in the real world? Sure.

        Here on HN? I don't believe that.

        • throw10920 2 minutes 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?

  • adrianmonk 1 hour 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

    • wewewedxfgdf 1 hour 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.

  • baud9600 1 hour 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/

  • orbital-decay 2 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 5 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.

  • nianderwallace 2 hours ago
    You'd still need a Wordstar-like app and a VisiCalc-like app (pref. Lotus 123-like).

    VGA adapter means you have to wait until 1987 to run this, otherwise you'd deal with CGA's non-square pixels. EGA support would only be possible in Oct 1984.

  • badsectoracula 1 hour ago
    Nice, Solitaire in 7KB of RAM[0]. Sadly it only says "You win!" if you win, no bouncing cards animation :-P.

    [0] http://runtimeterror.com/pages/iv/images/b869a0cf44a7e7cbc40...

  • ozymandiax 3 hours ago
    This rewrites what-could-have-been history a bit... better get my IBM XT/286 out of storage! Is this for real?
    • drivers99 2 hours ago
      I might have to try it out. I have an 8088 IBM PC (my first computer) on a desk. I need to swap out some bad RAM (I've been getting Parity errors and other strange behavior), but it says it works with 256KB so I could remove the AST SixPakPlus altogether. The fully populated mother board has 256KB. (I could also unplug the MFM hard drive controller as well.) It supports CGA and VGA and I have both (the CGA is original; the VGA is an 8-bit ISA one I picked up a couple years ago). I also have a serial mouse... Right now I have one floppy disk that came with a book I re-bought recently (Peter Norton's Guide to Assembly Language) and I could back up the files from it and use that but I think I'd rather buy/find another one to use. And I need more than one disk for this anyway.

      Interesting, it currently says, 'Nobody has yet written the images to 5.25" media and booted an actual XT with them.'

  • userbinator 31 minutes ago
    I don't know why it seems reluctant to disclose AI use, because this is one of the best advertisements of Claude I've seen, and I say this as someone who has been sitting on the fence on the subject and saw a lot of slop in the past few years. If I was working in Anthropic's marketing department, this is the sort of thing I'd point to as a demo of its abilities.

    That said, it's not like something of this nature was thought impossible; many embedded OSes running on even slower and more limited machines (e.g. 8051) had preemptive multitasking and a primitive GUI. It just took several decades for someone with the idea, tokens, and motivation to actually do it.

  • rickcarlino 2 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.

  • jonjacky 1 hour ago
    It looks surprisingly Mac-like, except the font kind of spoils the illusion.
  • anigbrowl 3 hours ago
    Was not expecting the fractal viewer (in disk B/apps)
  • cheema33 3 hours ago
    If it were available back then, Microsoft may be a small shop today or may have gone the way of Lotus.
    • wewewedxfgdf 27 minutes ago
      No.

      Technically better software was rarely the primary factor in how the early microcomputer wars played out.

    • MiroslavPokorny 1 hour ago
      You mean like the Amiga or Atari ?
  • internet2000 3 hours ago
    Fun little toy. Wonder how much in tokens went into it.
  • theturtle 3 hours ago
    [dead]