gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > ROTATING BACKGROUND WRAPPING

#2471 - blaow - Tue Feb 04, 2003 3:57 pm

I Cannot manage to get my rotating background to wrap is this because rotating backgrounds cannot be wraped?
thanks
_________________
blaow~~

#2472 - tepples - Tue Feb 04, 2003 4:15 pm

From the CowBite spec:
Tom Happ wrote:
D (V) = Screen Over. Used to determine whether rotational backgrounds get tiled repeatedly at the edges or are displayed as a single "tile" with the area outside transparent. This is forced to 0 (read only) for backgrounds 0 and 1 (only).

The "D" here means bit 13, or 0x2000. So to make an affine-mapped background in mode 1 or 2 wrap (text backgrounds always wrap, and bitmapped backgrounds never wrap), OR the background control register with 0x2000.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#2480 - blaow - Tue Feb 04, 2003 5:51 pm

thanks a lot i'll give it a shot. (maybe a couple :P)
_________________
blaow~~