#531 - lordmetroid - Wed Jan 08, 2003 2:47 pm
I'm in the middle of creating my dynamic tile engine.
And thought that it would be smart not to overwrite a just rescently used tile from VRAM, in case it will be reused in a small amount of time...
So I decided to have a FIFO array, that keep track of what phys tile is representing the logic tile, together with a lock counter...
The array needs of course to overwrite itself or else it would go throught the whole memory destroying all other data in it's path.
The problem is I never done any FIFO system before, so how do one do?
_________________
*Spam*
Open Solutions for an open mind, www.areta.org
Areta is an organization of coders codeing mostly open source project, but there is alot of sections like GBA dev, Language learning communities, RPG communities, etc...
And thought that it would be smart not to overwrite a just rescently used tile from VRAM, in case it will be reused in a small amount of time...
So I decided to have a FIFO array, that keep track of what phys tile is representing the logic tile, together with a lock counter...
The array needs of course to overwrite itself or else it would go throught the whole memory destroying all other data in it's path.
The problem is I never done any FIFO system before, so how do one do?
_________________
*Spam*
Open Solutions for an open mind, www.areta.org
Areta is an organization of coders codeing mostly open source project, but there is alot of sections like GBA dev, Language learning communities, RPG communities, etc...