{"id":31737267,"url":"https://github.com/kyllingene/vc64","last_synced_at":"2025-10-09T09:11:42.807Z","repository":{"id":115901158,"uuid":"491664646","full_name":"Kyllingene/vc64","owner":"Kyllingene","description":"An experimental virtual console using x86-64 assembly","archived":false,"fork":false,"pushed_at":"2024-05-02T22:26:44.000Z","size":39,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-03T07:00:13.609Z","etag":null,"topics":["game-development","games","rust","virtual-console","x86-64"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Kyllingene.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":"2022-05-12T20:52:23.000Z","updated_at":"2024-05-02T22:26:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f4b6bfa-15b4-483e-9b0a-7274d09ab9bf","html_url":"https://github.com/Kyllingene/vc64","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Kyllingene/vc64","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kyllingene%2Fvc64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kyllingene%2Fvc64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kyllingene%2Fvc64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kyllingene%2Fvc64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kyllingene","download_url":"https://codeload.github.com/Kyllingene/vc64/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kyllingene%2Fvc64/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001133,"owners_count":26083021,"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-09T02:00:07.460Z","response_time":59,"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":["game-development","games","rust","virtual-console","x86-64"],"created_at":"2025-10-09T09:08:48.246Z","updated_at":"2025-10-09T09:11:42.798Z","avatar_url":"https://github.com/Kyllingene.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vc64\n\n## Description\n*vc64* is a just-for-fun project made in Rust. It uses [macroquad](https://crates.io/crates/macroquad) to make a cross-platform virtual console of sorts that you program in (NASM) x86-64 assembly.\nIn it's current state, it only supports the following features:\n - 7 colors\n - clear the screen\n - get state of 9 keys\n - draw rectangles (currently uses `u64` instead of `f32`, so poor precision)\n - basic sprite drawing\n \nHowever, the hope is for these features to be implemented by the end:\n - 16x16 sprite table (written in `src/sprites.asm`)\n - 4-color pallette with 32 available colors\n - Dynamically-linked object files instead of only statically-linked files\n - TBD\n\n## Usage\nThe current implementation is  ~100 lines and easy to read, so documentation would be superfluous at this stage. However, `src/main.asm` holds an example program to familiarize you with the concepts.\n\nThere are two assembly source files: `src/windows_main.asm` and `src/unix_main.asm`. This is necessary since Windows and Unix use different calling conventions.\nThe build script will automatically assemble the correct source file for your target OS, but you must manually tranlate between the two.\n***To build, you MUST have `nasm` in your path!***\n\n### Building\n#### Unix\nMake sure you have Rust installed. Clone the repository once per game, then `cd` into the folder and run `cargo build`.\nThis will produce a standalone executable in `target/debug/`. That is your game.\n\n#### Windows\nMake sure you have Rust and Visual Studio installed, along with VS' C++ tools. Then you can run `cargo build` as usual.\nA common indicator that your Windows assembly source is using the wrong calling convention is if it immediately panics with the text \"Invalid key code: \u003csome number\u003e\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyllingene%2Fvc64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyllingene%2Fvc64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyllingene%2Fvc64/lists"}