Changes

Jump to: navigation, search

Z88DK

254 bytes added, 22:54, 14 August 2010
== Usage ==
 
To compile this example :
zcc +cpc -create-app -make-app -O3 -unsigned -o out.bin world.c -lndos -zorg=16384
world.c from the z88dk console examples :
another more specific example :
 
compile :
zcc +cpc -create-app -make-app -O3 -unsigned -o out.bin world.c -lndos -zorg=16384
<pre>
}
</pre>
 
graphics library examples : [[Image:Moivre.png|300px|thumb|right]]
 
<pre>
#include <graphics.h>
 
main()
{
int i,x1,y1,x2,y2;
clg();
 
for ( i=0;i<11;i++)
{
y1 = 200 - 20 * i ;
x2 = 50 + 20 * i ;
draw(50,y1,x2,0);
}
}
</pre>
 
must-read topic on z88dk wiki :
19
edits