Home

Awesome

TinyCC Compiler for the WDC 65816

About

TinyCC Compiler for the WDC 65816 for the WDC 65816 processor.

This projet is a fork of the TinyCC Compiler.

It does not manage the linkage or the creation of binary but only produces the assembly code.

The produced code is:

Some considerations

TCC is a ANSI C compiler, mostly implemented in C90. Do not use any non-C90 features that are not already in use.

For more informations, see CodingStyle

Getting Started

Build it

Compile it using the make command.

make

Generate the documentation

Generate the documentation in docs/html like this.

make docs

The current documentation is still in progress and can be incomplete or inaccurate.

Use it

See the help option.

./816-tcc -h

usage: 816-tcc [-v] [-c] [-H] [-F] [-o outfile] [-Idir] [-Wwarn] [infile1 infile2...]

General options:
  -v          display current version, increase verbosity
  -c          compile only - generate an object file
  -H          hiRom (Mode 21) Memory Map compilation
  -F          FastRom compilation
  -o outfile  set output filename
  -Wwarning   set or reset (with 'no-' prefix) 'warning' (see man page)
  -w          disable all warnings
Preprocessor options:
  -E          preprocess only
  -Idir       add include path 'dir'

License

TCC is distributed under the GNU Lesser General Public License (see COPYING and RELICENSING).

License: GPL v3

Contributing

See CONTRIBUTING.

Acknowledgements

The main contributors of this project:

And all the other contributors that I forget to name.