Software rendering: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
(Created page with "Software rendering is only possible 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 [[68k int...")
 
mNo edit summary
Line 9: Line 9:


=Demo=
=Demo=
'''Does NOT work on the real NeoGeo CD, screen keeps flashing. Perhaps DMA isn't possible when the video output is enabled'''


[[File:Softlines.png|frame||[[Emulators|Nebula]] screenshot]]
[[File:Softlines.png|frame||[[Emulators|Nebula]] screenshot]]

Revision as of 11:02, 16 December 2011

Software rendering is only possible 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 BIOS 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

Nebula screenshot

File:Softrender.zip

Plots pixel with varying colors on the fix layer. Source code for AS and ready to burn ISO image included.