HomeForumsWhat's newResources 
 
 
Scrolling backgrounds
Amon - Aug 13, 2007
 Amon Aug 13, 2007
Is there a good tutorial or demo with scrolling backgrounds on the saturn? One of the demos the background scrolls but gets corrupted when scrolling...

Or would someone be able to explain how or where to find this info. Thanks.

*edit*

Sorry for soundling like a newb but I thought I would ask.

 mrkotfw Aug 15, 2007
Depends. Do you have some code? There are some things that need to be set up:

1) Enable display by writing 0x8000 to the "TVMD" register.

3) Set the background up using either "CHCTLA" or "CHCTLB."

4) Enable the normal background using the "BGON" register.

5) The map registers for the specific normal background.

6) Set the normal background priority.

7) Be sure to properly set the cycle pattern registers to the correct values.

There could be a couple of things that I'm missing, but that is what I remember.

 RockinB Aug 16, 2007
There are a couple of scrolling examples available for both, SGL and SBL libraries.

Choose on your own which to take. Have a look on the screenshots and description text by searching this site for "scroll":

http://www.rockin-b.de/saturn-atlasgamepacks.html...

You'll find the sources of all this stuff included in SaturnOrbit.

The simplest scroll demos might be S_8_8_1, S_8_8_2 and S_8_8_3.


Amon said:
Is there a good tutorial or demo with scrolling backgrounds on the saturn? One of the demos the background scrolls but gets corrupted when scrolling...

Or would someone be able to explain how or where to find this info. Thanks.

*edit*

Sorry for soundling like a newb but I thought I would ask.


 Amon Aug 16, 2007
Thank you both now if only i could get the font to work right.