SunOS 3.5 on a Sun-3 w/SunView!

(This is a guest post by Tenox)

After SunOS 4.1.4 on QEMU, time to go further back: SunOS 3.5 from 1987, on a 68020 Sun-3! It runs on TME, The Machine Emulator, by Matt Fredette, continued by Ruben Agin (phabrics) and now by Rico Pajarola in his fork. Rico also installed SunOS 3.5 on TME and set it all up. I just packaged it.

No more boot hangs! On Linux, SunOS sometimes stopped at “starting local daemons” and never came back. It was a bug in TME’s 68k CPU. The fix is in the kit, and now every test boot comes up.

Behold! SunOS 3.5 with SunView on an emulated Sun-3/160 with the bwtwo monochrome frame buffer:

SunOS 3.5 SunView desktop on an emulated Sun-3/160: a shell tool with uname -a and the Release 3.5 banner, perfmeter, and spheresdemo in a graphics tool

Specs: Sun-3/160 (Carrera), 68020, 68881 FPU, 32MB RAM, bwtwo 1152x900 mono, type-3 keyboard, 3 SCSI disks, Intel Ethernet

Let’s look at some cool apps! /usr/demo has the SunView demos, like spheresdemo above. /usr/games has chesstool, gammontool, canfieldtool and boggletool:

chesstool and gammontool on SunOS 3.5 SunView, next to a shell tool with uname -a
chesstool and gammontool, in black and white!

Micropolis, the open source SimCity, runs too! I ported my SunView version to SunOS 3.5. It is in the root menu, with the original DUX SimCity 2.17 data files:

Micropolis for SunView on SunOS 3.5 in black and white: the haight city with the small tool palette and the small street map, a Heavy Traffic notice, and a shell tool with uname -a and the Release 3.5 banner
Micropolis (SimCity Clone) for SunView on SunOS 3.5!!!

Web browser! Archaic is a tiny web browser, and it runs in SunView. It shows pages rendered by my WRP (Web Rendering Proxy), which runs on your computer and does all the HTTPS, JavaScript and CSS. Start wrp, then type archaic in a shell tool. Yes, you can read Wikipedia on a Sun-3!

The Archaic web browser in SunView on SunOS 3.5 on an emulated Sun-3/160, showing Wikipedia's Sun-3 article, next to a shell tool with uname -a and the Release 3.5 banner
Archaic: the Sun-3 reads about itself on Wikipedia

There is more under the hood: Sun’s C compiler, and bash, gcc 1.42, GNU tar, gzip and rsync in /usr/local/bin. Rico’s TME also has a control socket and an MCP server, so scripts and AI agents can drive the VM.

As usual I have prepared a ready to run, portable image with TME binaries for macOS (Apple Silicon), Linux and Windows. Just unpack and run run.sh (or run.cmd on Windows). After about a minute log in as root, with no password, and type suntools to start SunView. On macOS and Linux, telnet localhost 3523 works too. The Windows version has no network.

Download: https://files.42718.net/mirror/tenox/os/sunos/Virtual/tme/sun3-sunos35-tme.tar.lz

Source (Rico Pajarola’s TME fork): https://github.com/rpajarola/tme

Credits: the TME port and the original SunOS 3.5 image are by Rico Pajarola. His fork builds on Ruben Agin’s TME (phabrics) and on the original TME by Matt Fredette. Big thanks, Rico!

Have Fun with Virtualization!

Leave a Reply