Hi,
I'm currently rewriting my map scroll engine.
One of the alternatives is to use large planes to 3x3 viewport idea
If I use it, i'll need to use large plane size (64x64 or 128x128)
So here comes my question :
is there any direct impact on
- memory (tiles available on VRAM?)
- performance (slower to scroll ?)
?
apart the problem linked to DMA, I don't remember reading any line about diff between 32x32 and 128x128 plane size...
Did I miss a post ?
Impact of planes size
Moderators: BigEvilCorporation, Mask of Destiny
-
- Very interested
- Posts: 619
- Joined: Thu Nov 30, 2006 6:30 am
Plane size impacts the amount of RAM needed for the name table. You need 2 bytes per cell so a 32x32 plane takes 2KB, 64x32 takes 4KB and so on. Due to a limitation in the way the VDP handles addresses the name table is limited to a max of 8KB in size so you can't have a 128x128 table. 128x64 or 64x128 is as big as you can go.
Scrolling performance is the same for all sizes apart from the amount of time needed to fill the name table in the first place.
Scrolling performance is the same for all sizes apart from the amount of time needed to fill the name table in the first place.
-
- Very interested
- Posts: 619
- Joined: Thu Nov 30, 2006 6:30 am