1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-27 21:57:28 +00:00
KickC is a C-compiler for 6502-based platforms creating optimized and readable assembler code. The language is 95% standard C with a few limitations and a few extensions. Download Releases here https://gitlab.com/camelot/kickc/-/releases
Go to file
Sven Van de Velde d477cb9eae - New AsmImportLibrary class, for generating the #import statements.
- New AsmIdentifier class that replaces unallowed kickasm characters to an _.
- New AsmIgnoredImportInlinedKickAsm class, for creating the construct to ignore the body lines when the library is imported (used), and removed the #else clause (was confusing).
- Export of global variable in .asm Libraries (first version).
- Removal of constructor_for in .asm libraries.
- Reworked the way in assembler generation how link files are treated.
- Reworked all `replace("-","_")` areas using AsmIdentifier properly.
2024-01-01 16:57:48 +01:00
manual - Documentation for .asm libraries fixes. 2023-12-15 14:51:18 +01:00
repo Upgraded to KickAss 5.25 2023-09-03 14:44:43 +02:00
src - New AsmImportLibrary class, for generating the #import statements. 2024-01-01 16:57:48 +01:00
.gitattributes Attempt at adding C-formatting. 2019-04-20 22:47:18 +02:00
.gitignore - Correct calculation of live ranges for exported and imported procedures parameters and return value, resulting in better ZP coalesce accuracy and ZP allocation compactness. (I really worked a lot on this ...) 2023-12-08 19:06:03 +01:00
.gitlab-ci.yml touching fragment cache. 2022-02-18 10:46:49 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md 2020-08-24 21:32:24 +00:00
LICENSE.txt Added license 2017-12-31 00:12:09 +00:00
Makefile Tweaked doxygen documentation. #672 2021-06-20 10:07:38 +02:00
NOTICE.txt Added cruncher plug-in and example programs. Closes #603 2020-12-30 23:13:55 +01:00
pom.xml #814 Upgrade to Java 17 plus upgraded libraries. 2023-04-06 08:44:31 +02:00
README.md Update README.md 2021-09-29 07:49:24 +00:00

KickC - Optimizing C-compiler for 6502 platforms

KickC is a C-compiler for 6502-based platforms creating optimized and readable assembler code.

The language is 95% standard C99 with a few limitations, and a few extensions to ensure an optimal fit for creating 6502 assembler code.

The KickC-compiler includes all necessary linker and header files to makes it easy to create and test binaries for the following 6502-based platforms out-of-the-box:

  • Commodore VIC 20
  • Commodore 64
  • Commodore Plus/4 (Commodore 16 , Commodore 116)
  • Atari 2600
  • Atari XL/XE
  • Nintendo NES
  • MEGA65
  • Commander X16

KickC uses the very versatile Kick Assembler. The KickC Compiler produces assembler code for the MOS Technology 6502 processor family. Specifically the compiler supports 6502, 65C02, 65CE02 and 45GS02 CPUs.

Resources

  • Download the newest Release

  • Download a nightly build

  • Read the Reference Manual

  • See the included C standard library

  • Follow the features being developed

  • Discuss the compiler and receive news on facebook

  • Chat on discord

  • Examine the Compiler Source Code

  • Contribute to the development of KickC

BETA

KickC is currently in beta, and at times crash or creates ASM code that does not work properly. Feel free to test it and report any problems or errors you encounter, but do not expect it to produce production quality code. Also, be prepared that breaking changes (to syntax, to semantics, etc.) may be implemented in the next versions.