{"id":16219870,"url":"https://github.com/rbergen/minsk","last_synced_at":"2025-07-31T17:09:38.082Z","repository":{"id":41862589,"uuid":"441196516","full_name":"rbergen/minsk","owner":"rbergen","description":"Martin Mareš' Minsk-2 emulator, with Minsk-22 support","archived":false,"fork":false,"pushed_at":"2022-11-06T10:05:42.000Z","size":108,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T02:35:20.460Z","etag":null,"topics":["c","emulator","minsk"],"latest_commit_sha":null,"homepage":"https://mj.ucw.cz/minsk/readme.html","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rbergen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-23T13:56:28.000Z","updated_at":"2024-12-28T23:07:23.000Z","dependencies_parsed_at":"2023-01-21T02:46:22.972Z","dependency_job_id":null,"html_url":"https://github.com/rbergen/minsk","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rbergen/minsk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbergen%2Fminsk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbergen%2Fminsk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbergen%2Fminsk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbergen%2Fminsk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rbergen","download_url":"https://codeload.github.com/rbergen/minsk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbergen%2Fminsk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268075022,"owners_count":24191651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","emulator","minsk"],"created_at":"2024-10-10T11:56:20.610Z","updated_at":"2025-07-31T17:09:38.058Z","avatar_url":"https://github.com/rbergen.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minsk-2 emulator with Minsk-22 support\n\n[![CI](https://github.com/rbergen/minsk/actions/workflows/CI.yml/badge.svg)](https://github.com/rbergen/minsk/actions/workflows/CI.yml)\n\n## Description\n\nThe minsk emulator in this repository was originally developed by [Martin Mareš](https://github.com/gollux) in 2010.\n\nThis is a version modified by [Rutger van Bergen](https://github.com/rbergen). With the adoption of support for the Minsk-22 in [the oiginal emulator](https://mj.ucw.cz/minsk/readme.html), both are functionally identical.\n\n## Build\n\n1. Make sure you have make, GCC and common libraries installed. On Debian-based Linux distributions, this can be arranged by executing the following command:\n\n   ```text\n   sudo apt-get update \u0026\u0026 sudo apt-get -y build-essential\n   ```\n\n2. Download (and, if applicable, extract) the emulator sources.\n\n3. Issue the following command from the directory containing the emulator source files:\n\n   ```text\n   make\n   ```\n\nThe emulator executable will be called `minsk` if the build succeeds.\n\n## Use\n\nThe emulator reads its input from stdin. Loading and executing the ex-hello example program would therefore be done like this:\n\n```text\n./minsk \u003c ex-hello\n```\n\nAny output written to the emulated printer will be directed to stdout, as is any tracing information.\n\nThe list of supported options can be acquired by running the emulator with any unsupported option:\n\n```text\n./minsk -h\n```\n\n## Input format\n\nThe input to the emulator follows a fairly simple format:\n\n```text\n; An example\n\n@0050\n-62 00 7000 1000\n-62 00 7006 1001\n-62 00 7400 0000\n-00 00 0000 0000\n@1000\n+65 45 53 53 56 17\n+42 56 60 53 44 16\n```\n\nEmpty lines and lines starting with a semicolon are ignored. `@xxxx` sets the memory address (in octal), all other lines specify signed 36-bit octal values to be written to consecutive memory cells. Spaces inside numbers are purely decorative and the parser ignores them.\n\n## Documentation\n\nIntroductory documentation for the emulator can be found in the [readme.html](https://htmlpreview.github.io/?https://github.com/rbergen/minsk/blob/master/readme.html) file.\n\nThe [INSTRUCTIONS](INSTRUCTIONS) file contains more technical information about the Minsk-2/Minsk-22, its instruction set and their implementation in the emulator.\n\n## Original emulator\n\nThe original emulator can be [used on-line](https://mj.ucw.cz/minsk/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbergen%2Fminsk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frbergen%2Fminsk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbergen%2Fminsk/lists"}