{"id":36584448,"url":"https://github.com/retroenv/retroasm","last_synced_at":"2026-01-12T08:01:42.831Z","repository":{"id":212705806,"uuid":"732117077","full_name":"retroenv/retroasm","owner":"retroenv","description":"Modern Assembler for Retro Computer Systems","archived":false,"fork":false,"pushed_at":"2025-11-07T21:54:25.000Z","size":176,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-07T23:28:32.303Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/retroenv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"LICENSE","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},"funding":{"patreon":"cornel"}},"created_at":"2023-12-15T17:26:04.000Z","updated_at":"2025-11-07T21:54:29.000Z","dependencies_parsed_at":"2025-08-03T23:23:51.244Z","dependency_job_id":"1c23cc43-ccb3-40c9-bb94-c2f9a7547ccf","html_url":"https://github.com/retroenv/retroasm","commit_stats":null,"previous_names":["retroenv/retroasm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/retroenv/retroasm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retroenv%2Fretroasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retroenv%2Fretroasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retroenv%2Fretroasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retroenv%2Fretroasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/retroenv","download_url":"https://codeload.github.com/retroenv/retroasm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retroenv%2Fretroasm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28336958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"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":[],"created_at":"2026-01-12T08:00:46.090Z","updated_at":"2026-01-12T08:01:42.816Z","avatar_url":"https://github.com/retroenv.png","language":"Go","funding_links":["https://patreon.com/cornel"],"categories":[],"sub_categories":[],"readme":"# retroasm - an assembler for retro computer systems\n\n[![Build status](https://github.com/retroenv/retroasm/actions/workflows/go.yaml/badge.svg?branch=main)](https://github.com/retroenv/retroasm/actions)\n[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go\u0026logoColor=white\u0026style=flat-square)](https://pkg.go.dev/github.com/retroenv/retroasm)\n[![Go Report Card](https://goreportcard.com/badge/github.com/retroenv/retroasm)](https://goreportcard.com/report/github.com/retroenv/retroasm)\n[![codecov](https://codecov.io/gh/retroenv/retroasm/branch/main/graph/badge.svg?token=NS5UY28V3A)](https://codecov.io/gh/retroenv/retroasm)\n\nretroasm is a modern assembler for retro computer systems that compiles assembly language into machine code for classic hardware platforms.\n\n## Features\n\n* **Multi-Format Support** - Compatible with asm6, ca65, and nesasm assembly syntax\n* **Library API** - Use as a Go library for compiler integration and code generation\n* **AST-based Assembly** - Direct AST input for programmatic assembly\n* **Configuration Files** - ca65-style configuration for custom memory layouts\n* **Modern Implementation** - Fast, reliable Go codebase with comprehensive tests\n\n## Supported Systems\n\n| System | Architecture | Assemblers | Status |\n|--------|-------------|------------|--------|\n| **NES** | 6502 | asm6, ca65, nesasm | Stable |\n\n## Quick Start\n\n### Installation\n\n**Option 1:** Download a binary from [Releases](https://github.com/retroenv/retroasm/releases)\n\n**Option 2:** Install from source:\n```bash\ngo install github.com/retroenv/retroasm/cmd/retroasm@latest\n```\n\n### Basic Usage\n\nAssemble a program:\n```bash\nretroasm -o game.nes program.asm\n```\n\nWith ca65-style configuration:\n```bash\nretroasm -c memory.cfg -o game.nes main.asm\n```\n\n### Command-Line Options\n\n```\nusage: retroasm [options] \u003cfile to assemble\u003e\n\n  -c string\n        assembler config file (ca65 compatible)\n  -cpu string\n        target CPU architecture: 6502 (default \"6502\")\n  -debug\n        enable debug logging with detailed output\n  -o string\n        output ROM file name (required)\n  -q    perform operations quietly (minimal output)\n  -system string\n        target system: nes (default \"nes\")\n```\n\n## Library Usage\n\nretroasm can be used as a Go library for integrating assembly into compilers and code generators:\n\n```go\nimport \"github.com/retroenv/retroasm/pkg/retroasm\"\n\nassembler := retroasm.New()\n\n// Assemble from text\noutput, err := assembler.AssembleText(ctx, input)\n\n// Or assemble from AST for code generation\noutput, err := assembler.AssembleAST(ctx, astInput)\n```\n\nSee [examples/](examples/) for complete examples.\n\n## System Requirements\n\n* **Linux:** 2.6.32+\n* **Windows:** 10+\n* **macOS:** 10.15 Catalina+\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fretroenv%2Fretroasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fretroenv%2Fretroasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fretroenv%2Fretroasm/lists"}