SegaXtreme

Hi!

Tryed to wrote simple gfx code with usage of bitmap functions. But got nothing.

Here is the code:

void main(void)

{

int i;

slInitSystem(TV_320x224, NULL, 1) ;

slInitBitMap(bmNBG0, BM_512x256, VDP2_VRAM_B1);

slPrint("just a circle", slLocate(1,1));

for (i = 0;i <= 250; i++){

slBMCircle(100, 100, 50, i);

}

while(1){

slSynch();

}

}

This code gives only garbage on screen and not the circle itself.

How to do it propertly?
Back
Top