** 3D Engine Update 6 **
New Buffer System. 15-20% Faster !!
Using Planes A and B interleaved horizontally we can get the best of all worlds with a near continuous frame buffer for fast Triangle & Quad writes and still use DMA for fast sending of the RAM frame buffer to VRAM. Normally you get one benefit without the other leading to tradeoffs.
There is a caveat ofcourse, I lose a spare plane , however thats not a large concern for what im trying to achieve, i still have the full sprite load if i need to simulate ground etc - we can also multiplex sprites if needed.
So each plane is full of half fill tiles ( 4 pixels set in each tile row ) , which are then slightly offset to make the full image.
Also changed to H40 mode for faster DMA albiet centered view , plenty of Hud options for side panels etc.
What is quite cool is the layout in VRAM is very similar to what you see on screen just with some striping . VRAM layout to the right. Theres no more VRAM used verse a normal double buffer , the trick is here to send the buffer in one frame always as theres no room for a double buffer in vram.
I have to implement partial ofscreen drawing yet hence the snapping from front to back you see still .
#SGDK #SegaGenesis #SegaMegadrive