{"id":26208680,"url":"https://github.com/seg6/byte","last_synced_at":"2026-03-03T16:39:59.522Z","repository":{"id":65932521,"uuid":"475858580","full_name":"seg6/byte","owner":"seg6","description":"6502 based fantasy console","archived":false,"fork":false,"pushed_at":"2026-02-10T22:40:13.000Z","size":2627,"stargazers_count":29,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-11T00:35:45.431Z","etag":null,"topics":["6502","assembler","emulator","rust"],"latest_commit_sha":null,"homepage":"https://seg6.github.io/byte/","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/seg6.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-30T12:00:18.000Z","updated_at":"2026-02-10T22:38:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"a825ee74-47e3-4793-a518-dec527b68021","html_url":"https://github.com/seg6/byte","commit_stats":null,"previous_names":["nullptropy/byte","heaptr/byte","seg6/byte"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seg6/byte","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seg6%2Fbyte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seg6%2Fbyte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seg6%2Fbyte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seg6%2Fbyte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seg6","download_url":"https://codeload.github.com/seg6/byte/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seg6%2Fbyte/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30052095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T15:26:47.567Z","status":"ssl_error","status_checked_at":"2026-03-03T15:26:17.132Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["6502","assembler","emulator","rust"],"created_at":"2025-03-12T06:29:36.561Z","updated_at":"2026-03-03T16:39:59.492Z","avatar_url":"https://github.com/seg6.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# byte\n\nA work-in-progress fantasy console designed to provide a user-friendly platform for those who want to learn 6502 assembly.\n\n# Progress\n\n- [x] core emulation of 6502, passes [Klaus' test suite](https://github.com/Klaus2m5/6502_65C02_functional_tests)\n- [ ] functional emulator\n  - [x] loading binary/text files\n  - [x] base emulator implementation (the console with a screen and keypad)\n  - [x] interactive memory monitor\n  - [ ] step debugger\n  - [ ] code editor\n  - [ ] in memory virtual file system for the wasm target\n- [ ] custom assembler\n- [ ] custom programming language\n\nThere is a simple PoC deployed at [seg6.github.io/byte](https://seg6.github.io/byte/), running [demo.s](byte_emu/assets/demo.s).\n\n# Special Registers\n\n* **0xfd**: **Video Page Pointer**\n  -  This register contains a pointer to the page that will contain the framebuffer.\n* **0xfe**: **RNG Source**\n  - This register resets after each executed instruction and serves as a source of random numbers.\n* **0xff**: **Input Register**\n  - This register holds the key that is currently being pressed down.\n\n**Key mapping**:\n\n| Key    | Mapping    | Mask |\n|--------|------------|------|\n| Right  | ArrowRight | 0x01 |\n| Left   | ArrowLeft  | 0x02 |\n| Down   | ArrowDown  | 0x04 |\n| Up     | ArrowUp    | 0x08 |\n| Start  | S          | 0x10 |\n| Select | A          | 0x20 |\n| B      | F          | 0x40 |\n| A      | D          | 0x80 |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseg6%2Fbyte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseg6%2Fbyte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseg6%2Fbyte/lists"}