Since I was playing with the 68000 based GCC ’87 I know it was going to be more geared to SUN workstations, certainly of the early 80’s vintage as they would be the most ‘affordable/cheap/donated’ to FSF (Or so I’d imagine).

Naturally the go to emulator is TME, however this time while searching around for the install scripts and stuff I found lisper‘s (heeltoe.com) emulator-sun-2, a greatly cut down and SUN-2 focused emulator that emphasizes ease of use.

Wait, what? SUN-2, and ease of use? Why yes, not only that, as it uses SDL 1.2 it also means it’s much easier to compile. After an hour of messing around with it, I had it running on Windows. After a few minutes I had it running on my ARM based Acer NovaGO.

At it’s core is the m68k 68010 emulation from Karl Stenerud‘s Musashi core which is a great choice for the SUN-2 as it’s a 68010 based machine. Some fun notes from web.cuzuco.com/~cuzuco/sun2/ include:

  • CPU is a Motorola 68010 running at 10MHz
  • Maximum physical memory is 4 Megabytes
  • Maximum virtual memory is 16 Megabytes
  • All I/O is via a Multibus (an Intel design)
  • Main disk is a SMD, the largest size is 380Mbyte
  • Has a SCSI adapter, but the disk is slow and small (42Mbyte)
  • Sun was just finishing NFS
  • alludes to future AT&T UNIX System VI and VII
  • Display supported dual heads and a resolution of 1152×900
  • List price as tested: $44,900
  • Sun was still private, had 400 employees and sold 1500 units

You can read about the debut of the SUN-2 in the UNIX/WORLD Magazine, VOlume 1, Number 5 dated October 1984 in archive.org. It starts on page 86.

I started to integrate sigurbjornl’s patches for networking but I think I need to work through SunOS 2.0’s weird VAX 4.2BSD arp issues (anyone have the source code to SunOS 2.0?!). I’ll probably update it with UDP or some fixed ARP thing to remove that or just let the SUN-2 talk to a VAX with 4.2BSD so they can be weird, together.

I’m also pretty sure my old Cockatrice III sort of debugged SLiRP thing broke the packed structs to let it work properly when compiled with Microsoft C, so I’ll have to break down and either try to fix that, or update and borrow the vastly updated SLiRP from SIMH.

For Windows users who want to play along the bundle is on the terribly named page “Ancient UNIX/BSD emulation on Windows” as SUN2.zip.

19 thoughts on “emulator-sun-2

    • Crazy how expensive UNIX machines were! And SUN pioneered “affordable” workstations.

      I should find out how much a MicroVAX cost, I suspect it’s much more?

      To me the killer is that it’s a 68000 based. No wonder the old binary in the gnu archive is for the super cheap Atari ST.

      It’s no wonder the flood of Taiwanese 386 clones fundamentally changed the world, just as v86 mode was the greatest thing Intel cloned from the 370.

    • It is foolish to use inflation calculators on computer prices.

      1) Documentation for inflation calculators states that they work best, possible work at all, with low cost items.

      2) Computer prices are set to target a particular range consumers.

      3) Computer prices are based on the price of comparable equipment.

      When you see $44000 the first thing you should look for is what the competition was selling for.

      Go look at the 1990 prices of high-end PeeCees and compare them to high end today and they are not far apart.

      No one is going to spend $99,532.18 on a Sun 2 so that amount is just a faerie tale.

      • professionally I’ve spent hundreds of thousands on single machines in the mid 90’s. An array of over 300 4GB scsi2 disks is not cheap by any stretch of the imagination, nor is high end systems.

        Compaq quad pentium pro servers with hundreds of megabytes to gigabytes of ram back in the 90’s were substantially more expensive than their desktop peers, despite having the same CPU’s and OSs.

  1. How do you get to the GUI ?
    I tried “b st()” but no cigar…
    “b” boots to some CLI but what next ?
    Tried with all the tapes from winworldpc…

  2. “Why yes, not only that, as it uses SDL 1.2 it also means itโ€™s much easier to compile.”

    Oh good! I’ve found, for me at least, TME to be completely impossible to compile. I have plenty of SPARC systems, but I’ve yet to find any m68k Sun systems.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.