Page 1 of 1

window plan sample

Posted: Sun Feb 15, 2015 6:35 pm
by bioloid
Hello again,

Is there any "window plan" sample with sgdk somewhere ?

Is it dedicated to UI display ?

Posted: Mon Feb 16, 2015 10:15 am
by Stef
You can use it for whatever you want but yeah generally it's used for UI.
You have to think it just a "fixed part" of plan A so you can't have plan A displayed where window is.. there is no window example in SGDK unfortunately but it is quite simple to use it.
You can have a look just on the VDP_init() in vdp.c SGDK file :

https://code.google.com/p/sgdk/source/b ... /src/vdp.c

So you can see the 2 last VDP registers are used to set H/V position of the window.

Posted: Mon Feb 16, 2015 6:22 pm
by bioloid
Ok Steph, thanks :)