VRAM Offsets

Post Reply
Sylus101
Posts: 179
Joined: Wed Dec 24, 2008 5:08 am

VRAM Offsets

Post by Sylus101 » Wed Jan 07, 2009 1:03 am

I believed I had already had a pretty good handle on this, but as I'm trying to review it I'm missing something.

What exactly does using the offsets for VRAM Banks do? The starting address changes by 0x20000 which is 128k, basically moving into another banks space? Yea, I'm confused. Any practical example of why you'd use an offset at all would be very helpful. I picture maybe the need to Shift Bank B a bit to give more room to A, but that seems like making something out of nothing...
-Sylus "Not Stylus..." McFrederickson

Come visit my web site.

eKid
Posts: 65
Joined: Sat Dec 06, 2008 6:07 pm
Contact:

Re: VRAM Offsets

Post by eKid » Wed Jan 07, 2009 3:04 am

If you take vram A and B together, offset B by 128k, then you can make a big 256k bank. The 'large bitmap' bg mode I think uses all four banks combined.

Sylus101
Posts: 179
Joined: Wed Dec 24, 2008 5:08 am

Re: VRAM Offsets

Post by Sylus101 » Wed Jan 07, 2009 3:20 am

Okay wait... A, B, C, and D all start at 0x6000000 technically and the offsets of 128k steps for B, C, and D are the "defaults" (reviewed video.h again...) Okay duh... Now I've got it. I know I had come to that conclusion before but somehow lost it in all the new information I've been taking in.

Thanks!
-Sylus "Not Stylus..." McFrederickson

Come visit my web site.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests