#15260 - dist0rted - Tue Jan 20, 2004 4:47 am
I was wondering if there was any possible way to give enough free memory to allow double buffering on mode 3. I know that you're not supposed to, but mode 3 is in my opinion the easiest to draw for and I would love to find a way to use double buffering with it.
_________________
All knowledge is good; only the way it is put to use is good or evil.
#15262 - dagamer34 - Tue Jan 20, 2004 5:08 am
Please search the forums before making a new topic.
Anyway, what you can do is:
1) Create another buffer in EWRAM. This will suck up about 1/3 of it and its not as fast as VRAM. I think people use DMA3 to get some decent speed.
2) Halfing your resolution by using the BG scaling registers (correct me if I'm wrong). You only get 120x160 which is about the same as mode 5.
Happy coding!
_________________
Little kids and Playstation 2's don't mix. :(
#15269 - tepples - Tue Jan 20, 2004 6:08 am
Right. That's why I tend to say there are two double-buffered 120x160 pixel hi-color modes: one row-major (scaled mode 3) and one column-major (rotated/scaled mode 5) depending on whether your rasterizer draws rows or columns faster.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.