Difference between revisions of "CcZ80++"
(Created page with "The language ccz80++ has a syntax based on the C++ language It works in command line mode under Windows, but it is possible use it on Linux with WINE or MON...") |
(No difference)
|
Revision as of 04:50, 26 February 2017
The language ccz80++ has a syntax based on the C++ language
It works in command line mode under Windows, but it is possible use it on Linux with WINE or MONO and also on MacOS with MONO. From a program written in the language ccz80++ the compiler generates an executable binary file for a computer-based Z80 or an emulator and also can generates an assembler file equivalent.
The compiler is free for any use and the existing library of functions on this page is open source, but the source code of compiler is not released.
For a compiler made by the same author that uses C syntax, see [CcZ80]].
Targets
ccz80 main targets are the z80 based homecomputers of the 80's (ZX Spectrum, MSX and the Amstrad CPC) but can generate code for any z80 based computer.
Usage
Download ccz80++ from the main website.
Set Windows environment variable 'PATH' to point to the location of the extracted zip file you downloaded.
Then to target CPC you set path to point to the location of the CPC classes you will be using:
e.g.
ccz80++ code.cpp /org=16384 /out=bin /path=classes/cpc;classes/generic
This will generate an executable binary.