Software rendering: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (BIOS -> system ROM) |
||
Line 3: | Line 3: | ||
As the sprites and fix [[DRAM]] is used by the [[GPU]] during display, updating of the tiles can only be done during [[68k interrupts|vblank]]. | As the sprites and fix [[DRAM]] is used by the [[GPU]] during display, updating of the tiles can only be done during [[68k interrupts|vblank]]. | ||
The [[BIOSF_UPLOAD]] [[ | The [[BIOSF_UPLOAD]] [[System ROM]] call can be used to do a [[DMA]] or loop based copy of pre-rendered pixel data from [[68k user RAM|RAM]] to DRAM. | ||
Of course, the data needs to be in the correct format for it to be displayed properly: | Of course, the data needs to be in the correct format for it to be displayed properly: | ||
*[[Sprite graphics format]] | *[[Sprite graphics format]] |
Latest revision as of 05:36, 28 October 2015
Software rendering is only possible without additionnal hardware on CD systems.
As the sprites and fix DRAM is used by the GPU during display, updating of the tiles can only be done during vblank.
The BIOSF_UPLOAD System ROM call can be used to do a DMA or loop based copy of pre-rendered pixel data from RAM to DRAM. Of course, the data needs to be in the correct format for it to be displayed properly:
Demo
Does NOT work on the real NeoGeo CD, screen keeps flashing. Perhaps DMA isn't possible when the video output is enabled
Plots pixel with varying colors on the fix layer. Source code for AS and ready to burn ISO image included.