Mar 242010
 

Arnaud Storq aka Norecess released the first version of his new C compiler for the Amstrad CPC. The compiler is available in different versions:

  • a PC version for cross-development (command-line)
  • a CPC ROM version (use that, if you can)
  • a 64k CPC version (standalone, which resets after execution)
  • a 128k CPC version (useable with RSX commands)

If you use the compiler on the PC, it will compile a .C file into an ASM file, which you can use e.g. in WinApe to compile it. On the CPC you can compile it with MAXAM.
PhrozenC also comes with a 33 page PDF manual, which covers how to use the compiler for your own programs. Examples are also included and some libraries for file management, graphics, memory mangement, string operations… are also available.
He also wants to improve the compiler, so send him your feedback :-).

You can download PhrozenC from Sourceforge or at the end of this article.

PhrozenC
PhrozenC
PhrozenC-10.zip
Version: 1.0
293.1 KiB
673 Downloads
Details
Jul 122009
 

A new version of Z88dk, a Small-C cross-compiler for Z80 based computers like the Amstrad CPC, the Z88, the Spectrum, etc., was released. You can download the new version from the Z88dk homepage.
Here are the changes of the new version:

  • [z80asm] Supports -I and -L directives to specify library and include paths
  • [z80asm] the # include identify is no longer required
  • [z80asm] Bug fixes for rabbit support
  • [sccz80] Support for alternate assemblers
  • [zcc] Support for alternate assembler/linkers
  • [z80nm] Improvements and bug fixes
  • [lib] MSX: Many improvements
  • [lib] TRS80: Graphics support
  • [lib] CPC: Better handling of firmware calls
  • [lib] Galaksija: New target
  • [lib] C128: Improvements
  • [lib] Many other improvements and bug fixes
Mar 222009
 

The SDCC C cross-compiler is now available in version 2.9.0. It is also possible to produce binaries for the Amstrad CPC with it (see this CPC Wiki article). The most important feature are the optimizations of the Z80 backend which now produces a smaller code size and improved execution speed. Here are the features of the final 2.9.0 version:

  • sdcpp synchronized with GNU cpp 4.3.3
  • Integer constants written in binary (prefix 0b or 0B, followed by a sequence of 0 and 1digits) are now supported as a SDCC extension.
  • pic16 *printf() library functions return int
  • disabled support of undocumented and not standard compliant ‘b’ binary format specifier ("%b", "%hb" and "%lb") in pic16 *printf() and printf_tiny() library functions
  • fixed initialization of unnamed bitfields members of objects of structure and union type
  • many optimizations to reduce code size and increase speed in the Z80 backend
  • added support for ar format libraries to adcc asxxxx
  • libraries, included in sdcc packages, are in ar format
  • sdcc asxxxx license changed to GPLv3
  • added support for many PIC16 devices
  • and a lot of other feature requests and bugfixes

As always you can download it from the official SDCC homepage.

Mar 022009
 

The SDCC team released a first release candidate of their C cross compiler. Like Z88dk, SDCC is able to produce Z80 code. If you want to know more about how you can use SDCC with the CPC you can have a look at the CPCWiki article “SDCC and CPC“. You can download it from the SDCC homepage. The final release is currently planned for 22.03.2009.

Here are the changes of the current version:

  • sdcpp synchronized with GNU cpp 4.3.3
  • Integer constants written in binary (prefix 0b or 0B, followed by a sequence of 0 and 1digits) are now supported as a SDCC extension.
  • pic16 *printf() library functions return int
  • disabled support of undocumented and not standard compliant ‘b’ binary format specifier (“%b”, “%hb” and “%lb”) in pic16 *printf() and printf_tiny() library functions
  • fixed initialization of unnamed bitfields members of objects of structure and union type
  • many optimizations to reduce code size and increase speed in the Z80 backend
  • added support for ar format libraries to adcc asxxxx
  • libraries, included in sdcc packages, are in ar format
  • sdcc asxxxx license changed to GPLv3
Jan 162009
 

Artaburu released a new version of his utility library for the Z88dk C-compiler. Mariano the dragon was written with using this library and so it contains a lot of graphics functions, key functions, map functions, etc. You can download it from the official homepage of the CPCRslib.

Here are the changes of the new version:

  • cpc_TestKey : Code optimized, smaller and faster.
  • cpc_RedefineKey: Code optimized, smaller and faster.
  • cpc_AnyKeyPressed: Rewritten, smaller and faster…. previous version doesn’t work.
  • cpc_SetBorder: Changed caller function, now it’s smaller and faster routine.
  • cpc_InitTileMap: Changed caller function, now it’s smaller and faster routine.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close