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.

DS development > Turn wrap off

#93800 - knight0fdragon - Fri Jul 21, 2006 10:11 am

is there anyway to turn background wrap off for rotational tiled backgrounds

it seems to work fine with ERB, but i had to go to regular rotation with tiles due to restrictions in vram size
_________________
http://www.myspace.com/knight0fdragonds

MK DS FC: Dragon 330772 075464
AC WW FC: Anthony SamsClub 1933-3433-9458
MPFH: Dragon 0215 4231 1206

#94522 - spencer723 - Tue Jul 25, 2006 4:28 am

Isn't it off by default (don't you turn it on by adding BG_WRAP_ON to the control register of the bg)?

Anyways, check the websites below, they may be able to help you
dswiki - Graphics Modes
DSTek

#94535 - TheRain - Tue Jul 25, 2006 6:39 am

Code:


BG<whatever>_CR=SOME_FLAGSBLAH|BG_WRAP_OFF;

#94634 - spencer723 - Tue Jul 25, 2006 4:30 pm

TheRain wrote:
Code:
BG<whatever>_CR=SOME_FLAGSBLAH|BG_WRAP_OFF;


That's required to keep the wrap off?

#94673 - wintermute - Tue Jul 25, 2006 6:53 pm

BG_WRAP_OFF is defined as 0 so it's only needed if you want to be clear about what's being set.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog