Giter VIP home page Giter VIP logo

emulator-sun-2's Introduction

emulator-sun-2

Emulator for Sun-2 workstation

This is a emulator for the Sun Sun-2 Workstation. It's designed to boot SunOS and emulate the display and keyboard found on an original Sun-2 worksation.

I was frustrated by the original Sun 2 emulator - tme. It's an amazing piece of software but really hard to follow internally. It seems to be an extreme example of abstraction. Perhaps too abstract, at least for me.

So I wrote this to learn about the MMU and, well SCSI. My goal is to eventually create an FPGA version of the Sun-2.

It now boots SunOS 2.0, 3.2, and 3.5 cleanly. You can install from the distribution tapes. The SCSI emulation code is still shakey for tapes, however.

SunOS 2.0 will boot multiuser and works as you'd expect.

Some changes by sigurbjornl

  • Converted to use SDL2
  • Added an alpha quality 3C400 ethernet driver to the sun, with support for using bpf for packet input/output, it's very likely that it has lots of bugs, and it might crash
You need to configure your ethernet interface near the top of 3c400.c (under sim)
The driver sets promisicous mode, and can sniff all traffic on the interface you select to run it on, if you don't like this, don't use it!
Don't (ever!) run the emulator as root, you can chmod the BPF device files to 660 (if they aren't already) and add your user to the group set on the device to get access
Your success with communicating with the host that the emulator is running on will vary
It's best if you can use a dummy bridge interface to bind to, I used the vmnet interfaces from VMWare with a high degree of success, both in NAT and Bridged mode
If you want to route you'll need to setup proxy-arp since the Sun will ARP for any entry regardless of gateway settings, I tested parpd (https://github.com/rsmarples/parpd), and it works fine

emulator-sun-2's People

Contributors

lisper avatar sigurbjornl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.