Giter Club home page Giter Club logo

setun70's Introduction

Emulator of "Setun-70" ("Сетунь-70") — A Soviet ternary computer with zero-address stack-based instruction set architecture

Copyright (c) 2023 Stanislav Maslovski. License: GPL-3.

The emulator is based on the logical description of "Setun-70" computer as published in [1] (check "docs" folder). The algorithm described in this report can be found in the file Setun70.alg (OCRed from the report and edited).

The code in this repository has the following branches:

  • original — This branch realizes the Setun-70 instruction set architecture (ISA) and operation as described in [1].
  • structural — This branch is reserved for changes to the ISA that facilitate structural programming, which are described in [2].
  • main — The main branch is for current development.

Startup ROM code with some IO and interrupt support is in the file ROM.ods. This file uses macros, and serves as a translator of Setun 70 assembler instructions. The first page of ROM.ods explains how to use it (in Russian).

To build and run, do "make run". You will need a fresh GNU Fortran compiler with support of Fortran 2008 and OpenMP. You will also need xterm for the emulator windows. This will start four terminal emulator windows: one for Setun-70 CPU, one for Consul-254 teletype emulator, and two more to log the keyboard input (in punched tape form and as is). At the moment, the emulator runs a simple echo process that sends back the codes it reads from the console.

A running simulation can be interrupted by pressing Shift-S (i.e. entering a capital "S") in the Setun-70 window.

References

  1. Брусенцов, Е.П., Жоголев, Е.А., Алгоритмическое описание структуры и системы команд вычислительной машины Сетунь 70. Научный отчёт ВЦ МГУ № 27-ВТ (417). Москва, Ротапринт ВЦ МГУ, 1970.
  2. Брусенцов, Е.П., Рамиль Альварес, Х., Троичная ЭВМ «Сетунь 70», Труды SORUCOM-2011. Развитие вычислительной техники и её программного обеспечения в России и странах бывшего СССР. Великий Новгород, 2011. С. 71-75.

setun70's People

Contributors

smaslovski avatar

Stargazers

Barton Rhodes avatar  avatar

Watchers

Barton Rhodes avatar  avatar  avatar

Forkers

askfind plurigrid

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.