All Projects → pzembrod → cc64

pzembrod / cc64

Licence: other
cc64 is a small-C compiler written in Forth, hosted on the Commodore C64, Plus4 and C16 with 64k, and on the Commander X16. It is targeting the 6502 CPU.

Programming Languages

forth
179 projects
c
50402 projects - #5 most used programming language
Makefile
30231 projects
shell
77523 projects
awk
318 projects

Projects that are alternatives of or similar to cc64

cbmtapepi
Use a Raspberry Pi as fast mass storage solution for your Commodore 8-bit computer using just the datassette port.
Stars: ✭ 41 (-28.07%)
Mutual labels:  c64, 6502, cbm
atari64
Commodore 64 OS running on Atari 8-bit hardware
Stars: ✭ 133 (+133.33%)
Mutual labels:  c64, 6502, cbm
basicv2
A Commodore (CBM) BASIC V2 interpreter/compiler written in Java
Stars: ✭ 73 (+28.07%)
Mutual labels:  c64, 6502
apultra
Free open-source compressor for apLib with 5-7% better ratios
Stars: ✭ 84 (+47.37%)
Mutual labels:  c64, 6502
retro-computing
🤓🕹💾 This hobby project contains software implementations of old microprocessors and complete computer systems. I'm very interested in retrocomputing and this is how I learn about the inner workings of these old, classic and amazing computers and game consoles.
Stars: ✭ 15 (-73.68%)
Mutual labels:  c64, 6502
6502-npp-syntax
Notepad++ Syntax Highlighting for 6502 Assembly (and NESASM)
Stars: ✭ 21 (-63.16%)
Mutual labels:  c64, 6502
c64adventures
Adventures into retro 8 bit Commodore 64 programming
Stars: ✭ 14 (-75.44%)
Mutual labels:  c64, 6502
retrore
A curated list of original and reverse-engineered vintage 6502 game sourcecode.
Stars: ✭ 22 (-61.4%)
Mutual labels:  c64, 6502
Mad-Pascal
Mad Pascal Compiler for 6502 (Atari XE/XL, C64, C4Plus)
Stars: ✭ 46 (-19.3%)
Mutual labels:  c64, 6502
c64-game
A horizontal space shooter for Commodore 64.
Stars: ✭ 17 (-70.18%)
Mutual labels:  c64, 6502
language-65asm
Adds syntax highlighting to 65816/65C816/65802/6502/65C02 files in Atom, with extra support for various compilers.
Stars: ✭ 32 (-43.86%)
Mutual labels:  6502
msx-forth83
Forth 83 and MSX computer. Libraries and tools to use Forth 83 CP/M-80 (by Laxen and Perry) with MSX computers.
Stars: ✭ 13 (-77.19%)
Mutual labels:  forth83
go6502
6502 CPU emulator, assembler and disassembler written in Go
Stars: ✭ 31 (-45.61%)
Mutual labels:  6502
Donsol
Card game for the Famicom, written in 6502 assembly
Stars: ✭ 106 (+85.96%)
Mutual labels:  6502
n65
An assembler for the 6502 microprocessor written in Ruby
Stars: ✭ 12 (-78.95%)
Mutual labels:  6502
pettil
6502 Forth-83 dialect for the Commodore PET 2001
Stars: ✭ 31 (-45.61%)
Mutual labels:  6502
c64-wifimodem
Source code for my c64-wifimodem
Stars: ✭ 16 (-71.93%)
Mutual labels:  c64
asm6f
A fork of loopy's ASM6, a 6502 assembler.
Stars: ✭ 79 (+38.6%)
Mutual labels:  6502
tamagotchi-tech-specs
Tamagotchi Tech Specs
Stars: ✭ 29 (-49.12%)
Mutual labels:  6502
LittleSixteen
Commodore 16 schematics and PCB, redrawn in Kicad
Stars: ✭ 26 (-54.39%)
Mutual labels:  plus4

cc64

cc64 is a small-C compiler, written in Forth (here's why), targeting the 6502 CPU. It's hosted on the Commodore C64, on the C16 with 64k RAM and the Plus4, and on the new Commander X16, and runtime targets are also available for all 3 platforms, on each host, allowing cross-compilation.

See Usage for how to use cc64, including how to get curly braces in PETSCII.

cc64 language restrictions lists the subset of C that cc64 supports.

Code layout and library concept explains, among others, how to create a new target.

LibC Reference describes the LibC subset that comes with cc64, plus the lib's deviations from the standard.

Emulator and file formats describes the emulator setup I use for developing and testing.

Design is a first stab at documenting the compiler's inner structure.

History

I wrote cc64 during my university years; the majority of the code was written 1989-1991. Motivated by buzzphp who's building a C library for cc64, and also by Johan Kotlinski of DurexForth and AcmeForth, I have finally open-sourced the project. See Versions for more info.

I hope you'll find cc64 fun to use; I definitely had - and am having - fun developing it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].