Changes

Z88DK

384 bytes added, 19:31, 5 November 2011
/* Usage */
== Usage ==
To compile this example :zcc +cpc -create-app -make-app -O3 -unsigned -o out.bin world.c -lndos -zorg=16384 Here is world.c from the z88dk console examples :
<pre>
</pre>
another Compile this example with: zcc +cpc -create-app -make-app -O3 -unsigned -o out.bin world.c -lndos -zorg=16384 If you get an error message during compilation ("File open/read error"), make sure the <tt>Z80_OZFILES</tt> environment variable is set correctly, see [http://www.z88dk.org/wiki/doku.php?id=installation#z80_ozfiles]. [[File:Z88dk hw.png|thumb|256px|''Hello world'' example]] The resulting binary can be run from BASIC with:  memory &3fff load "out.cpc",&4000 call &4000 Another more specific example :
<pre>
1,544
edits