{
/* tag it ... testing! */
make_amorph(cell);
-
+
return 23;
}
/* testing ... */
/* allocate cells */
+ printf("malloc will free %d bytes now ...\n",x_cell*y_cell*z_cell*sizeof(u32));
if((cell_p=malloc(x_cell*y_cell*z_cell*sizeof(u32)))==NULL)
{
puts("failed allocating memory for cells\n");
process_cell((u32 *)(cell_p+x+y*(x_cell-1)+z*(x_cell-1)*(y_cell-1)));
/* display stuff */
- if((i%display_refresh_rate)==0)
- {
- puts("refreshing display ...");
- // display_draw(&display,display_x,display_y,display_z);
- }
- /* */
+ if((i%display_refresh_rate)==0)
+ display_draw(&display,display_x,display_y,display_z);
}
/* display again and quit when button hit */
puts("hit button to quit ...");
getchar();
+ display_release(&display);
+
return 23;
}