<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://oldwiki.cpcwiki.eu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Genesis</id>
		<title>CPCWiki - THE Amstrad CPC encyclopedia! - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://oldwiki.cpcwiki.eu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Genesis"/>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php/Special:Contributions/Genesis"/>
		<updated>2026-08-28T08:24:31Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.25.1</generator>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=File:Amstrad_cpc_palette.png&amp;diff=50995</id>
		<title>File:Amstrad cpc palette.png</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=File:Amstrad_cpc_palette.png&amp;diff=50995"/>
				<updated>2010-08-16T22:47:52Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: Amstrad CPC palette for Gimp&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Amstrad CPC palette for Gimp&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=User:Genesis&amp;diff=50734</id>
		<title>User:Genesis</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=User:Genesis&amp;diff=50734"/>
				<updated>2010-08-16T04:40:40Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TODO :&lt;br /&gt;
* correct http://www.cpcwiki.eu/index.php/Creating_images_for_the_Amstrad&lt;br /&gt;
* add http://www.mapeditor.org/ ; http://www.intensity.org.uk/samcoupe/pyz80.html&lt;br /&gt;
* https://code.google.com/p/retrodev/ or new code adapted for z88dk , ( see http://www.libpng.org/pub/png/book/toc.html )&lt;br /&gt;
perharps possible to load directly no compressed ( deflate -cf http://sourceforge.net/projects/samflate/ ) png ( removing header ?)&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=User:Genesis&amp;diff=50720</id>
		<title>User:Genesis</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=User:Genesis&amp;diff=50720"/>
				<updated>2010-08-16T02:22:46Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TODO :&lt;br /&gt;
* correct http://www.cpcwiki.eu/index.php/Creating_images_for_the_Amstrad&lt;br /&gt;
* add http://www.mapeditor.org/&lt;br /&gt;
* https://code.google.com/p/retrodev/ or new code adapted for z88dk , ( see http://www.libpng.org/pub/png/book/toc.html )&lt;br /&gt;
perharps possible to load directly no compressed ( deflate -cf http://sourceforge.net/projects/samflate/ ) png ( removing header ?)&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=User:Genesis&amp;diff=50692</id>
		<title>User:Genesis</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=User:Genesis&amp;diff=50692"/>
				<updated>2010-08-15T22:37:57Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: Created page with &amp;quot;TODO : * correct http://www.cpcwiki.eu/index.php/Creating_images_for_the_Amstrad * add http://www.mapeditor.org/ * https://code.google.com/p/retrodev/ or new code adapted for z88...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TODO :&lt;br /&gt;
* correct http://www.cpcwiki.eu/index.php/Creating_images_for_the_Amstrad&lt;br /&gt;
* add http://www.mapeditor.org/&lt;br /&gt;
* https://code.google.com/p/retrodev/ or new code adapted for z88dk , ( see http://www.libpng.org/pub/png/book/toc.html )&lt;br /&gt;
perharps possible to load directly no compressed ( deflate ) png ( removing header ?)&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=CPCRSlib&amp;diff=50687</id>
		<title>CPCRSlib</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=CPCRSlib&amp;diff=50687"/>
				<updated>2010-08-15T01:46:17Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''CPCRSlib''' is a C library containing routines and functions that allow to the handling of sprites and tile-mapping in Amstrad CPC. &lt;br /&gt;
&lt;br /&gt;
The library is written to be used with [[Z88DK|Z88DK]] compiler. CPCRSlib also incorporates keyboard routines to redefine and to detect keys, as well as general routines to change to the screen mode or the colours. &lt;br /&gt;
&lt;br /&gt;
It can be found an explanation of each function/routine included in the library in [http://www.amstrad.es/programacion/cpcrslib.html http://www.amstrad.es/programacion/cpcrslib.html] &lt;br /&gt;
&lt;br /&gt;
Last release of the library can be downloaded at: [http://code.google.com/p/cpcrslib/downloads/list code.google.com/p/cpcrslib/downloads/list] &lt;br /&gt;
&lt;br /&gt;
[[CPCWYZlib|CPCWYZlib]] is included in the downloadable package of CPCRSlib. CPCWYZlib includes a music player and SFX player coded by WYZ, which can play music created with [[WYZTracker|WYZTracker]]. &lt;br /&gt;
&lt;br /&gt;
== installation == &lt;br /&gt;
&lt;br /&gt;
On Ubuntu Lucid Lynx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd cpcrslib/&lt;br /&gt;
z80asm -v -xcpcrslib.lib @cpcrslib.lst&lt;br /&gt;
sudo cp cpcrslib.lib /usr/share/z88dk/lib/clibs/&lt;br /&gt;
sudo cp cpcrslib.h /usr/share/z88dk/include&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
now it should work.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
A classic &amp;quot;Hello world&amp;quot; from cpcrslib : &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;quot;cpcrslib.h&amp;quot;	// CPC Library&lt;br /&gt;
&lt;br /&gt;
int main(void) {&lt;br /&gt;
	cpc_PrintStr(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
	while (!cpc_AnyKeyPressed()) {	}&lt;br /&gt;
	return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should provide a zcc_opt.def in the source directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	DEFINE DEFINED_myzorg&lt;br /&gt;
	defc myzorg = 16384&lt;br /&gt;
&lt;br /&gt;
IF !NEED_appstartup&lt;br /&gt;
	DEFINE	NEED_appstartup&lt;br /&gt;
	defc reqpag = 32&lt;br /&gt;
	defc NEED_expanded = 1&lt;br /&gt;
ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Compile the contents by running the compiler, pre-processor and linker in one go by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zcc +cpc -create-app -make-app -O3 -unsigned -o hello.bin hello.c -lcpcrslib -lndos -zorg=16384&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you'll have a hello.cpc file ready to be run on your CPC.&lt;br /&gt;
&lt;br /&gt;
== Sources of projects using z88dk and cpcrslib ==&lt;br /&gt;
&lt;br /&gt;
* [http://cpcrulez.fr/zip/index.php?download=nanako-srcs Nanako Descends to Hell]&lt;br /&gt;
* [http://cpcrulez.fr/zip/index.php?download=nanako2-srcs Nanako in Classic Japanese Monster Castle]  &lt;br /&gt;
* [http://cpcrulez.fr/zip/index.php?download=coding_src-Platformer_Medley_block_1 Mari Stormbringer Plateform Medley #1 ]&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]] [[Category:C]][[Category:CrossDev]]&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=50686</id>
		<title>Z88DK</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=50686"/>
				<updated>2010-08-14T22:54:20Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''Text copied from the official Z88dk website.''&lt;br /&gt;
&lt;br /&gt;
== What is Z88dk? ==&lt;br /&gt;
&lt;br /&gt;
z88dk is a Z80 C cross compiler supplied with an assembler/linker and a set of libraries implementing the C standard library for a number of different Z80 based machines. The name z88dk originates from the time when the project was founded and targetted only the Cambridge z88 portable.&lt;br /&gt;
&lt;br /&gt;
The compiler featured in z88dk is much enhanced Small C compiler, the compiler accepts many features of ANSI C and is only deficient in a few areas where implementation on a Z80 processor might prove inefficient. The compiler performs simple optimizations, but the bulk of the optimization is done by a set of peep-hole rules, which will typically reduce the size of a large project by up to a third.&lt;br /&gt;
&lt;br /&gt;
The libraries supplied with z88dk are designed to be as generic as possible, indeed it is possible to port to a new machine simply by supplying two library routines and some startup code. It is hoped that one day z88dk will support as many z80 based machines as there is information available and sufficient interest in. &lt;br /&gt;
&lt;br /&gt;
Warning : you would really install a recent version like the nightly build to enjoy of the last improvement for CPC.&lt;br /&gt;
[[Image:Chessboard.png|300px|thumb|right|Chessboard using z88dk graphics library]]&lt;br /&gt;
&lt;br /&gt;
== Supported Targets ==&lt;br /&gt;
&lt;br /&gt;
z88dk produces code and programs that will run on the following machines: &lt;br /&gt;
&lt;br /&gt;
* Cambridge Computers z88&lt;br /&gt;
* Sinclair ZX Spectrum&lt;br /&gt;
* Sinclair ZX81&lt;br /&gt;
* CP/M based machines&lt;br /&gt;
* Amstrad NC100&lt;br /&gt;
* VZ200/300&lt;br /&gt;
* Sharp MZ series&lt;br /&gt;
* TI calculators (TI82, TI83, TI83+, TI85, TI86)&lt;br /&gt;
* ABC80, Jupiter Ace&lt;br /&gt;
* Xircom REX 6000&lt;br /&gt;
* Sam Coupe&lt;br /&gt;
* MSX1&lt;br /&gt;
* Spectravideo&lt;br /&gt;
* Mattel Aquarius&lt;br /&gt;
* Peters Sprinter&lt;br /&gt;
* C128 (in Z80 mode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Supported Platforms ==&lt;br /&gt;
&lt;br /&gt;
z88dk is known to run on the following platforms:&lt;br /&gt;
&lt;br /&gt;
* Amiga&lt;br /&gt;
* BeOS&lt;br /&gt;
* HP-UX 9&lt;br /&gt;
* Linux&lt;br /&gt;
* MacOS X&lt;br /&gt;
* Solaris&lt;br /&gt;
* Win32&lt;br /&gt;
* Win16&lt;br /&gt;
* MSDOS&lt;br /&gt;
&lt;br /&gt;
Binary releases are available for Amiga, Solaris and Win32. Win16/MSDOS needs to be rolled by the user. On BSD machines, GNU make should be used instead of the native make program.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
To compile this example :&lt;br /&gt;
zcc +cpc -create-app -make-app -O3 -unsigned -o out.bin world.c -lndos -zorg=16384&lt;br /&gt;
&lt;br /&gt;
world.c from the z88dk console examples :&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 *	Hello World&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
	printf(&amp;quot;Hello world!\n&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
another more specific example : &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;cpc.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main(void) {&lt;br /&gt;
	&lt;br /&gt;
	int model;&lt;br /&gt;
	char * model_name;&lt;br /&gt;
&lt;br /&gt;
	model = cpc_model() ;&lt;br /&gt;
	&lt;br /&gt;
	switch (model) {&lt;br /&gt;
	case 0:&lt;br /&gt;
		model_name = &amp;quot;464&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	case 1:&lt;br /&gt;
		model_name = &amp;quot;664&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	case 2:&lt;br /&gt;
		model_name = &amp;quot;6128&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	default: &lt;br /&gt;
		model_name = &amp;quot;unknown&amp;quot;;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	printf(&amp;quot;model=%s\n&amp;quot;,model_name);&lt;br /&gt;
	return 0 ;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
graphics library examples : [[Image:Moivre.png|300px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;graphics.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
main()&lt;br /&gt;
{	&lt;br /&gt;
	int i,x1,y1,x2,y2;&lt;br /&gt;
	clg();&lt;br /&gt;
&lt;br /&gt;
	for ( i=0;i&amp;lt;11;i++) &lt;br /&gt;
	{&lt;br /&gt;
		y1 = 200 - 20 * i ;&lt;br /&gt;
		x2 = 50 + 20 * i ;&lt;br /&gt;
		draw(50,y1,x2,0);&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
must-read topic on z88dk wiki :&lt;br /&gt;
* [http://www.z88dk.org/wiki/doku.php?id=platform:amstradcpc Amstrad CPC]&lt;br /&gt;
* [http://www.z88dk.org/wiki/doku.php?id=usage:stackframe stackframe]&lt;br /&gt;
&lt;br /&gt;
== Libraries for the CPC  ==&lt;br /&gt;
&lt;br /&gt;
*[[CPCRSlib]]&lt;br /&gt;
* Crocolib by Arnaudstorq (link dead)&lt;br /&gt;
&lt;br /&gt;
== Released Software ==&lt;br /&gt;
&lt;br /&gt;
CPC programs which are using Z88dk:&lt;br /&gt;
* [[Mariano the dragon]] (game)&lt;br /&gt;
* [[Magical drop]] (game)&lt;br /&gt;
* [[PHAT]] (demo)&lt;br /&gt;
* [[Nanako in Classic Japanese Monster Castle v.2]] (game)&lt;br /&gt;
* [[Phantomas Tales #1: Marsport]] (game)&lt;br /&gt;
* [[Nanako Descends To Hell]] (game)&lt;br /&gt;
* [[Platformer Medley Block #1]] (game)&lt;br /&gt;
* [[Phantomas Saga #1: Infinity]] (game)&lt;br /&gt;
&lt;br /&gt;
== Weblinks ==&lt;br /&gt;
&lt;br /&gt;
* [http://z88dk.sourceforge.net/ Official Z88dk homepage]&lt;br /&gt;
* [http://z88dk.sourceforge.net/platforms.html Machine support page]&lt;br /&gt;
* [http://z88dk.sourceforge.net/screenshots.html Screenshots on different machines]&lt;br /&gt;
* [http://www.octoate.de/joomla/index.php?option=com_content&amp;amp;task=view&amp;amp;id=17&amp;amp;Itemid=36 Tutorial on how to develop with Z88dk for the CPC (German)] ( dead link )&lt;br /&gt;
* [http://espsoft.amstrad.es/?page_id=257 CPC Sprite library for z88dk]&lt;br /&gt;
&lt;br /&gt;
[[Category:C]][[Category:Programming_software]][[Category:CrossDev]]&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=File:Moivre.png&amp;diff=50685</id>
		<title>File:Moivre.png</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=File:Moivre.png&amp;diff=50685"/>
				<updated>2010-08-14T22:36:59Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: Moivre sample using z88dk graphics library&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Moivre sample using z88dk graphics library&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=50648</id>
		<title>Z88DK</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=50648"/>
				<updated>2010-08-14T03:06:56Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: /* What is Z88dk? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''Text copied from the official Z88dk website.''&lt;br /&gt;
&lt;br /&gt;
== What is Z88dk? ==&lt;br /&gt;
&lt;br /&gt;
z88dk is a Z80 C cross compiler supplied with an assembler/linker and a set of libraries implementing the C standard library for a number of different Z80 based machines. The name z88dk originates from the time when the project was founded and targetted only the Cambridge z88 portable.&lt;br /&gt;
&lt;br /&gt;
The compiler featured in z88dk is much enhanced Small C compiler, the compiler accepts many features of ANSI C and is only deficient in a few areas where implementation on a Z80 processor might prove inefficient. The compiler performs simple optimizations, but the bulk of the optimization is done by a set of peep-hole rules, which will typically reduce the size of a large project by up to a third.&lt;br /&gt;
&lt;br /&gt;
The libraries supplied with z88dk are designed to be as generic as possible, indeed it is possible to port to a new machine simply by supplying two library routines and some startup code. It is hoped that one day z88dk will support as many z80 based machines as there is information available and sufficient interest in. &lt;br /&gt;
&lt;br /&gt;
Warning : you would really install a recent version like the nightly build to enjoy of the last improvement for CPC.&lt;br /&gt;
[[Image:Chessboard.png|300px|thumb|right|Chessboard using z88dk graphics library]]&lt;br /&gt;
&lt;br /&gt;
== Supported Targets ==&lt;br /&gt;
&lt;br /&gt;
z88dk produces code and programs that will run on the following machines: &lt;br /&gt;
&lt;br /&gt;
* Cambridge Computers z88&lt;br /&gt;
* Sinclair ZX Spectrum&lt;br /&gt;
* Sinclair ZX81&lt;br /&gt;
* CP/M based machines&lt;br /&gt;
* Amstrad NC100&lt;br /&gt;
* VZ200/300&lt;br /&gt;
* Sharp MZ series&lt;br /&gt;
* TI calculators (TI82, TI83, TI83+, TI85, TI86)&lt;br /&gt;
* ABC80, Jupiter Ace&lt;br /&gt;
* Xircom REX 6000&lt;br /&gt;
* Sam Coupe&lt;br /&gt;
* MSX1&lt;br /&gt;
* Spectravideo&lt;br /&gt;
* Mattel Aquarius&lt;br /&gt;
* Peters Sprinter&lt;br /&gt;
* C128 (in Z80 mode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Supported Platforms ==&lt;br /&gt;
&lt;br /&gt;
z88dk is known to run on the following platforms:&lt;br /&gt;
&lt;br /&gt;
* Amiga&lt;br /&gt;
* BeOS&lt;br /&gt;
* HP-UX 9&lt;br /&gt;
* Linux&lt;br /&gt;
* MacOS X&lt;br /&gt;
* Solaris&lt;br /&gt;
* Win32&lt;br /&gt;
* Win16&lt;br /&gt;
* MSDOS&lt;br /&gt;
&lt;br /&gt;
Binary releases are available for Amiga, Solaris and Win32. Win16/MSDOS needs to be rolled by the user. On BSD machines, GNU make should be used instead of the native make program.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
world.c from the z88dk console examples :&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 *	Hello World&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
	printf(&amp;quot;Hello world!\n&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
another more specific example : &lt;br /&gt;
&lt;br /&gt;
compile :&lt;br /&gt;
zcc +cpc -create-app -make-app -O3 -unsigned -o out.bin world.c -lndos -zorg=16384&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;cpc.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main(void) {&lt;br /&gt;
	&lt;br /&gt;
	int model;&lt;br /&gt;
	char * model_name;&lt;br /&gt;
&lt;br /&gt;
	model = cpc_model() ;&lt;br /&gt;
	&lt;br /&gt;
	switch (model) {&lt;br /&gt;
	case 0:&lt;br /&gt;
		model_name = &amp;quot;464&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	case 1:&lt;br /&gt;
		model_name = &amp;quot;664&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	case 2:&lt;br /&gt;
		model_name = &amp;quot;6128&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	default: &lt;br /&gt;
		model_name = &amp;quot;unknown&amp;quot;;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	printf(&amp;quot;model=%s\n&amp;quot;,model_name);&lt;br /&gt;
	return 0 ;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
must-read topic on z88dk wiki :&lt;br /&gt;
* [http://www.z88dk.org/wiki/doku.php?id=platform:amstradcpc Amstrad CPC]&lt;br /&gt;
* [http://www.z88dk.org/wiki/doku.php?id=usage:stackframe stackframe]&lt;br /&gt;
&lt;br /&gt;
== Libraries for the CPC  ==&lt;br /&gt;
&lt;br /&gt;
*[[CPCRSlib]]&lt;br /&gt;
* Crocolib by Arnaudstorq (link dead)&lt;br /&gt;
&lt;br /&gt;
== Released Software ==&lt;br /&gt;
&lt;br /&gt;
CPC programs which are using Z88dk:&lt;br /&gt;
* [[Mariano the dragon]] (game)&lt;br /&gt;
* [[Magical drop]] (game)&lt;br /&gt;
* [[PHAT]] (demo)&lt;br /&gt;
* [[Nanako in Classic Japanese Monster Castle v.2]] (game)&lt;br /&gt;
* [[Phantomas Tales #1: Marsport]] (game)&lt;br /&gt;
* [[Nanako Descends To Hell]] (game)&lt;br /&gt;
* [[Platformer Medley Block #1]] (game)&lt;br /&gt;
* [[Phantomas Saga #1: Infinity]] (game)&lt;br /&gt;
&lt;br /&gt;
== Weblinks ==&lt;br /&gt;
&lt;br /&gt;
* [http://z88dk.sourceforge.net/ Official Z88dk homepage]&lt;br /&gt;
* [http://z88dk.sourceforge.net/platforms.html Machine support page]&lt;br /&gt;
* [http://z88dk.sourceforge.net/screenshots.html Screenshots on different machines]&lt;br /&gt;
* [http://www.octoate.de/joomla/index.php?option=com_content&amp;amp;task=view&amp;amp;id=17&amp;amp;Itemid=36 Tutorial on how to develop with Z88dk for the CPC (German)] ( dead link )&lt;br /&gt;
* [http://espsoft.amstrad.es/?page_id=257 CPC Sprite library for z88dk]&lt;br /&gt;
&lt;br /&gt;
[[Category:C]][[Category:Programming_software]][[Category:CrossDev]]&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=50647</id>
		<title>Z88DK</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=50647"/>
				<updated>2010-08-14T03:01:35Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: /* What is Z88dk? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''Text copied from the official Z88dk website.''&lt;br /&gt;
&lt;br /&gt;
== What is Z88dk? ==&lt;br /&gt;
&lt;br /&gt;
z88dk is a Z80 C cross compiler supplied with an assembler/linker and a set of libraries implementing the C standard library for a number of different Z80 based machines. The name z88dk originates from the time when the project was founded and targetted only the Cambridge z88 portable.&lt;br /&gt;
&lt;br /&gt;
The compiler featured in z88dk is much enhanced Small C compiler, the compiler accepts many features of ANSI C and is only deficient in a few areas where implementation on a Z80 processor might prove inefficient. The compiler performs simple optimizations, but the bulk of the optimization is done by a set of peep-hole rules, which will typically reduce the size of a large project by up to a third.&lt;br /&gt;
&lt;br /&gt;
The libraries supplied with z88dk are designed to be as generic as possible, indeed it is possible to port to a new machine simply by supplying two library routines and some startup code. It is hoped that one day z88dk will support as many z80 based machines as there is information available and sufficient interest in. &lt;br /&gt;
&lt;br /&gt;
Warning : you would really install a recent version like the nightly build to enjoy of the last improvement for CPC.&lt;br /&gt;
[[Image:http://www.cpcwiki.eu/imgs/1/1a/Chessboard.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
== Supported Targets ==&lt;br /&gt;
&lt;br /&gt;
z88dk produces code and programs that will run on the following machines: &lt;br /&gt;
&lt;br /&gt;
* Cambridge Computers z88&lt;br /&gt;
* Sinclair ZX Spectrum&lt;br /&gt;
* Sinclair ZX81&lt;br /&gt;
* CP/M based machines&lt;br /&gt;
* Amstrad NC100&lt;br /&gt;
* VZ200/300&lt;br /&gt;
* Sharp MZ series&lt;br /&gt;
* TI calculators (TI82, TI83, TI83+, TI85, TI86)&lt;br /&gt;
* ABC80, Jupiter Ace&lt;br /&gt;
* Xircom REX 6000&lt;br /&gt;
* Sam Coupe&lt;br /&gt;
* MSX1&lt;br /&gt;
* Spectravideo&lt;br /&gt;
* Mattel Aquarius&lt;br /&gt;
* Peters Sprinter&lt;br /&gt;
* C128 (in Z80 mode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Supported Platforms ==&lt;br /&gt;
&lt;br /&gt;
z88dk is known to run on the following platforms:&lt;br /&gt;
&lt;br /&gt;
* Amiga&lt;br /&gt;
* BeOS&lt;br /&gt;
* HP-UX 9&lt;br /&gt;
* Linux&lt;br /&gt;
* MacOS X&lt;br /&gt;
* Solaris&lt;br /&gt;
* Win32&lt;br /&gt;
* Win16&lt;br /&gt;
* MSDOS&lt;br /&gt;
&lt;br /&gt;
Binary releases are available for Amiga, Solaris and Win32. Win16/MSDOS needs to be rolled by the user. On BSD machines, GNU make should be used instead of the native make program.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
world.c from the z88dk console examples :&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 *	Hello World&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
	printf(&amp;quot;Hello world!\n&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
another more specific example : &lt;br /&gt;
&lt;br /&gt;
compile :&lt;br /&gt;
zcc +cpc -create-app -make-app -O3 -unsigned -o out.bin world.c -lndos -zorg=16384&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;cpc.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main(void) {&lt;br /&gt;
	&lt;br /&gt;
	int model;&lt;br /&gt;
	char * model_name;&lt;br /&gt;
&lt;br /&gt;
	model = cpc_model() ;&lt;br /&gt;
	&lt;br /&gt;
	switch (model) {&lt;br /&gt;
	case 0:&lt;br /&gt;
		model_name = &amp;quot;464&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	case 1:&lt;br /&gt;
		model_name = &amp;quot;664&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	case 2:&lt;br /&gt;
		model_name = &amp;quot;6128&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	default: &lt;br /&gt;
		model_name = &amp;quot;unknown&amp;quot;;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	printf(&amp;quot;model=%s\n&amp;quot;,model_name);&lt;br /&gt;
	return 0 ;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
must-read topic on z88dk wiki :&lt;br /&gt;
* [http://www.z88dk.org/wiki/doku.php?id=platform:amstradcpc Amstrad CPC]&lt;br /&gt;
* [http://www.z88dk.org/wiki/doku.php?id=usage:stackframe stackframe]&lt;br /&gt;
&lt;br /&gt;
== Libraries for the CPC  ==&lt;br /&gt;
&lt;br /&gt;
*[[CPCRSlib]]&lt;br /&gt;
* Crocolib by Arnaudstorq (link dead)&lt;br /&gt;
&lt;br /&gt;
== Released Software ==&lt;br /&gt;
&lt;br /&gt;
CPC programs which are using Z88dk:&lt;br /&gt;
* [[Mariano the dragon]] (game)&lt;br /&gt;
* [[Magical drop]] (game)&lt;br /&gt;
* [[PHAT]] (demo)&lt;br /&gt;
* [[Nanako in Classic Japanese Monster Castle v.2]] (game)&lt;br /&gt;
* [[Phantomas Tales #1: Marsport]] (game)&lt;br /&gt;
* [[Nanako Descends To Hell]] (game)&lt;br /&gt;
* [[Platformer Medley Block #1]] (game)&lt;br /&gt;
* [[Phantomas Saga #1: Infinity]] (game)&lt;br /&gt;
&lt;br /&gt;
== Weblinks ==&lt;br /&gt;
&lt;br /&gt;
* [http://z88dk.sourceforge.net/ Official Z88dk homepage]&lt;br /&gt;
* [http://z88dk.sourceforge.net/platforms.html Machine support page]&lt;br /&gt;
* [http://z88dk.sourceforge.net/screenshots.html Screenshots on different machines]&lt;br /&gt;
* [http://www.octoate.de/joomla/index.php?option=com_content&amp;amp;task=view&amp;amp;id=17&amp;amp;Itemid=36 Tutorial on how to develop with Z88dk for the CPC (German)] ( dead link )&lt;br /&gt;
* [http://espsoft.amstrad.es/?page_id=257 CPC Sprite library for z88dk]&lt;br /&gt;
&lt;br /&gt;
[[Category:C]][[Category:Programming_software]][[Category:CrossDev]]&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=File:Chessboard.png&amp;diff=50646</id>
		<title>File:Chessboard.png</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=File:Chessboard.png&amp;diff=50646"/>
				<updated>2010-08-14T02:46:08Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: Chessboard from z88dk examples.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Chessboard from z88dk examples.&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=50645</id>
		<title>Z88DK</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=50645"/>
				<updated>2010-08-14T01:29:01Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''Text copied from the official Z88dk website.''&lt;br /&gt;
&lt;br /&gt;
== What is Z88dk? ==&lt;br /&gt;
&lt;br /&gt;
z88dk is a Z80 C cross compiler supplied with an assembler/linker and a set of libraries implementing the C standard library for a number of different Z80 based machines. The name z88dk originates from the time when the project was founded and targetted only the Cambridge z88 portable.&lt;br /&gt;
&lt;br /&gt;
The compiler featured in z88dk is much enhanced Small C compiler, the compiler accepts many features of ANSI C and is only deficient in a few areas where implementation on a Z80 processor might prove inefficient. The compiler performs simple optimizations, but the bulk of the optimization is done by a set of peep-hole rules, which will typically reduce the size of a large project by up to a third.&lt;br /&gt;
&lt;br /&gt;
The libraries supplied with z88dk are designed to be as generic as possible, indeed it is possible to port to a new machine simply by supplying two library routines and some startup code. It is hoped that one day z88dk will support as many z80 based machines as there is information available and sufficient interest in. &lt;br /&gt;
&lt;br /&gt;
Warning : you would really install a recent version like the nightly build to enjoy of the last improvement for CPC.&lt;br /&gt;
 &lt;br /&gt;
== Supported Targets ==&lt;br /&gt;
&lt;br /&gt;
z88dk produces code and programs that will run on the following machines: &lt;br /&gt;
&lt;br /&gt;
* Cambridge Computers z88&lt;br /&gt;
* Sinclair ZX Spectrum&lt;br /&gt;
* Sinclair ZX81&lt;br /&gt;
* CP/M based machines&lt;br /&gt;
* Amstrad NC100&lt;br /&gt;
* VZ200/300&lt;br /&gt;
* Sharp MZ series&lt;br /&gt;
* TI calculators (TI82, TI83, TI83+, TI85, TI86)&lt;br /&gt;
* ABC80, Jupiter Ace&lt;br /&gt;
* Xircom REX 6000&lt;br /&gt;
* Sam Coupe&lt;br /&gt;
* MSX1&lt;br /&gt;
* Spectravideo&lt;br /&gt;
* Mattel Aquarius&lt;br /&gt;
* Peters Sprinter&lt;br /&gt;
* C128 (in Z80 mode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Supported Platforms ==&lt;br /&gt;
&lt;br /&gt;
z88dk is known to run on the following platforms:&lt;br /&gt;
&lt;br /&gt;
* Amiga&lt;br /&gt;
* BeOS&lt;br /&gt;
* HP-UX 9&lt;br /&gt;
* Linux&lt;br /&gt;
* MacOS X&lt;br /&gt;
* Solaris&lt;br /&gt;
* Win32&lt;br /&gt;
* Win16&lt;br /&gt;
* MSDOS&lt;br /&gt;
&lt;br /&gt;
Binary releases are available for Amiga, Solaris and Win32. Win16/MSDOS needs to be rolled by the user. On BSD machines, GNU make should be used instead of the native make program.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
world.c from the z88dk console examples :&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 *	Hello World&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
	printf(&amp;quot;Hello world!\n&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
another more specific example : &lt;br /&gt;
&lt;br /&gt;
compile :&lt;br /&gt;
zcc +cpc -create-app -make-app -O3 -unsigned -o out.bin world.c -lndos -zorg=16384&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;cpc.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main(void) {&lt;br /&gt;
	&lt;br /&gt;
	int model;&lt;br /&gt;
	char * model_name;&lt;br /&gt;
&lt;br /&gt;
	model = cpc_model() ;&lt;br /&gt;
	&lt;br /&gt;
	switch (model) {&lt;br /&gt;
	case 0:&lt;br /&gt;
		model_name = &amp;quot;464&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	case 1:&lt;br /&gt;
		model_name = &amp;quot;664&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	case 2:&lt;br /&gt;
		model_name = &amp;quot;6128&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	default: &lt;br /&gt;
		model_name = &amp;quot;unknown&amp;quot;;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	printf(&amp;quot;model=%s\n&amp;quot;,model_name);&lt;br /&gt;
	return 0 ;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
must-read topic on z88dk wiki :&lt;br /&gt;
* [http://www.z88dk.org/wiki/doku.php?id=platform:amstradcpc Amstrad CPC]&lt;br /&gt;
* [http://www.z88dk.org/wiki/doku.php?id=usage:stackframe stackframe]&lt;br /&gt;
&lt;br /&gt;
== Libraries for the CPC  ==&lt;br /&gt;
&lt;br /&gt;
*[[CPCRSlib]]&lt;br /&gt;
* Crocolib by Arnaudstorq (link dead)&lt;br /&gt;
&lt;br /&gt;
== Released Software ==&lt;br /&gt;
&lt;br /&gt;
CPC programs which are using Z88dk:&lt;br /&gt;
* [[Mariano the dragon]] (game)&lt;br /&gt;
* [[Magical drop]] (game)&lt;br /&gt;
* [[PHAT]] (demo)&lt;br /&gt;
* [[Nanako in Classic Japanese Monster Castle v.2]] (game)&lt;br /&gt;
* [[Phantomas Tales #1: Marsport]] (game)&lt;br /&gt;
* [[Nanako Descends To Hell]] (game)&lt;br /&gt;
* [[Platformer Medley Block #1]] (game)&lt;br /&gt;
* [[Phantomas Saga #1: Infinity]] (game)&lt;br /&gt;
&lt;br /&gt;
== Weblinks ==&lt;br /&gt;
&lt;br /&gt;
* [http://z88dk.sourceforge.net/ Official Z88dk homepage]&lt;br /&gt;
* [http://z88dk.sourceforge.net/platforms.html Machine support page]&lt;br /&gt;
* [http://z88dk.sourceforge.net/screenshots.html Screenshots on different machines]&lt;br /&gt;
* [http://www.octoate.de/joomla/index.php?option=com_content&amp;amp;task=view&amp;amp;id=17&amp;amp;Itemid=36 Tutorial on how to develop with Z88dk for the CPC (German)] ( dead link )&lt;br /&gt;
* [http://espsoft.amstrad.es/?page_id=257 CPC Sprite library for z88dk]&lt;br /&gt;
&lt;br /&gt;
[[Category:C]][[Category:Programming_software]][[Category:CrossDev]]&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=50644</id>
		<title>Z88DK</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=50644"/>
				<updated>2010-08-14T01:27:46Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''Text copied from the official Z88dk website.''&lt;br /&gt;
&lt;br /&gt;
== What is Z88dk? ==&lt;br /&gt;
&lt;br /&gt;
z88dk is a Z80 C cross compiler supplied with an assembler/linker and a set of libraries implementing the C standard library for a number of different Z80 based machines. The name z88dk originates from the time when the project was founded and targetted only the Cambridge z88 portable.&lt;br /&gt;
&lt;br /&gt;
The compiler featured in z88dk is much enhanced Small C compiler, the compiler accepts many features of ANSI C and is only deficient in a few areas where implementation on a Z80 processor might prove inefficient. The compiler performs simple optimizations, but the bulk of the optimization is done by a set of peep-hole rules, which will typically reduce the size of a large project by up to a third.&lt;br /&gt;
&lt;br /&gt;
The libraries supplied with z88dk are designed to be as generic as possible, indeed it is possible to port to a new machine simply by supplying two library routines and some startup code. It is hoped that one day z88dk will support as many z80 based machines as there is information available and sufficient interest in. &lt;br /&gt;
&lt;br /&gt;
Warning : you would really install a recent version like the nightly build to enjoy of the last improvement for CPC.&lt;br /&gt;
 &lt;br /&gt;
== Supported Targets ==&lt;br /&gt;
&lt;br /&gt;
z88dk produces code and programs that will run on the following machines: &lt;br /&gt;
&lt;br /&gt;
* Cambridge Computers z88&lt;br /&gt;
* Sinclair ZX Spectrum&lt;br /&gt;
* Sinclair ZX81&lt;br /&gt;
* CP/M based machines&lt;br /&gt;
* Amstrad NC100&lt;br /&gt;
* VZ200/300&lt;br /&gt;
* Sharp MZ series&lt;br /&gt;
* TI calculators (TI82, TI83, TI83+, TI85, TI86)&lt;br /&gt;
* ABC80, Jupiter Ace&lt;br /&gt;
* Xircom REX 6000&lt;br /&gt;
* Sam Coupe&lt;br /&gt;
* MSX1&lt;br /&gt;
* Spectravideo&lt;br /&gt;
* Mattel Aquarius&lt;br /&gt;
* Peters Sprinter&lt;br /&gt;
* C128 (in Z80 mode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Supported Platforms ==&lt;br /&gt;
&lt;br /&gt;
z88dk is known to run on the following platforms:&lt;br /&gt;
&lt;br /&gt;
* Amiga&lt;br /&gt;
* BeOS&lt;br /&gt;
* HP-UX 9&lt;br /&gt;
* Linux&lt;br /&gt;
* MacOS X&lt;br /&gt;
* Solaris&lt;br /&gt;
* Win32&lt;br /&gt;
* Win16&lt;br /&gt;
* MSDOS&lt;br /&gt;
&lt;br /&gt;
Binary releases are available for Amiga, Solaris and Win32. Win16/MSDOS needs to be rolled by the user. On BSD machines, GNU make should be used instead of the native make program.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
world.c from the z88dk console examples :&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 *	Hello World&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
	printf(&amp;quot;Hello world!\n&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
another more specific example : &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
compile :&lt;br /&gt;
zcc +cpc -create-app -make-app -O3 -unsigned -o out.bin world.c -lndos -zorg=16384&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;cpc.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main(void) {&lt;br /&gt;
	&lt;br /&gt;
	int model;&lt;br /&gt;
	char * model_name;&lt;br /&gt;
&lt;br /&gt;
	model = cpc_model() ;&lt;br /&gt;
	&lt;br /&gt;
	switch (model) {&lt;br /&gt;
	case 0:&lt;br /&gt;
		model_name = &amp;quot;464&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	case 1:&lt;br /&gt;
		model_name = &amp;quot;664&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	case 2:&lt;br /&gt;
		model_name = &amp;quot;6128&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	default: &lt;br /&gt;
		model_name = &amp;quot;unknown&amp;quot;;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	printf(&amp;quot;model=%s\n&amp;quot;,model_name);&lt;br /&gt;
	return 0 ;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
must-read topic on z88dk wiki :&lt;br /&gt;
* [http://www.z88dk.org/wiki/doku.php?id=platform:amstradcpc Amstrad CPC]&lt;br /&gt;
* [http://www.z88dk.org/wiki/doku.php?id=usage:stackframe stackframe]&lt;br /&gt;
&lt;br /&gt;
== Libraries for the CPC  ==&lt;br /&gt;
&lt;br /&gt;
*[[CPCRSlib]]&lt;br /&gt;
* Crocolib by Arnaudstorq (link dead)&lt;br /&gt;
&lt;br /&gt;
== Released Software ==&lt;br /&gt;
&lt;br /&gt;
CPC programs which are using Z88dk:&lt;br /&gt;
* [[Mariano the dragon]] (game)&lt;br /&gt;
* [[Magical drop]] (game)&lt;br /&gt;
* [[PHAT]] (demo)&lt;br /&gt;
* [[Nanako in Classic Japanese Monster Castle v.2]] (game)&lt;br /&gt;
* [[Phantomas Tales #1: Marsport]] (game)&lt;br /&gt;
* [[Nanako Descends To Hell]] (game)&lt;br /&gt;
* [[Platformer Medley Block #1]] (game)&lt;br /&gt;
* [[Phantomas Saga #1: Infinity]] (game)&lt;br /&gt;
&lt;br /&gt;
== Weblinks ==&lt;br /&gt;
&lt;br /&gt;
* [http://z88dk.sourceforge.net/ Official Z88dk homepage]&lt;br /&gt;
* [http://z88dk.sourceforge.net/platforms.html Machine support page]&lt;br /&gt;
* [http://z88dk.sourceforge.net/screenshots.html Screenshots on different machines]&lt;br /&gt;
* [http://www.octoate.de/joomla/index.php?option=com_content&amp;amp;task=view&amp;amp;id=17&amp;amp;Itemid=36 Tutorial on how to develop with Z88dk for the CPC (German)] ( dead link )&lt;br /&gt;
* [http://espsoft.amstrad.es/?page_id=257 CPC Sprite library for z88dk]&lt;br /&gt;
&lt;br /&gt;
[[Category:C]][[Category:Programming_software]][[Category:CrossDev]]&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=50643</id>
		<title>Z88DK</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=50643"/>
				<updated>2010-08-14T01:26:37Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''Text copied from the official Z88dk website.''&lt;br /&gt;
&lt;br /&gt;
== What is Z88dk? ==&lt;br /&gt;
&lt;br /&gt;
z88dk is a Z80 C cross compiler supplied with an assembler/linker and a set of libraries implementing the C standard library for a number of different Z80 based machines. The name z88dk originates from the time when the project was founded and targetted only the Cambridge z88 portable.&lt;br /&gt;
&lt;br /&gt;
The compiler featured in z88dk is much enhanced Small C compiler, the compiler accepts many features of ANSI C and is only deficient in a few areas where implementation on a Z80 processor might prove inefficient. The compiler performs simple optimizations, but the bulk of the optimization is done by a set of peep-hole rules, which will typically reduce the size of a large project by up to a third.&lt;br /&gt;
&lt;br /&gt;
The libraries supplied with z88dk are designed to be as generic as possible, indeed it is possible to port to a new machine simply by supplying two library routines and some startup code. It is hoped that one day z88dk will support as many z80 based machines as there is information available and sufficient interest in. &lt;br /&gt;
&lt;br /&gt;
Warning : you would really install a recent version like the nightly build to enjoy of the last improvement for CPC.&lt;br /&gt;
 &lt;br /&gt;
== Supported Targets ==&lt;br /&gt;
&lt;br /&gt;
z88dk produces code and programs that will run on the following machines: &lt;br /&gt;
&lt;br /&gt;
* Cambridge Computers z88&lt;br /&gt;
* Sinclair ZX Spectrum&lt;br /&gt;
* Sinclair ZX81&lt;br /&gt;
* CP/M based machines&lt;br /&gt;
* Amstrad NC100&lt;br /&gt;
* VZ200/300&lt;br /&gt;
* Sharp MZ series&lt;br /&gt;
* TI calculators (TI82, TI83, TI83+, TI85, TI86)&lt;br /&gt;
* ABC80, Jupiter Ace&lt;br /&gt;
* Xircom REX 6000&lt;br /&gt;
* Sam Coupe&lt;br /&gt;
* MSX1&lt;br /&gt;
* Spectravideo&lt;br /&gt;
* Mattel Aquarius&lt;br /&gt;
* Peters Sprinter&lt;br /&gt;
* C128 (in Z80 mode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Supported Platforms ==&lt;br /&gt;
&lt;br /&gt;
z88dk is known to run on the following platforms:&lt;br /&gt;
&lt;br /&gt;
* Amiga&lt;br /&gt;
* BeOS&lt;br /&gt;
* HP-UX 9&lt;br /&gt;
* Linux&lt;br /&gt;
* MacOS X&lt;br /&gt;
* Solaris&lt;br /&gt;
* Win32&lt;br /&gt;
* Win16&lt;br /&gt;
* MSDOS&lt;br /&gt;
&lt;br /&gt;
Binary releases are available for Amiga, Solaris and Win32. Win16/MSDOS needs to be rolled by the user. On BSD machines, GNU make should be used instead of the native make program.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
world.c from the z88dk console examples :&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 *	Hello World&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
	printf(&amp;quot;Hello world!\n&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
another more specific example : &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
compile :&lt;br /&gt;
zcc +cpc -create-app -make-app -O3 -unsigned -o out.bin world.c -lndos -zorg=16384&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;cpc.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main(void) {&lt;br /&gt;
	&lt;br /&gt;
	int model;&lt;br /&gt;
	char * model_name;&lt;br /&gt;
&lt;br /&gt;
	model = cpc_model() ;&lt;br /&gt;
	&lt;br /&gt;
	switch (model) {&lt;br /&gt;
	case 0:&lt;br /&gt;
		model_name = &amp;quot;464&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	case 1:&lt;br /&gt;
		model_name = &amp;quot;664&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	case 2:&lt;br /&gt;
		model_name = &amp;quot;6128&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	default: &lt;br /&gt;
		model_name = &amp;quot;unknown&amp;quot;;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	printf(&amp;quot;model=%s\n&amp;quot;,model_name);&lt;br /&gt;
	return 0 ;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
must-read topic :&lt;br /&gt;
* [http://www.z88dk.org/wiki/doku.php?id=platform:amstradcpc]&lt;br /&gt;
* [http://www.z88dk.org/wiki/doku.php?id=usage:stackframe]&lt;br /&gt;
&lt;br /&gt;
== Libraries for the CPC  ==&lt;br /&gt;
&lt;br /&gt;
*[[CPCRSlib]]&lt;br /&gt;
* Crocolib by Arnaudstorq (link dead)&lt;br /&gt;
&lt;br /&gt;
== Released Software ==&lt;br /&gt;
&lt;br /&gt;
CPC programs which are using Z88dk:&lt;br /&gt;
* [[Mariano the dragon]] (game)&lt;br /&gt;
* [[Magical drop]] (game)&lt;br /&gt;
* [[PHAT]] (demo)&lt;br /&gt;
* [[Nanako in Classic Japanese Monster Castle v.2]] (game)&lt;br /&gt;
* [[Phantomas Tales #1: Marsport]] (game)&lt;br /&gt;
* [[Nanako Descends To Hell]] (game)&lt;br /&gt;
* [[Platformer Medley Block #1]] (game)&lt;br /&gt;
* [[Phantomas Saga #1: Infinity]] (game)&lt;br /&gt;
&lt;br /&gt;
== Weblinks ==&lt;br /&gt;
&lt;br /&gt;
* [http://z88dk.sourceforge.net/ Official Z88dk homepage]&lt;br /&gt;
* [http://z88dk.sourceforge.net/platforms.html Machine support page]&lt;br /&gt;
* [http://z88dk.sourceforge.net/screenshots.html Screenshots on different machines]&lt;br /&gt;
* [http://www.octoate.de/joomla/index.php?option=com_content&amp;amp;task=view&amp;amp;id=17&amp;amp;Itemid=36 Tutorial on how to develop with Z88dk for the CPC (German)] ( dead link )&lt;br /&gt;
* [http://espsoft.amstrad.es/?page_id=257 CPC Sprite library for z88dk]&lt;br /&gt;
&lt;br /&gt;
[[Category:C]][[Category:Programming_software]][[Category:CrossDev]]&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=50631</id>
		<title>Z88DK</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=50631"/>
				<updated>2010-08-13T23:10:16Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''Text copied from the official Z88dk website.''&lt;br /&gt;
&lt;br /&gt;
== What is Z88dk? ==&lt;br /&gt;
&lt;br /&gt;
z88dk is a Z80 C cross compiler supplied with an assembler/linker and a set of libraries implementing the C standard library for a number of different Z80 based machines. The name z88dk originates from the time when the project was founded and targetted only the Cambridge z88 portable.&lt;br /&gt;
&lt;br /&gt;
The compiler featured in z88dk is much enhanced Small C compiler, the compiler accepts many features of ANSI C and is only deficient in a few areas where implementation on a Z80 processor might prove inefficient. The compiler performs simple optimizations, but the bulk of the optimization is done by a set of peep-hole rules, which will typically reduce the size of a large project by up to a third.&lt;br /&gt;
&lt;br /&gt;
The libraries supplied with z88dk are designed to be as generic as possible, indeed it is possible to port to a new machine simply by supplying two library routines and some startup code. It is hoped that one day z88dk will support as many z80 based machines as there is information available and sufficient interest in. &lt;br /&gt;
&lt;br /&gt;
Warning : you would really install a recent version like the nightly build to enjoy of the last improvement for CPC.&lt;br /&gt;
 &lt;br /&gt;
== Supported Targets ==&lt;br /&gt;
&lt;br /&gt;
z88dk produces code and programs that will run on the following machines: &lt;br /&gt;
&lt;br /&gt;
* Cambridge Computers z88&lt;br /&gt;
* Sinclair ZX Spectrum&lt;br /&gt;
* Sinclair ZX81&lt;br /&gt;
* CP/M based machines&lt;br /&gt;
* Amstrad NC100&lt;br /&gt;
* VZ200/300&lt;br /&gt;
* Sharp MZ series&lt;br /&gt;
* TI calculators (TI82, TI83, TI83+, TI85, TI86)&lt;br /&gt;
* ABC80, Jupiter Ace&lt;br /&gt;
* Xircom REX 6000&lt;br /&gt;
* Sam Coupe&lt;br /&gt;
* MSX1&lt;br /&gt;
* Spectravideo&lt;br /&gt;
* Mattel Aquarius&lt;br /&gt;
* Peters Sprinter&lt;br /&gt;
* C128 (in Z80 mode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Supported Platforms ==&lt;br /&gt;
&lt;br /&gt;
z88dk is known to run on the following platforms:&lt;br /&gt;
&lt;br /&gt;
* Amiga&lt;br /&gt;
* BeOS&lt;br /&gt;
* HP-UX 9&lt;br /&gt;
* Linux&lt;br /&gt;
* MacOS X&lt;br /&gt;
* Solaris&lt;br /&gt;
* Win32&lt;br /&gt;
* Win16&lt;br /&gt;
* MSDOS&lt;br /&gt;
&lt;br /&gt;
Binary releases are available for Amiga, Solaris and Win32. Win16/MSDOS needs to be rolled by the user. On BSD machines, GNU make should be used instead of the native make program.&lt;br /&gt;
&lt;br /&gt;
== usage ==&lt;br /&gt;
&lt;br /&gt;
world.c from the z88dk console examples :&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 *	Hello World&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
	printf(&amp;quot;Hello world!\n&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
another more specific example : &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;cpc.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main(void) {&lt;br /&gt;
	&lt;br /&gt;
	int model;&lt;br /&gt;
	char * model_name;&lt;br /&gt;
&lt;br /&gt;
	model = cpc_model() ;&lt;br /&gt;
	&lt;br /&gt;
	switch (model) {&lt;br /&gt;
	case 0:&lt;br /&gt;
		model_name = &amp;quot;464&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	case 1:&lt;br /&gt;
		model_name = &amp;quot;664&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	case 2:&lt;br /&gt;
		model_name = &amp;quot;6128&amp;quot;;&lt;br /&gt;
		break;&lt;br /&gt;
&lt;br /&gt;
	default: &lt;br /&gt;
		model_name = &amp;quot;unknown&amp;quot;;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	printf(&amp;quot;model=%s\n&amp;quot;,model_name);&lt;br /&gt;
	return 0 ;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Libraries for the CPC  ==&lt;br /&gt;
&lt;br /&gt;
*[[CPCRSlib]]&lt;br /&gt;
* Crocolib by Arnaudstorq (link dead)&lt;br /&gt;
&lt;br /&gt;
== Released Software ==&lt;br /&gt;
&lt;br /&gt;
CPC programs which are using Z88dk:&lt;br /&gt;
* [[Mariano the dragon]] (game)&lt;br /&gt;
* [[Magical drop]] (game)&lt;br /&gt;
* [[PHAT]] (demo)&lt;br /&gt;
* [[Nanako in Classic Japanese Monster Castle v.2]] (game)&lt;br /&gt;
* [[Phantomas Tales #1: Marsport]] (game)&lt;br /&gt;
* [[Nanako Descends To Hell]] (game)&lt;br /&gt;
* [[Platformer Medley Block #1]] (game)&lt;br /&gt;
* [[Phantomas Saga #1: Infinity]] (game)&lt;br /&gt;
&lt;br /&gt;
== Weblinks ==&lt;br /&gt;
&lt;br /&gt;
* [http://z88dk.sourceforge.net/ Official Z88dk homepage]&lt;br /&gt;
* [http://z88dk.sourceforge.net/platforms.html Machine support page]&lt;br /&gt;
* [http://z88dk.sourceforge.net/screenshots.html Screenshots on different machines]&lt;br /&gt;
* [http://www.octoate.de/joomla/index.php?option=com_content&amp;amp;task=view&amp;amp;id=17&amp;amp;Itemid=36 Tutorial on how to develop with Z88dk for the CPC (German)] ( dead link )&lt;br /&gt;
* [http://espsoft.amstrad.es/?page_id=257 CPC Sprite library for z88dk]&lt;br /&gt;
&lt;br /&gt;
[[Category:C]][[Category:Programming_software]][[Category:CrossDev]]&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=AMSprite&amp;diff=49823</id>
		<title>AMSprite</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=AMSprite&amp;diff=49823"/>
				<updated>2010-08-12T00:52:39Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= AMSprite - Amstrad CPC Sprite and Loading Screen Editor  =&lt;br /&gt;
&lt;br /&gt;
[[Image:AMSpriteScr.jpg|600x500px|AMSprite main editor]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Introduction  ==&lt;br /&gt;
&lt;br /&gt;
If you're writing a game for the CPC this cross-development GUI tool will allow you to generate ready-to-use sprites and loading screens for the CPC&amp;amp;nbsp;in assembly language. &lt;br /&gt;
&lt;br /&gt;
This software is free and open source. It is very much work in progress, so if it breaks or is confusing, let me know! &lt;br /&gt;
&lt;br /&gt;
== Features&amp;lt;br&amp;gt;  ==&lt;br /&gt;
&lt;br /&gt;
*Edit in Mode 0, 1, or 2.&lt;br /&gt;
* View sprite animation preview at any frame rate&lt;br /&gt;
*Edit hardware sprites for CPCPlus, with custom palette&lt;br /&gt;
*Export to MAXAM/WinApe ready assembler &lt;br /&gt;
*Select palette from authentic Amstrad set of 27 &lt;br /&gt;
*Import any image file and convert to amstrad sprite or loading screen &lt;br /&gt;
*Import any video file and generate an assembly program to replicate on the CPC &lt;br /&gt;
*Export a blank image with indexed amstrad palette for editing in external paint program. Can be reimported. &lt;br /&gt;
*Includes a full test program to see your sprites in action on the CPC.&amp;lt;br&amp;gt; &lt;br /&gt;
*Includes a basic level editor &lt;br /&gt;
*Includes a basic sound effects / music tracker. &lt;br /&gt;
*Cross Platform, run under Windows or Mac/Linux via MONO runtime.&lt;br /&gt;
&lt;br /&gt;
== Downloads  ==&lt;br /&gt;
&lt;br /&gt;
Download Windows XP/Vista/Win7 Installer here:&amp;amp;nbsp; [[Media:AMSprite_setup.rar|AMSprite_setup.rar]]&amp;amp;nbsp;1.4 (Requires [http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&amp;amp;displaylang=en .Net Framework 2.0]) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Download Windows/Linux/Mac&amp;amp;nbsp;[http://mono-project.com/Main_Page MONO]&amp;amp;nbsp;Assemblies here&amp;amp;nbsp;:&amp;amp;nbsp;[[Media:AMSprite_mono.rar|AMSprite_mono.rar]] 1.3 (Requires MONO 2.4 runtime minimum). NOTE&amp;amp;nbsp;I have tested the program under MONO and most features seem to work OK&amp;amp;nbsp;but you may experience bugs... You should have libmono-microsoft-visualbasic8.0-cil installed too.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The source code is stored in a Subversion repository [http://svn2.xp-dev.com/svn/lachlankeown-AMSprite here], and is publicly available (read only). I recommend [http://tortoisesvn.net/ TortoiseSVN]&amp;amp;nbsp;as a simple Windows based Subversion client. You will need VS2008 Pro or the free Express edition of&amp;amp;nbsp;[http://www.microsoft.com/Express/VB/ Visual Basic .Net 2008]&amp;amp;nbsp;to make changes. If you make any changes, send me a diff and I&amp;amp;nbsp;will integrate.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Work in Progress  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What's New  ==&lt;br /&gt;
&lt;br /&gt;
===== Version 1.4 31-Dec-09 =====&lt;br /&gt;
&lt;br /&gt;
* Included option to output mirrored sprites.&lt;br /&gt;
* Outputs hardware sprites in compressed format.&lt;br /&gt;
* Supports video import under 64-bit OS.&lt;br /&gt;
&lt;br /&gt;
===== Version 1.3 15-Jul-09 =====&lt;br /&gt;
&lt;br /&gt;
*Added support for Hardware Sprites (CPC Plus)&lt;br /&gt;
&lt;br /&gt;
===== Version 1.2 26-May-09 =====&lt;br /&gt;
&lt;br /&gt;
*Functional (just) tracker and SFX tracker.&lt;br /&gt;
*Core functionality now fully working under MONO runtime.&lt;br /&gt;
&lt;br /&gt;
===== Version 1.1 30-Apr-09&amp;amp;nbsp;  =====&lt;br /&gt;
&lt;br /&gt;
*Level Editor &lt;br /&gt;
*Video Import and convert utility &lt;br /&gt;
*Animation preview &lt;br /&gt;
*Windows binary -&amp;amp;gt;&amp;amp;nbsp;CPC&amp;amp;nbsp;assembly tool &lt;br /&gt;
*Numerous bug fixes and UI improvements &lt;br /&gt;
*Edit in Mode 2/Spectrum monochrome&lt;br /&gt;
&lt;br /&gt;
== Contact  ==&lt;br /&gt;
&lt;br /&gt;
You can contact me at lachlankeown @t gmail &lt;br /&gt;
&lt;br /&gt;
Lachlan Keown &lt;br /&gt;
&lt;br /&gt;
New Zealand&lt;br /&gt;
&lt;br /&gt;
[[Category:Applications]][[Category:CrossDev]]&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=WinCPC&amp;diff=49768</id>
		<title>WinCPC</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=WinCPC&amp;diff=49768"/>
				<updated>2010-08-11T19:17:58Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:wincpc.gif|thumb|WinCPC screenshot]]&lt;br /&gt;
&lt;br /&gt;
'''WinCPC''' is an emulator for the range of old-generation Amstrad CPC computers. It has been developed by [[Flynn]] and runs under MS Windows. &lt;br /&gt;
Works very fine on GNU/Linux using wine ( far better than WinAPE ). &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* Z80 emulation including all undocumented opcodes&lt;br /&gt;
* µPD765-A FDC support for two floppy drives&lt;br /&gt;
* RAM banking for up to 576kb RAM&lt;br /&gt;
* Expansion ROMs&lt;br /&gt;
* HD6845 CRT-Controller (type 0)&lt;br /&gt;
* AY-3-8912 PSG&lt;br /&gt;
* Supports DSK and EDSK disc images&lt;br /&gt;
* Supports CDT and TZX tape-images incl. WAV-converter&lt;br /&gt;
* Joystick support&lt;br /&gt;
* integrated powerful debugger and peripheral monitor&lt;br /&gt;
* integrated Z80 assembler&lt;br /&gt;
* integrated 8080 assembler&lt;br /&gt;
* Printer output&lt;br /&gt;
* Digiblaster&lt;br /&gt;
* Sound recorder&lt;br /&gt;
* Colour, green and greyscale monitor simulation with brightness and contrast control&lt;br /&gt;
* VDU emulation&lt;br /&gt;
* GUI in English, German and French language&lt;br /&gt;
* 2-layer keyboard mapping&lt;br /&gt;
* window or fullscreen mode&lt;br /&gt;
* Drag'n'drop for DSK, CDT and ZIP files&lt;br /&gt;
&lt;br /&gt;
== How to assemble z80 software with WinCPC ==&lt;br /&gt;
&lt;br /&gt;
Use for example the asm code on the author's contact page [http://www.wincpc.ch/index.php?topic=contact]&lt;br /&gt;
Open it in the z80 assembler and compile it. The software give you the entry point adress and the size.&lt;br /&gt;
&lt;br /&gt;
* execute it :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CALL &amp;amp;8000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* save it on a dsk ( should be insert of course ):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE &amp;quot;flynn.bin&amp;quot;,b,&amp;amp;8000,&amp;amp;1C&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* to execute the saved binary :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
MEMORY &amp;amp;7FFF&lt;br /&gt;
LOAD &amp;quot;flynn.bin&amp;quot;,&amp;amp;8000&lt;br /&gt;
CALL &amp;amp;8000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Web links ==&lt;br /&gt;
&lt;br /&gt;
* [http://www.wincpc.ch/ WinCPC homepage]&lt;br /&gt;
&lt;br /&gt;
[[Category:Emulator]]&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=49709</id>
		<title>Z88DK</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=Z88DK&amp;diff=49709"/>
				<updated>2010-08-11T16:13:00Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''Text copied from the official Z88dk website.''&lt;br /&gt;
&lt;br /&gt;
== What is Z88dk? ==&lt;br /&gt;
&lt;br /&gt;
z88dk is a Z80 C cross compiler supplied with an assembler/linker and a set of libraries implementing the C standard library for a number of different Z80 based machines. The name z88dk originates from the time when the project was founded and targetted only the Cambridge z88 portable.&lt;br /&gt;
&lt;br /&gt;
The compiler featured in z88dk is much enhanced Small C compiler, the compiler accepts many features of ANSI C and is only deficient in a few areas where implementation on a Z80 processor might prove inefficient. The compiler performs simple optimizations, but the bulk of the optimization is done by a set of peep-hole rules, which will typically reduce the size of a large project by up to a third.&lt;br /&gt;
&lt;br /&gt;
The libraries supplied with z88dk are designed to be as generic as possible, indeed it is possible to port to a new machine simply by supplying two library routines and some startup code. It is hoped that one day z88dk will support as many z80 based machines as there is information available and sufficient interest in. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Supported Targets ==&lt;br /&gt;
&lt;br /&gt;
z88dk produces code and programs that will run on the following machines: &lt;br /&gt;
&lt;br /&gt;
* Cambridge Computers z88&lt;br /&gt;
* Sinclair ZX Spectrum&lt;br /&gt;
* Sinclair ZX81&lt;br /&gt;
* CP/M based machines&lt;br /&gt;
* Amstrad NC100&lt;br /&gt;
* VZ200/300&lt;br /&gt;
* Sharp MZ series&lt;br /&gt;
* TI calculators (TI82, TI83, TI83+, TI85, TI86)&lt;br /&gt;
* ABC80, Jupiter Ace&lt;br /&gt;
* Xircom REX 6000&lt;br /&gt;
* Sam Coupe&lt;br /&gt;
* MSX1&lt;br /&gt;
* Spectravideo&lt;br /&gt;
* Mattel Aquarius&lt;br /&gt;
* Peters Sprinter&lt;br /&gt;
* C128 (in Z80 mode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Supported Platforms ==&lt;br /&gt;
&lt;br /&gt;
z88dk is known to run on the following platforms:&lt;br /&gt;
&lt;br /&gt;
* Amiga&lt;br /&gt;
* BeOS&lt;br /&gt;
* HP-UX 9&lt;br /&gt;
* Linux&lt;br /&gt;
* MacOS X&lt;br /&gt;
* Solaris&lt;br /&gt;
* Win32&lt;br /&gt;
* Win16&lt;br /&gt;
* MSDOS&lt;br /&gt;
&lt;br /&gt;
Binary releases are available for Amiga, Solaris and Win32. Win16/MSDOS needs to be rolled by the user. On BSD machines, GNU make should be used instead of the native make program.&lt;br /&gt;
&lt;br /&gt;
== Libraries for the CPC  ==&lt;br /&gt;
&lt;br /&gt;
*[[CPCRSlib]]&lt;br /&gt;
* Crocolib by Arnaudstorq (link dead)&lt;br /&gt;
&lt;br /&gt;
== Released Software ==&lt;br /&gt;
&lt;br /&gt;
CPC programs which are using Z88dk:&lt;br /&gt;
* [[Mariano the dragon]] (game)&lt;br /&gt;
* [[Magical drop]] (game)&lt;br /&gt;
* [[PHAT]] (demo)&lt;br /&gt;
* [[Nanako in Classic Japanese Monster Castle v.2]] (game)&lt;br /&gt;
* [[Phantomas Tales #1: Marsport]] (game)&lt;br /&gt;
* [[Nanako Descends To Hell]] (game)&lt;br /&gt;
* [[Platformer Medley Block #1]] (game)&lt;br /&gt;
* [[Phantomas Saga #1: Infinity]] (game)&lt;br /&gt;
&lt;br /&gt;
== Weblinks ==&lt;br /&gt;
&lt;br /&gt;
* [http://z88dk.sourceforge.net/ Official Z88dk homepage]&lt;br /&gt;
* [http://z88dk.sourceforge.net/platforms.html Machine support page]&lt;br /&gt;
* [http://z88dk.sourceforge.net/screenshots.html Screenshots on different machines]&lt;br /&gt;
* [http://www.octoate.de/joomla/index.php?option=com_content&amp;amp;task=view&amp;amp;id=17&amp;amp;Itemid=36 Tutorial on how to develop with Z88dk for the CPC (German)] ( dead link )&lt;br /&gt;
* [http://espsoft.amstrad.es/?page_id=257 CPC Sprite library for z88dk]&lt;br /&gt;
&lt;br /&gt;
[[Category:C]][[Category:Programming_software]][[Category:CrossDev]]&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=CPCRSlib&amp;diff=49682</id>
		<title>CPCRSlib</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=CPCRSlib&amp;diff=49682"/>
				<updated>2010-08-11T15:11:47Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''CPCRSlib''' is a C library containing routines and functions that allow to the handling of sprites and tile-mapping in Amstrad CPC. &lt;br /&gt;
&lt;br /&gt;
The library is written to be used with [[Z88DK|Z88DK]] compiler. CPCRSlib also incorporates keyboard routines to redefine and to detect keys, as well as general routines to change to the screen mode or the colours. &lt;br /&gt;
&lt;br /&gt;
It can be found an explanation of each function/routine included in the library in [http://www.amstrad.es/programacion/cpcrslib.html http://www.amstrad.es/programacion/cpcrslib.html] &lt;br /&gt;
&lt;br /&gt;
Last release of the library can be downloaded at: [http://code.google.com/p/cpcrslib/downloads/list code.google.com/p/cpcrslib/downloads/list] &lt;br /&gt;
&lt;br /&gt;
[[CPCWYZlib|CPCWYZlib]] is included in the downloadable package of CPCRSlib. CPCWYZlib includes a music player and SFX player coded by WYZ, which can play music created with [[WYZTracker|WYZTracker]]. &lt;br /&gt;
&lt;br /&gt;
== installation == &lt;br /&gt;
&lt;br /&gt;
On Ubuntu Lucid Lynx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd cpcrslib/&lt;br /&gt;
z80asm -v -xcpcrslib.lib @cpcrslib.lst&lt;br /&gt;
sudo cp cpcrslib.lib /usr/share/z88dk/lib/clibs/&lt;br /&gt;
sudo cp cpcrslib.h /usr/share/z88dk/include&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
now it should work.&lt;br /&gt;
&lt;br /&gt;
== usage ==&lt;br /&gt;
&lt;br /&gt;
A classic &amp;quot;Hello world&amp;quot; from cpcrslib : &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;quot;cpcrslib.h&amp;quot;	// CPC Library&lt;br /&gt;
&lt;br /&gt;
int main(void) {&lt;br /&gt;
	cpc_PrintStr(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
	while (!cpc_AnyKeyPressed()) {	}&lt;br /&gt;
	return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should provide a zcc_opt.def in the source directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	DEFINE DEFINED_myzorg&lt;br /&gt;
	defc myzorg = 16384&lt;br /&gt;
&lt;br /&gt;
IF !NEED_appstartup&lt;br /&gt;
	DEFINE	NEED_appstartup&lt;br /&gt;
	defc reqpag = 32&lt;br /&gt;
	defc NEED_expanded = 1&lt;br /&gt;
ENDIF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Compile the contents by running the compiler, pre-processor and linker in one go by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zcc +cpc -create-app -make-app -O3 -unsigned -o hello.bin hello.c -lcpcrslib -lndos -zorg=16384&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you'll have a hello.cpc file ready to be run on your CPC.&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]] [[Category:C]][[Category:CrossDev]]&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	<entry>
		<id>https://oldwiki.cpcwiki.eu/index.php?title=CPCRSlib&amp;diff=49679</id>
		<title>CPCRSlib</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.cpcwiki.eu/index.php?title=CPCRSlib&amp;diff=49679"/>
				<updated>2010-08-11T15:09:00Z</updated>
		
		<summary type="html">&lt;p&gt;Genesis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''CPCRSlib''' is a C library containing routines and functions that allow to the handling of sprites and tile-mapping in Amstrad CPC. &lt;br /&gt;
&lt;br /&gt;
The library is written to be used with [[Z88DK|Z88DK]] compiler. CPCRSlib also incorporates keyboard routines to redefine and to detect keys, as well as general routines to change to the screen mode or the colours. &lt;br /&gt;
&lt;br /&gt;
It can be found an explanation of each function/routine included in the library in [http://www.amstrad.es/programacion/cpcrslib.html http://www.amstrad.es/programacion/cpcrslib.html] &lt;br /&gt;
&lt;br /&gt;
Last release of the library can be downloaded at: [http://code.google.com/p/cpcrslib/downloads/list code.google.com/p/cpcrslib/downloads/list] &lt;br /&gt;
&lt;br /&gt;
[[CPCWYZlib|CPCWYZlib]] is included in the downloadable package of CPCRSlib. CPCWYZlib includes a music player and SFX player coded by WYZ, which can play music created with [[WYZTracker|WYZTracker]]. &lt;br /&gt;
&lt;br /&gt;
== installation == &lt;br /&gt;
&lt;br /&gt;
On Ubuntu Lucid Lynx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd cpcrslib/&lt;br /&gt;
z80asm -v -xcpcrslib.lib @cpcrslib.lst&lt;br /&gt;
sudo cp cpcrslib.lib /usr/share/z88dk/lib/clibs/&lt;br /&gt;
sudo cp cpcrslib.h /usr/share/z88dk/include&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
now it should work.&lt;br /&gt;
&lt;br /&gt;
== usage ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;quot;cpcrslib.h&amp;quot;	// CPC Library&lt;br /&gt;
&lt;br /&gt;
int main(void) {&lt;br /&gt;
	cpc_PrintStr(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
	while (!cpc_AnyKeyPressed()) {	}&lt;br /&gt;
	return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Compile the contents by running the compiler, pre-processor and linker in one go by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zcc +cpc -create-app -make-app -O3 -unsigned -o hello.bin hello.c -lcpcrslib -lndos -zorg=16384&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you'll have a hello.cpc file ready to be run on your CPC.&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]] [[Category:C]][[Category:CrossDev]]&lt;/div&gt;</summary>
		<author><name>Genesis</name></author>	</entry>

	</feed>