{"id":18074976,"url":"https://github.com/lnsp/go-vm","last_synced_at":"2026-05-14T23:02:36.385Z","repository":{"id":57554248,"uuid":"68379239","full_name":"lnsp/go-vm","owner":"lnsp","description":"Virtual machine in Go","archived":false,"fork":false,"pushed_at":"2017-02-14T11:41:42.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-28T08:35:09.934Z","etag":null,"topics":["16-bit","assembler","golang","vm"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lnsp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-16T12:50:19.000Z","updated_at":"2021-10-05T20:49:07.000Z","dependencies_parsed_at":"2022-08-27T10:40:35.770Z","dependency_job_id":null,"html_url":"https://github.com/lnsp/go-vm","commit_stats":null,"previous_names":["lnsp/govm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lnsp/go-vm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fgo-vm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fgo-vm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fgo-vm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fgo-vm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnsp","download_url":"https://codeload.github.com/lnsp/go-vm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnsp%2Fgo-vm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002696,"owners_count":26083442,"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-10-10T02:00:06.843Z","response_time":62,"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":["16-bit","assembler","golang","vm"],"created_at":"2024-10-31T10:44:01.392Z","updated_at":"2025-10-10T04:07:35.684Z","avatar_url":"https://github.com/lnsp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"GoVM [![Build Status](https://travis-ci.org/lnsp/go-vm.svg?branch=master)](https://travis-ci.org/lnsp/go-vm)\n=========\n\n## Specification\n\n- 16-Bit address space (from `0x0000` to `0xFFFF`)\n- 8 registers\n\t- Operation registers (AX, BX, CX, DX)\n\t- Pointer registers (CP, SP)\n\t- Flag registers (ZF, CF)\n- Interrupt pointers (IX)\n\t- On-Off interrupt\n\t- Keyboard interrupt\n\t- Stack overflow interrupt\n- Big endian memory layout\n- All standard operations supported\n- Virtual console display (80x24 character grid, 16 colors)\n\n## Memory layout\n### `0 - F`\n|  Address  |    Description    | Name |\n|-----------|-------------------|------|\n| `0`       | code pointer      | CP   |\n| `2`       | stack pointer     | SP   |\n| `4`       | zero flag         | ZF   |\n| `6`       | carry flag        | CF   |\n| `8`       | register          | AX   |\n| `A`       | register          | BX   |\n| `C`       | register          | CX   |\n| `E`       | register          | DX   |\n\n### `10 - FF`\n|  Address  |    Description    | Name |\n|-----------|-------------------|------|\n| `10`      | interrupt value   | IX   |\n| `12`      | ir state          | IT   |\n| `14`      | ir keyboard       | IK   |\n| `16`      | ir stack overflow | IS   |\n\n### `100 - FFF`\n|  Address  |    Description    | Name |\n|-----------|-------------------|------|\n| `100`     | stack base        | SB   |\n| ...       | stack             | -    |\n| `FFF`     | stack max         | -    |\n\n### `1000 - 1FFFF`\nThe memory layout of this region differs from mode to mode. The graphics mode is stored in `1FFE`.\n\nThe only available mode at this time is the **terminal mode** (80x24).\nIn this mode the region (`1000` - `1EFF`) stores character and color data.\nThe first byte maps the color (first half foreground, second half background). You can choose between 8 different colors.\nThe second byte must be a UTF-8 encoded character.\n\n## License\n\nCopyright 2016 Lennart Espe. All rights reserved.\n\nUse of this source code is governed by a MIT-style\nlicense that can be found in the LICENSE.md file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnsp%2Fgo-vm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnsp%2Fgo-vm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnsp%2Fgo-vm/lists"}