1
0
mirror of synced 2026-01-11 23:42:44 +00:00
Vulcan 64b0836a79 Update run_tmux / Add automation
Fixes:
- Fixed unstable tmux hooks

Additions:
- Automation to install and boot COS
- Automation to create custom disks with specified file
- Automation to load file from custom disk and execute it
- Updated menu and options in interactive mode

```
Usage: ./run_tmux {start|stop|restart|kill|attach|status}

  start    - Start cray simulator session
  stop     - Stop cray simulator session
  restart  - Restart cray simulator session
  kill     - Kill cray simulator session (unsafe)
  attach   - Attach to cray simulator session
  status   - List running cray simulator and consoles

Advanced Usage:

    ./run_tmux cos_install       - Automated COS installation (Do only once)
    ./run_tmux cos_boot          - Automated COS boot (Do only after installation)
    ./run_tmux cos_shell         - Automated log on to COS interactive shell (Do only after boot)
    ./run_tmux cos_boot_shell    - Automated COS boot and log on to interactive shell

Advanced CLI Usage:

    ./run_tmux cos_exec     <binary>  - Execute a COS binary (do only after interactive shell logon)
    ./run_tmux cos_gen_disk <binary>  - Create a COS extender disk with specified binary
    ./run_tmux cos_run_disk <binary>  - Same as above and execute it (do only after interactive shell logon)

```
2025-02-13 18:57:58 +05:30
2020-09-09 15:11:45 -07:00
2021-02-22 19:54:56 -08:00
2025-02-13 18:50:09 +05:30
2021-02-20 18:58:55 -08:00
2023-01-30 14:59:26 -08:00
2025-02-04 01:28:14 +05:30
2020-09-09 15:11:45 -07:00
2025-01-31 12:35:59 +05:30
run
2025-02-04 01:08:37 +05:30
2025-02-13 18:57:58 +05:30
2020-09-09 23:27:50 +00:00
2020-09-10 00:25:07 +00:00

This repository contains the source code for the Cray PVP simulator. This simulator allows you
to run unmodified Cray software for the following machines:
- Cray XMP
- Cray YMP-el
- Cray J90
- Cray SV1
Support for other machines, such as the Cray-1, the Cray-YMP, even the Cray-C90 and Cray-T90
would most likely be possible, but for the lack of SW availablility for these platforms.

Apart from the source code, also included in the repository the tools and files needed to
create an executable COS-1.17 image for the Cray-XMP.

If you have access to old Cray SW, especially for as-of yet unsupported machines,
please contact me!

For more details on the project, see http://www.modularcircuits.com/blog/articles/the-cray-files/

Linux build instructions:
==================================
1. Clone repository:
      git clone https://github.com/andrastantos/cray-sim.git
2. Install build dependencies:
      sudo apt install g++ make libboost-all-dev libncurses-dev libgpm-dev
3. Install run dependencies
      sudo apt install xterm telnet
4. Build
      cd cray-sim/simulator
      make build
   Else for Linux distros that require dynamic linking do:
      make LINK_TYPE=dynamic build
5. Build images
      cd ../target/cos_117
      ./build_boot_tape
      ./build_exp_disk
6. Run simulator
      cd ../..
      ./run

Native Windows build instructions:
===================================
1. Build boost and set up project files accordingly
      see simulator\README_boost.txt for details
2. Open solution in Visual Studio and build
      Open simulator\all.sln
      Hit build all
3. Build images
      cd target\cos_117
      build_boot_tape
      build_exp_disk
4. Run simulator
      cd ..\..
      run
Description
Cray PVP Simulator
Readme BSL-1.0 86 MiB
Languages
Assembly 89.8%
C++ 6%
C 3.5%
Makefile 0.5%
Shell 0.2%