Skip to content
/ dispak Public
forked from besm6/dispak

Simulator of DISPAK operating system (BESM-6)

License

Notifications You must be signed in to change notification settings

leobru/dispak

 
 

Repository files navigation

Simulator of BESM-6 computer at user level

The simulator takes a pack of punch cards on input and runs them as a task for DISPAK operating system. Calls to the OS (extracodes) are simulated as needed. Tasks can run either in batch mode, or in interactive mode.

A format of the input is described in Input-Format.

The simulator consists of three components:

  • dispak - the simulator
  • besmtool - a utility for dealing with images of BESM-6 disks and tapes
  • disbesm6 - a disassembler of BESM-6 binaries

Build

mkdir build
cd build
cmake ..
make
make install

Testing

To run all available tests:

cd build
make test

Expected output:

$ make test
Running tests...
Test project /Users/vak/Project/Besm-6/dispak/build
    Start 1: algol-besm6
1/3 Test #1: algol-besm6 ......................   Passed    0.05 sec
    Start 2: algol-gdr
2/3 Test #2: algol-gdr ........................   Passed    0.06 sec
    Start 3: fortran-dubna
3/3 Test #3: fortran-dubna ....................   Passed    0.09 sec

100% tests passed, 0 tests failed out of 3

Total Test time (real) =   0.20 sec

To see, why a particular test fails, use:

cd build
ctest -V -R test-name

About

Simulator of DISPAK operating system (BESM-6)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 92.3%
  • CMake 2.8%
  • Yacc 2.5%
  • Python 1.8%
  • Shell 0.3%
  • Perl 0.2%
  • sed 0.1%