cc65 is a complete cross-development package for 65(C)02 systems, including a powerful macro assembler, a C compiler, linker, archiver, simulator and several other tools. cc65 has C and runtime library support for many of the old 6502 machines. For details look at the cc65 web site:
| Company / People | Machine / Environment |
|---|---|
| Apple | Apple II |
| Apple IIe enhanced | |
| Atari | Atari 400/800 |
| Atari 2600 | |
| Atari 5200 | |
| Atari 7800 | |
| Atari XL | |
| Lynx | |
| Tangerine | Oric Atmos |
| Eureka | Oric Telestrat |
| Acorn | BBC series |
| Commodore | C128 |
| C16 | |
| C64 | |
| CBM 510/610 | |
| PET | |
| Plus/4 | |
| VIC-20 | |
| VTech | CreatiVision |
| Commander X16 Community | Commander X16 |
| Bit Corporation | Gamate |
| Berkeley Softworks | GEOS (Apple/CBM) |
| LUnix Team | LUnix (C64) |
| Nintendo | Nintendo Entertainment System (NES) |
| Ohio Scientific | OSI C1P |
| MOS Technology, Inc. | KIM-1 |
| NEC | PC Engine (PCE) |
| Rumbledethumps | Picocomputer 6502 (RP6502) |
| Watara | Watara/QuickShot Supervision |
| Synertek | SYM-1 |
| USSR | Agat-7/9 |
A generic configuration to adapt cc65 to new targets is also around.
cc65 is originally based on the "Small C" compiler by Ron Cain and enhanced by James E. Hendrix.
- John R. Dunning: original implementation of the C compiler and runtime library, Atari hosted.
- Ullrich von Bassewitz:
- moved Dunning's code to modern systems,
- rewrote most parts of the compiler,
- rewrote all of the runtime library.
- Christian Groessler: Atari, Atari5200, and CreatiVision library Maintainer
- dqh: GHA help
- Greg King: all around hackery
- groepaz: CBM library, Project Maintainer
- Oliver Schmidt: Apple II library Maintainer
- acqn: various compiler fixes
- jedeoric: Telestrat target
- jmr: compiler fixes
- karrika: Atari 7800 target
- Stephan Mühlstrasser: osic1p target
- Wayne Parham: Sym-1 target
- Dave Plummer: KIM-1 target
- Rumbledethumps: RP6502 target
(The above list is incomplete, if you feel left out - please speak up or add yourself in a PR)
For a complete list look at the full team list or the list of all contributors.
For general discussion, questions, etc subscribe to the mailing list or use the github discussions.
Some of us may also be around on IRC #cc65 on libera.chat.
- The main Documentation for users and developers.
- Info on Contributing to the CC65 project. Please read this before working on something you want to contribute, and before reporting bugs.
- The Wiki contains some extra info that does not fit into the regular documentation.
To build the cc65 suite from source, a simple make in the root directory
is usually enough:
makeBy default, the build includes debug information. To create a release build
without debug information, you can set the DEBUG variable to 0:
make DEBUG=0Dieser Fork enthält in .dev-tools/ lokale Hilfsskripte für den Pre-Push Secret-Scan.
Sie liegen bewusst in einem versteckten Verzeichnis, um nicht mit der Upstream-Struktur zu kollidieren.
This fork includes local helper scripts in .dev-tools/ for pre-push secret scanning.
They are intentionally placed in a hidden directory to avoid conflicts with the upstream structure.
# macOS / Linux
git clone https://github.com/hindermath/cc65.git
cd cc65
bash .dev-tools/install-hooks.sh# Windows (PowerShell Core >= 7)
git clone https://github.com/hindermath/cc65.git
Set-Location cc65
pwsh .dev-tools/install-hooks.ps1| Skript / Script | Beschreibung / Description |
|---|---|
.dev-tools/install-hooks.sh |
Git-Hooks installieren (Bash) |
.dev-tools/install-hooks.ps1 |
Git-Hooks installieren (PowerShell Core) |
.dev-tools/scan-agent-secrets.sh |
Secret-Scan manuell ausführen (Bash) |
.dev-tools/scan-agent-secrets.ps1 |
Secret-Scan manuell ausführen (PowerShell Core) |
.dev-tools/hooks/pre-push |
Pre-Push Hook – blockiert Push bei Secrets |
Der pre-push-Hook läuft automatisch bei jedem git push und prüft alle
git-getrackten Dateien auf Credentials, Tokens und andere Secrets.
The pre-push hook runs automatically on every git push and checks all
git-tracked files for credentials, tokens, and other secrets.
Dieses Projekt folgt grundlegenden Barrierefreiheitsstandards für alle dokumentierten Inhalte und Benutzeroberflächen.
Richtlinien für Markdown-Dokumentation:
- Überschriften folgen einer klaren Hierarchie (h1 → h2 → h3 — keine Ebene überspringen)
- Alle Bilder haben aussagekräftige Alt-Texte (
) - Linkbeschriftungen sind beschreibend (
[Installationsanleitung](...)statt[hier](...)) - Code-Blöcke geben die Sprache an (
```bash,```powershell) - Tabellen haben Kopfzeilen für alle Spalten
- Keine Informationen werden ausschließlich über Farbe vermittelt
This project follows basic accessibility standards for all documented content and user interfaces.
Guidelines for Markdown documentation:
- Headings follow a clear hierarchy (h1 → h2 → h3 — no level skipped)
- All images have meaningful alt texts (
) - Link labels are descriptive (
[Installation guide](...)instead of[here](...)) - Code blocks specify the language (
```bash,```powershell) - Tables have header rows for all columns
- No information is conveyed through colour alone
Neue Features in diesem Workspace werden nach dem Specification-Driven Development (SDD)-Workflow entwickelt.
Der Workflow verwendet das speckit-CLI-Tool (GitHub Copilot Skill).
Schritte für ein neues Feature:
- Spezifikation erstellen —
speckit specify "Feature-Name"→specs/{branch}/spec.md - Klärungsfragen —
speckit clarify→ offene Fragen inspec.mdbeantworten - Implementierungsplan —
speckit plan→specs/{branch}/plan.md - Aufgabenliste —
speckit tasks→specs/{branch}/tasks.md - Implementieren —
speckit implement→ Aufgaben austasks.mdabarbeiten - Validieren —
bash scripts/check-homogeneity.sh→ Compliance-Score prüfen
Alle Spec-Artefakte werden im Branch-Verzeichnis specs/{branch}/ gespeichert und versioniert.
New features in this workspace are developed following the Specification-Driven Development (SDD) workflow.
The workflow uses the speckit CLI tool (GitHub Copilot Skill).
Steps for a new feature:
- Create specification —
speckit specify "Feature Name"→specs/{branch}/spec.md - Clarification questions —
speckit clarify→ answer open questions inspec.md - Implementation plan —
speckit plan→specs/{branch}/plan.md - Task list —
speckit tasks→specs/{branch}/tasks.md - Implement —
speckit implement→ work through tasks intasks.md - Validate —
bash scripts/check-homogeneity.sh→ check compliance score
All spec artefacts are stored and versioned in the branch directory specs/{branch}/.
Prüft dieses Projekt auf Compliance (constitution.md, A11Y, Spec-kit, Azubis-Abschnitte, STATS.md). Checks this project for compliance (constitution.md, A11Y, Spec-kit, Azubis sections, STATS.md).
bash .dev-tools/check-homogeneity.sh
# JSON-Ausgabe für CI/Scripting / JSON output for CI/scripting
bash .dev-tools/check-homogeneity.sh --jsonpwsh .dev-tools/check-homogeneity.ps1
pwsh .dev-tools/check-homogeneity.ps1 -JsonSchreibt einen Baseline-Eintrag in STATS.md. Einmalig nach dem Einrichten ausführen.
Writes a baseline entry to STATS.md. Run once after initial setup.
bash .dev-tools/init-stats.shpwsh .dev-tools/init-stats.ps1Benennt eine Lastenheft-Datei via git mv um und committet — fügt Branch-Suffix hinzu.
Renames a Lastenheft file via git mv and commits — adds branch suffix.
# Datei umbenennen und committen / Rename and commit
bash .dev-tools/rename-lastenheft.sh Lastenheft_foo.md 002-feature-branch
# Ergebnis / Result: Lastenheft_foo.002-feature-branch.mdpwsh .dev-tools/rename-lastenheft.ps1 -File Lastenheft_foo.md -Branch 002-feature-branchInstalliert den pre-push-Hook nach dem Clonen auf einem neuen Gerät.
Installs the pre-push hook after cloning on a new device.
bash .dev-tools/install-hooks.shpwsh .dev-tools/install-hooks.ps1Willkommen! Diese Sektion beschreibt den Einstieg in die Entwicklungsumgebung für Fachinformatiker-Azubis und andere Einsteiger.
Voraussetzungen:
- Git (macOS:
brew install git/ Windows:winget install Git.Git) - PowerShell 7+ (Windows:
winget install Microsoft.PowerShell) - ripgrep (macOS:
brew install ripgrep/ Windows:winget install BurntSushi.ripgrep.MSVC) - GitHub CLI (macOS:
brew install gh/ Windows:winget install GitHub.cli)
Ersten Schritt ausführen:
# Repository klonen
git clone <repo-url>
cd <projekt-verzeichnis>
# Hooks installieren
bash scripts/install-hooks.sh
# Compliance prüfen
bash scripts/check-homogeneity.shHilfreiche Befehle:
| Befehl | Beschreibung |
|---|---|
bash scripts/check-homogeneity.sh |
Compliance-Bericht anzeigen |
bash scripts/init-stats.sh |
Compliance-Baseline in STATS.md schreiben |
git log --oneline -10 |
Letzte 10 Commits anzeigen |
Bei Fragen: Issue im GitHub-Repository erstellen oder Mentor ansprechen.
Welcome! This section describes how to get started with the development environment for apprentice software developers (Fachinformatiker-Azubis) and other beginners.
Prerequisites:
- Git (macOS:
brew install git/ Windows:winget install Git.Git) - PowerShell 7+ (Windows:
winget install Microsoft.PowerShell) - ripgrep (macOS:
brew install ripgrep/ Windows:winget install BurntSushi.ripgrep.MSVC) - GitHub CLI (macOS:
brew install gh/ Windows:winget install GitHub.cli)
First steps:
# Clone the repository
git clone <repo-url>
cd <project-directory>
# Install hooks
bash scripts/install-hooks.sh
# Check compliance
bash scripts/check-homogeneity.shUseful commands:
| Command | Description |
|---|---|
bash scripts/check-homogeneity.sh |
Show compliance report |
bash scripts/init-stats.sh |
Write compliance baseline to STATS.md |
git log --oneline -10 |
Show last 10 commits |
For questions: open an issue in the GitHub repository or ask your mentor.