Archives of Genesis8 Amstrad Page from 1999 to 2024 about programmation, page 7 / 8





Crazy Cars CPC, a remake programmed in basic with QB64 by F.L. (Barbarian 1987)

-

After creating a Barbarian remake for its 25th anniversary, F.L. just programmed in only 1 month and 1000 lines code Crazy Cars CPC : a faithful remake though with some differences : shorter levers for example. The game is open source so you can make it better if you want.

F.L. did program it with in basic (QB64), which is a windows compiler. You can get out your gwbasic or quick basic programs and still run them with QB64, or use the new features bringed by QB64 (like networking).

screen of the Crazy Cars amstrad cpc game



Small Device C Compiler v3.2.0 is available, program in C for Amstrad CPC

-

The final version of the multi platform C compilator SDCC v3.2.0 is avalaible.

It brings better Z80 code generation, if you already use SDCC, you should update your version.



All the listings of Hebdogiciel within easy reach

-

The french newspaper Hebdogiciel published many computers listings, for all computers of the 80 era in this weekly newspaper by Shift Editions.

It was available between 1983 and 1987, and survived only with its sales, disallowing ads to stay independent.

Today, all its listing are available on Hebdogiciel.





Barbarian 1987, a remake programmed in basic with QB64 by F.L.

-

For the 25 years of Barbarian, F.L. delivered us Barbarian 1987 : the most faithful remake possible of this game which did cut a lot of heads years ago.

F.L. did program it with in basic (QB64), which is a windows compiler. You can get out your gwbasic or quick basic programs and still run them with QB64, or use the new features bringed by QB64 (like networking).

screen of the Barbarian amstrad cpc game




Prince of Persia (Apple 2) source code found and now on Github

-

Three weeks ago, the source code of the Apple 2 version of Prince of Persia has been found by his author Jordan Mechner.

And today, you can get this source code of Prince of Persia on Github.

You will see on the photo boxes of cassette version of Prince of Persia and Karateka.

the original Apple 2 Prince of Persia source code



CPCDiskXP v2.3 and programming tutorials by Mochilote on CPCMANIA

-

The last version of the CPCDiskXP utility is available on CPCMania.

You will also find various programming tutorials, especially tutorials about using C compilers like Z88dk and SDCC, or assembler compiler like Pasmo.



ccz80 v3.1.3 a cross-compiler using a C like syntax for PC aimed for the Amstrad CPC

-

You can download the latest version of ccz80 (v3.1.3). The ccz80 language has a syntax based on C language, to program for Amstrad CPC, ZX Spectrum and MSX on a PC.

This new version corrects some Amstrad CPC librairies (and more).

P.S. : see CCZ80++ now.



C Programming on and for Amstrad CPC (with SDCC, z88dk and ccz80)

-

To program in C on Amstrad CPC there are several compilers :

  • Small-C
  • Arnord-C
  • Hitech-C
  • Small-C
  • PhrozenC (on AND for Amstrad CPC as it also exists for windows)

But you can also program in C for Amstrad CPC on another platform. First,the multi-platform C compiler SDCC v3.1.0 targetting Z80 is out.

To use this compiler you can use an IDE : either Code::Blocks with its SDCC template by Octoate, or Phactory v2.1 by NoRecess with the help of SDCC2Pasmo v1.5(wich comes with sources). SDCC2Pasmo takes an .ASM file created by SDCC and converts it to used with PASMO (a Z80 cross assembler) which is compatiblewith Maxam (Amstrad CPC Z80 compiler, WinApe too).

You can find tutors for using SDCC on NoRecess web site or on CPCWiki.

If you are interested in using SDCC, you should read this CPCWiki forum thread about SDCC possible problems and anotherabout sMIDP2lib : a SDCC framework library by Mr Lou (which has now its own page on CPCWiki.

SDCC isnt the only compiler you can use, there is also :

ESP Soft's blog (google translation herein english) has informations about using Z88dk (librairies like cpcrslib and cpcwyzlib) and ccz80 (earliest news).



Mandelbrot in one line of basic by Demoniak

-

Just copy this one line of basic code by Demoniak and paste it in WinApe in the File Menu (or Ctrl + F11, or with any other Amstrad CPC emulator. Just for fun, like the Nyan Cat.

10 MODE 0:e=-1.3:FOR y%=0 TO 199:d=-2.4:FOR x%=0 TO 159:z=0:i=0:a%=0:WHILE a%<15 AND (z*z+i*i)<4:s=(z*z)-(i*i)+d:r=(2*i*z)+e:z=s:i=r:a%=a%+1:WEND:PLOT x%*4,y%*2,a%:d=d+0.0215:NEXT:e=e+0.013:NEXT

P.S. : in the general settings of WinApe, click on display every 1 frame and Turbo Mode, or you may have to wait a bit...

P.P.S : the second image is another basic source (more than 1 line) by Tronic-GPA.

Mandelbrot en une ligne de basic par Demoniak  Mandelbrot NOT one liner by Tronic-GPA



Edge grinder, a new multi-platform shoot them up game

-

Guess what, Axelay is working on a port of Edge Grinder (see below), so says one of my numerous spies, who assured me that it isnt a secretand safe to be announced.

Edge grinder is in fact a work in progress C64 game at the start, the first Format War "Collabortition" (a combination of collaboration andcompetition) with the plan being for programmers on other 8-bits to consider ways to convert it from the C64 to their platform of choice. So on the Format War web site you can download all you needto port the game, source code, map, background and sprite data.

Edge Grinder on C64 by Backward Engineering


Upscaling retro 8bit pixel art to vector graphics

-

A new algorythm able to transform bitmap graphics such as on an Amstrad CPC to vector graphics, has been created. It can create smooth, curved contour lines from only-connected-on-the-diagonal single pixels. That would mean playing games on a big screen without big ugly pixels. See below for the link.




Cheril of the Bosque by the Mojon Twins

-

This is one news I should have written months ago, so much to say, though it will still be short. The Mojon Twins are spanish developers who simply piss code like cows do, I really dont know where they find time to write so many games.

Their latest creation is Cheril of the Bosque.

Dont hesitate to get their other games, many are coming with the sources like Kevin Thacker did with Blue Angel 69.



For more news, Go to home page