add ramblock_sample.c