Oct 172015
 

A new version of CPCtelera, the Amstrad CPC game engine for C developers, was just released in version 1.3. CPCtelera offers a huge C library for the SDCC C cross-compiler, which makes it easier to create games and applications for the Amstrad CPC. This version features SDCC patches and bugfixes, some speed optimisations, new methods and a big toolset improvement. It is available for Windows, Linux and OS-X. You can get the latest version from GitHub and discuss it in the CPCWiki.

Changes in v1.3:

  • API change on cpct_getXBits functions. Changed order of parameters to further optimize operations.
  • Optimized functions: bitarray functions, cpct_count2VSYNC, cpct_px2byteM0, cpct_enable/disablefirmware, cpct_getHWColour, cpct_setPalette, cpct_fw2hw
  • Added example on getting hardware values with cpct_getHWColour
  • Automatic inclusion of binary files in DSK: Users can now specify a path for the makefile to retrieve binary files and insert them on the DSK on compilation.
  • iDSK: Fixed historic data corruption problem on adding new files.
  • Added cpct_winape script that automatically downloads, installs and lauches winape from command line to speed up development process. It works multiplatform, transparently using wine where required.
  • Added cpct_setInterruptHandler and cpct_removeInterruptHandler functions to let the user easily hook any function to system interrupts.
  • Added example on hooking a function to system interrupts.
  • Added cpct_img2tileset support for generating sprites with interlaced masks.
  • Added new script cpct_tmx2csv to convert tmx files from tiled into CSVs ready for inclusion in user code.
  • Added Augusto Ruiz’s dskgen tool for generating and managing DSKs low level.
  • Updated SDCC with latest patches and bugfixes.
  • Modified SDCC building: SDCC now builds with maximum optimizations activated and all unnecessary parts are removed from compilation (it compiles faster)
  • Improved Makefile functions for CDT Creation.
  • Added examples about automatic assets inclusion/conversion and CDT generation with multiple files.
  • Improved compatibility and functionality of Augusto Ruiz’s img2cpc
  • Improved examples and explanations
  • Added GCC/CLang version checking on installation (checks required C++11 features are present)
  • Added splitted C/ASM bindings for most of CPCtelera’s functions, along with __z88dk_callee and __z88dk_fastcall calling convention use.
Aug 062015
 

After two months of intense development a new version of CPCtelera, the Amstrad CPC game engine for C developers, was just released. CPCtelera offers a huge C library for the SDCC C cross-compiler, which makes it easier to create games and applications for the Amstrad CPC. It is available for Windows, Linux and OS-X. You can get the latest version from GitHub and discuss it in the CPCWiki.

UPDATE: Version 1.2.1 was released some bugs including a OSX problem during installation. See below for more information.

New features included in v1.2:

  • Added new modules: cpct_random & cpct_easytilemaps
  • 3 new fast functions for very easy management of Tilemaps and Tilesets directly.
  • New cpct_img2tileset utility for converting images containing complete tilesets or sprites groups into C data for including directly in projects code.
  • 2 new fast functions for generating pseudo-random byte numbers uniformly distributed.
  • 2 faster memset functions, up to 3 times faster than original cpct_memset (cpct_memset_f8, cpct_memset_f64)
  • New function to set the location of the program stack at will (cpct_setStackLocation)
  • New function for drawing Masked Aligned Sprites using Transparency Tables(cpct_drawSpritesMaskedAlignedTable)
  • Added a transparency_tables header file for easing inclusion.
  • Added a C-script for generating mask lookup tables.
  • Added new examples: Text Software Scrolling, fastmemset, Easytilemaps demo, drawSpritesMaskedAligned demo, ProgramStack demo.
  • Added Img2CPC image conversion tool by Augusto Ruiz.
  • Added new version of RGAS: 1.0
  • Updated SDCC to 3.5.0
  • Movable project folders: they can be moved to different locations on a same hard-disk or even on a different machine without any change (provided CPCtelera 1.2 is installed). They now use an environment variable for linking with framework.

List of improvements and bug-fixes:

  • Added a bug-fix for SDCC __z88dk_callee function binding on tail jumping optimizations.
  • Improved performance for C calls to functions using __z88dk_callee and __z88dk_fastcall new calling conventions included with SDCC 3.5.0.
  • Fixed mixed up definitions for Joy1_Fire1 and Joy1_Fire2
  • Optimized several library functions.
  • Documented functions that use self-modifying code (and will not work from ROM, logically)
  • Split C and ASM bindings for most functions: calls from both languages include their own code without overheads
  • Recalculated timings of most functions with respect to Amstrad’s microsecond-rounded scheme.
  • cpct_mkproject checks for valid AMSDOS characters on project names.
  • Fixed a subtle calculation bug in cpct_getScreenPtr
  • Added library cleanup to setup.sh
  • Improved OSX compatibility for the cpct_mkproject and setup.sh scripts

 Changes in v1.2.1:

  • Fixed setup.sh failing under OSX
  • Fixed cpct_img2tileset not accepting full paths
  • Better information display and progressbar for cpct_img2tileset
  • Added offline documentation that was being ignored by git
  • Added new advanced example: Smooth 1-pixel movement in mode 0 (advanced/move1pixel)
Jun 232015
 

Do you want to develop a game for the Amstrad CPC? Yes? Then this is maybe the optimal time to start with it, because the CPCRetroDev 2015 contest has just started and it offers about 900 EURs in prices. It is organised by the University of Alicante / Spain and aims to award the best and creative game developers who developed a game for the Amstrad CPC 464. The deadline is friday, 23rd October 2015 – so you still have enough time to get into Amstrad CPC development either with the CPCtelera game development kit, the great programming tutorials on CPCMania, the CPCrslib programming library or cpcitor’s development toolchain.

The following awards can be achieved:

PRO Category

  • 300 € Best game
  • 150 € 2nd best game
  • 75 € 3rd best game

BASIC Category

  • 100 € Best game
  • 50 € 2nd best game

Special mentions from the jury

  • 125 € Special mention for best technical achievement
  • 100 € Special Devilish Games mention to the most original game

You can get more information about the competition rules and about the competition itself on the CPCGameDev 2015 homepage. Be sure to participate and bring your creative game ideas to the Amstrad CPC.

Jun 092015
 

A new version of CPCtelera, the Amstrad CPC game engine for C developers, was just released. CPCtelera offers a huge C library for the SDCC C cross-compiler, which makes it easier to create games and applications for the Amstrad CPC. It is available for Windows, Linux and OS-X. You can get the latest version from GitHub and discuss it in the CPCWiki.

Changes:

May 152015
 

You have a great idea for an awesome Amstrad CPC game? You want to use a cross-compiler and all your powerful tools on your PC? You don’t know where to start to develop for the Amstrad CPC? Then you should definitively have a look at CPCtelera, a new game engine for the Amstrad CPC, which is based on the SDCC C compiler. It has a very good documentation, a lot of examples and is available for Windows, Linux and OS-X.
You can get the latest version from the official homepage or download it from GitHub.

Features

  • A low-level library with support for: graphics, audio, keyboard, firmware, strings, video hardware manipulation and memory management.
  • An API for developing games and software in C and Assembler.
  • A complete multi-platform building system with support for building CDTs and DSKs automatically.
  • Tools for content authoring (audio, graphics and level editing)

Aims of CPCtelera

  • Delivering a convenient, usable and fast environment for developing games
  • Providing an up-to-date, detailed and easy to consult documentation
  • Giving technical details of the complete implementation for those curious
  • Easing the install and configuration process

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