{"id":25239143,"url":"https://github.com/denver-code/pc_simulation_web","last_synced_at":"2025-10-27T07:14:34.429Z","repository":{"id":274720993,"uuid":"923847875","full_name":"denver-code/pc_simulation_web","owner":"denver-code","description":"Basic web app that will simulate some of the flows on computer like CPU, RAM and ASM-like instructions ","archived":false,"fork":false,"pushed_at":"2025-01-29T21:58:43.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-11T18:13:49.770Z","etag":null,"topics":["asm","cpu","ram"],"latest_commit_sha":null,"homepage":"https://asm.savenko.tech","language":"TypeScript","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/denver-code.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-28T23:30:33.000Z","updated_at":"2025-02-02T17:26:38.000Z","dependencies_parsed_at":"2025-01-29T01:20:34.366Z","dependency_job_id":"ee20ec75-e049-4233-9431-ae0c7947038f","html_url":"https://github.com/denver-code/pc_simulation_web","commit_stats":null,"previous_names":["denver-code/pc_simulation_web"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denver-code%2Fpc_simulation_web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denver-code%2Fpc_simulation_web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denver-code%2Fpc_simulation_web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denver-code%2Fpc_simulation_web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denver-code","download_url":"https://codeload.github.com/denver-code/pc_simulation_web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393555,"owners_count":20931809,"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","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":["asm","cpu","ram"],"created_at":"2025-02-11T18:13:54.423Z","updated_at":"2025-10-27T07:14:34.377Z","avatar_url":"https://github.com/denver-code.png","language":"TypeScript","readme":"# PC Simulation\nBased on [this Rust project of mine](https://github.com/denver-code/pc_simulation_rs)\n\nBasic web app that will simulate some of the flows on computer, including: \n- RAM  (`256 bytes`) - can be read, written and dumped for inspection.    \n  \n  Addressed via hexadecimal addressed. \n\n  Each memory cell is 8 bits (1 byte) wide\n- CPU - 8-bit CPU with 8 general-purpose registers.\n  ATM asm-like code directly executed by the CPU, I'm not sure how it supposed to be.   \n\n  CPU supports `8 general-purpose 8-bit` registers to hold data during execution.  \n- More on the way, but it's still area for a research.  \n\nSimulation has option to write simple assembly-like programs with small set of instructions:  \n- `VER` - Toggle verbosity to enable/disable detailed execution logs.\n- `MOV QMOV` - Assingning RAM/Another Register's/Immediate Value to the register or memory.\n- `INIT` - Initialize memory addresses with values.\n- `ADD SUB MUL DIV` -  basic arythemitcs\n- `OUT` - Output register or memory/values.\n- `CLEAR` - Clear the register or memory\n- `HALT` - Stop the execution.\n- `IF/ELSE` -  If and else statement that supports basic operations between registers, memory and values.\n\nRead docs on the website for more information and examples.\n\n## Getting Started\n```bash\ngit clone https://github.com/denver-code/pc_simulation_web\ncd pc_simulation_web\nnpm install\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenver-code%2Fpc_simulation_web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenver-code%2Fpc_simulation_web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenver-code%2Fpc_simulation_web/lists"}