#25495 - strider - Tue Aug 24, 2004 2:14 am
thanks to everyone for their replies on my previous posts...everyone's been really helpful!
had a question about the following line:
REG_BG0CNT = BG_COLOR_256 | TEXTBG_SIZE_256x256 | (8 << SCREEN_SHIFT) | (0 << CHAR_SHIFT);
What exactly is BG0CNT? i'm thinking it's just used to set various options for the different backgrounds? also I've read a couple of different tutorials and i still don't really know what the (8 << SCREEN_SHIFT) and the (0 <<CHAR_SHIFT) does....I've seen different values too (i.e. pern does (31 << SCREEN_SHIFT)) can anyone explain what the shifts are used for? thanks!
had a question about the following line:
REG_BG0CNT = BG_COLOR_256 | TEXTBG_SIZE_256x256 | (8 << SCREEN_SHIFT) | (0 << CHAR_SHIFT);
What exactly is BG0CNT? i'm thinking it's just used to set various options for the different backgrounds? also I've read a couple of different tutorials and i still don't really know what the (8 << SCREEN_SHIFT) and the (0 <<CHAR_SHIFT) does....I've seen different values too (i.e. pern does (31 << SCREEN_SHIFT)) can anyone explain what the shifts are used for? thanks!