Search found 100 matches

by Mixail
Tue Jan 16, 2018 5:24 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 765
Views: 270032

Re: Sega Genesis Dev Kit (SGDK)

Stef wrote:
Tue Jan 16, 2018 3:56 pm

Code: Select all

VDP_setPlanSize(64, 64);

VDP_setWindowAddress(0xB000);
VDP_setSpriteListAddress(0xBC00);
VDP_setHScrollTableAddress(0xB800);
VDP_setBPlanAddress(0xC000);
VDP_setAPlanAddress(0xE000);
Should put SGDK back in old VRAM configuration mode..
Thanks, it works.
by Mixail
Tue Jan 16, 2018 1:34 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 765
Views: 270032

Re: Sega Genesis Dev Kit (SGDK)

To release some VRAM in the tilemap allocation. Megadrive allow 32x32, 32x64, 64x32 (default since SGDK 1.31), 64x64 (defaut in SGDK < 1.31), 128x32, 32x128 tilemap size But almost time 64x32 is enough to do whatever you want and allow to store more tile data in VRAM =) Of course you can change the...
by Mixail
Tue Jan 16, 2018 12:28 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 765
Views: 270032

Re: Sega Genesis Dev Kit (SGDK)

Why did the virtual screen area of Y become smaller?
Image

Code: Select all

int Y;
	
	for(Y=0;Y<64;Y++){
		char a5 [2];
		intToStr(Y, a5, 4);
		VDP_drawText(a5, 0, Y);
	}
by Mixail
Tue Jan 16, 2018 10:49 am
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 765
Views: 270032

Re: Sega Genesis Dev Kit (SGDK)

Thanks!
by Mixail
Tue Jan 16, 2018 7:36 am
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 765
Views: 270032

Re: Sega Genesis Dev Kit (SGDK)

Where did the folder "doc" disappear?
by Mixail
Sun Dec 31, 2017 9:42 am
Forum: Demos
Topic: Game similar to Resident Evil
Replies: 8
Views: 1253

Re: Game similar to Resident Evil

Video new gameplay: https://youtu.be/9aJLG9ym0j0
by Mixail
Mon Sep 04, 2017 1:14 pm
Forum: Demos
Topic: Game similar to Resident Evil
Replies: 8
Views: 1253

Game similar to Resident Evil

http://pscd.ru/uploads/posts/2017-09/1504515060_re-md-demo-0.png http://pscd.ru/uploads/posts/2017-09/1504515056_re-md-demo-5.png http://pscd.ru/uploads/posts/2017-09/1504515096_re-md-demo-3.png http://pscd.ru/uploads/posts/2017-09/1504515091_re-md-demo-7.png Hi all. This is a demo game. This is Su...
by Mixail
Tue Jul 18, 2017 2:48 pm
Forum: SGDK
Topic: How use PLAN_WINDOW for sgdk
Replies: 9
Views: 822

Re: How use PLAN_WINDOW for sgdk

Ok. Many thanks.
by Mixail
Tue Jul 18, 2017 1:55 pm
Forum: SGDK
Topic: How use PLAN_WINDOW for sgdk
Replies: 9
Views: 822

Re: How use PLAN_WINDOW for sgdk

You can show a simple example where you would simultaneously use PLAN_A, PLAN_B and PLAN_WINDOWS
by Mixail
Tue Jul 18, 2017 7:19 am
Forum: SGDK
Topic: How use PLAN_WINDOW for sgdk
Replies: 9
Views: 822

How use PLAN_WINDOW for sgdk

How use PLAN_WINDOW for sgdk?

VDP_drawTextBG (PLAN_WINDOW, "AAAAAA", 1, 1); - Does not work. Black screen.

VDP_drawTextBG (PLAN_B, "AAAAAA", 1, 1); Working. Displays an inscription "AAAAAA".
by Mixail
Wed May 24, 2017 11:06 am
Forum: SGDK
Topic: Does not work "VDP_resetSprites ()"
Replies: 2
Views: 563

Re: Does not work "VDP_resetSprites ()"

if(x==5){ VDP_setSpriteFull(num++, 20+x, 20+x, SPRITE_SIZE(4, 4), TILE_ATTR(1, 0, 0, 0) | 3, num+1); VDP_updateSprites(4, 1); } The fourth sprite displayed on the screen. How do I reset it? What would be displayed three sprite. How to organize the correct cycle of output of sprites on the screen?
by Mixail
Tue May 23, 2017 6:36 pm
Forum: SGDK
Topic: Does not work "VDP_resetSprites ()"
Replies: 2
Views: 563

Does not work "VDP_resetSprites ()"

int num=0; int x=0; for (;;){ num=0; VDP_resetSprites (); VDP_setSpriteFull(num++, 50+x, 50, SPRITE_SIZE(4, 4), TILE_ATTR(1, 0, 0, 0) | 3, num+1); VDP_setSpriteFull(num++, 50+x, 150, SPRITE_SIZE(4, 4), TILE_ATTR(1, 0, 0, 0) | 0, num+1); VDP_setSpriteFull(num++, 20+x, 50, SPRITE_SIZE(4, 4), TILE_ATT...
by Mixail
Tue Apr 05, 2016 8:01 am
Forum: Demos
Topic: wolfenstein demo for sega genesis
Replies: 359
Views: 103263

Re: wolfenstein demo for sega genesis

gasega68k, When release Wolf 3D?
by Mixail
Wed Dec 30, 2015 12:25 pm
Forum: Demos
Topic: wolfenstein demo for sega genesis
Replies: 359
Views: 103263

Re: wolfenstein demo for sega genesis

gasega68k, How progress?