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.

Graphics > nUb post

#13193 - xtac - Sun Dec 07, 2003 11:10 pm

I am a bit confusted, as there is no documentation on this:
What is BG?
If I create 2 BG's (0 and 1) is 1 initially the backbuffer?
_________________
[ XtaC ] was here.
.ereh saw [ CatX ]
They both sound normal when you say them, WHY!?

#13197 - tepples - Mon Dec 08, 2003 12:16 am

BG is "background." There are two main types of background: tiled backgrounds and bitmapped backgrounds. Yes, bitmapped backgrounds can have a front buffer and a back buffer, and whichever page you're not displaying (page 1 initially) is a back buffer.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#13201 - dagamer34 - Mon Dec 08, 2003 2:33 am

A Bg a background in modes 0-2. A background is a plane where tiles are placed to be displayed.

Don't get confused with a buffer which is in modes 3-5. A buffer is just an area of memory that represents the screen itself.

This might make more sense once you do a couple of tutorials.
_________________
Little kids and Playstation 2's don't mix. :(

#13202 - sajiimori - Mon Dec 08, 2003 2:48 am

dagamer34, if you're going to post information that contradicts tepples, perhaps you should qualify yourself.

In any case, it is generally agreed that a background is a background, whether it is made of tiles or not -- and a "buffer" can be any intermediate data area, whether it is for a display or not.

It may only be a matter of semantics, but it's best to avoid causing confusion.