keito 1 week ago

Hi HN, as a vintage computer enthusiast and software engineer, I was curious what it would take to write an x86 emulator. So I (hand-)wrote one, specifically one that could emulate my IBM PC and run DOS, as a learning exercise.

As a bit of a fun addition, I made a Kitty graphics frontend for it that anyone can SSH into on the Internet and experience some fun DOS era games in your terminal; just SSH into `me@intodos.com` (as in, "ssh me into dos").

The post describes my journey through this project and some of the things I learned, which I hope you might enjoy. Would love to hear your questions/comments!

  • msla 1 week ago

    This is a very cool project and I didn't know there was an option for Unix terminal graphics other than sixels these days.

    https://github.com/saitoha/libsixel

    • keito 1 week ago

      Thanks! I haven't tried sixel, but I did see this thread https://github.com/ghostty-org/ghostty/discussions/2496 on Ghostty's GitHub while I was building this, which has some interesting perspectives. Kitty seems to have pretty wide support among terminal emulators (and Ghostty happens to be what I use), so that's what I went with.

hggh 4 days ago

For some reason the graphics mode doesn't work on kitty

  • keito 15 hours ago

    Sorry, there was a bug in how I was detecting graphics capabilities, that didn't work for Kitty (I'd been testing mostly in Ghostty and iTerm2). It should be fixed now. Thanks for the report!